This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Don't include zero-size private label symbols in map file
ClosedPublic

Authored by int3 on Mar 8 2023, 10:42 PM.

Details

Summary

This is also what ld64 does. This will make it easier to compare their
respective map files.

Diff Detail

Event Timeline

int3 created this revision.Mar 8 2023, 10:42 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 8 2023, 10:42 PM
int3 requested review of this revision.Mar 8 2023, 10:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2023, 10:42 PM
int3 updated this revision to Diff 503646.Mar 8 2023, 11:29 PM

add comments

thevinster accepted this revision.Mar 9 2023, 10:10 AM
This revision is now accepted and ready to land.Mar 9 2023, 10:10 AM

Seems test failures are related :) PTAL

int3 added a comment.Mar 9 2023, 12:13 PM

Oh, I think I know what is happening -- this diff in my local repo is rebased upon D145455: [lld-macho] Coalesce local symbol aliases along with their aliased weak def, which switches up the order of the symbols. I will land them all EOW when I have had a chance to run benchmarks on the other diff

This revision was landed with ongoing or failed builds.Mar 10 2023, 10:40 PM
This revision was automatically updated to reflect the committed changes.