Page MenuHomePhabricator

[mac/lld] Implement -why_load

Authored by thakis on Dec 2 2020, 10:24 AM.


Group Reviewers
Restricted Project
rG542d3b609dbe: [mac/lld] Implement -why_load

This is useful for debugging why lld loads .o it shouldn't load.
It's also useful for users of lld -- I've used ld64's version of this a
few times.

Diff Detail

Event Timeline

thakis created this revision.Dec 2 2020, 10:24 AM
thakis requested review of this revision.Dec 2 2020, 10:24 AM
compnerd accepted this revision.Dec 2 2020, 3:07 PM
compnerd added a subscriber: compnerd.

Nice! Thanks @thakis, this is a rather useful debugging aid (for users of the linker).

This revision is now accepted and ready to land.Dec 2 2020, 3:07 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2020, 3:33 PM