This is an archive of the discontinued LLVM Phabricator instance.

[lld/mac] Support -data_in_code_info, -function_starts flags
ClosedPublic

Authored by thakis on Jun 18 2021, 8:50 AM.

Details

Summary

These are on by default, but there's also an explicit flag for them.

Diff Detail

Event Timeline

thakis created this revision.Jun 18 2021, 8:50 AM
Herald added a reviewer: gkm. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: dang. · View Herald Transcript
thakis requested review of this revision.Jun 18 2021, 8:50 AM
thakis added inline comments.
lld/test/MachO/data-in-code.s
7

(I'm adding this because ld needs it, and I often locally replace %lld with ld to verify that the test would pass with ld64 too.)

gkm accepted this revision.Jun 18 2021, 9:50 AM

Bueno!

This revision is now accepted and ready to land.Jun 18 2021, 9:50 AM
This revision was landed with ongoing or failed builds.Jun 18 2021, 10:06 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2021, 10:06 AM