This matches ld64's behavior.
Additionally, I edited the "Dead Stripped Symbols" header to omit "Address" --
this also matches ld64.
| Paths 
 |  Differential  D135883  
[lld-macho] Include symbol sizes in mapfile ClosedPublic Authored by int3 on Oct 13 2022, 8:26 AM. 
Details 
 Summary This matches ld64's behavior. Additionally, I edited the "Dead Stripped Symbols" header to omit "Address" -- 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptOct 13 2022, 8:26 AM Comment Actions LG 
 This revision is now accepted and ready to land.Oct 13 2022, 8:40 AM 
 Closed by commit rGbdd0cec5697f: [lld-macho] Include symbol sizes in mapfile (authored by int3).  ·  Explain WhyOct 13 2022, 1:44 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 467489 lld/MachO/MapFile.cpp
 lld/test/MachO/dead-strip.s
 lld/test/MachO/map-file.s
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
why do dead symbols need sizes and not addresses? (is that LD64's output too?)