getsentry / getsentry/sentry

Support the use of mold instead of lld for debug files

Open
#96,493 9 comments 0 reactions 1 assignee Claimed by @loewenheim View on GitHub
Product Area: Ingestion and Filtering
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 10m
Merged PRs (30d)
635

Description

### Problem Statement

User would like to be able to use mold (see here [https://github.com/rui314/mold](https://github.com/rui314/mold)) instead of lld for debug files.

Debug files uploaded that are linked by mold cause the error "The debug information file used was broken" see below:

Image

However when checking if mold linked debug files are valid per our docs [https://docs.sentry.io/cli/dif/#checking-files](https://docs.sentry.io/cli/dif/#checking-files))) they show as Usable.

Tested using lld instead and everything works as expected with no error "The debug information file used was broken", confirming the issue is with the use of mold.

### Solution Brainstorm

Support mold in addition to lld

###

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.