Closed
Description
On macOS rustc runs dsymutil to generate debug info files. This invocation incorrectly ignores dsymutil's output and exit status. rustc thus succeeds even if dsymutil fails or crashes.
Example: in #78657, dsymutil crashed and left behind a corrupt .dSYM file. rustc nevertheless succeeded, thereby confusing the user after the debugger ignored that bad debug info.
Metadata
Metadata
Assignees
Labels
Area: Debugging information in compiled programs (DWARF, PDB, etc.)Area: linking into static, shared libraries and binariesCategory: This is a bug.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Operating system: macOSRelevant to the compiler team, which will review and decide on the PR/issue.