This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Support -no_function_starts
ClosedPublic

Authored by int3 on Mar 22 2021, 2:41 PM.

Details

Reviewers
alexander-shaposhnikov
Group Reviewers
Restricted Project
Commits
rG45cdceb40c56: [lld-macho] Support -no_function_starts
Summary

Pretty simple code-wise. Also threw in some refactoring:

  • Put the functionStartSection under Writer instead of InStruct, since it doesn't need to be accessed outside of Writer
  • Adjusted the test to put all files under the temp dir instead of at the top-level
  • Added some CHECK-LABELs to make it clearer where the function starts data is

Diff Detail

Event Timeline

int3 created this revision.Mar 22 2021, 2:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2021, 2:41 PM
Herald added a subscriber: dang. · View Herald Transcript
int3 requested review of this revision.Mar 22 2021, 2:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2021, 2:41 PM
This revision is now accepted and ready to land.Mar 26 2021, 1:05 PM
This revision was landed with ongoing or failed builds.Mar 26 2021, 3:14 PM
This revision was automatically updated to reflect the committed changes.