Skip to content

Distribute macOS symbols as dSYM, not .dwarf #88286

@filipnavara

Description

@filipnavara

macOS tooling expects symbols to be distributed as .dSYM bundles created using dsymtool without the --flat parameter. The distribution using dSYM allows the lldb debugger, spindump, sample, and other tools to locate the symbols automatically (through Spotlight indexer with matches the symbols through UUID back to the original executable). This automatic symbol loading doesn't work for .dwarf files located next to the executable.

This makes debugging tools like ILCompiler particularly annoying. Profiling long compilations produces non-symbolicated traces which are hard to interpret.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-InfrastructureenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions