Page MenuHomePhabricator

[mac/lld] Implement -why_load
ClosedPublic

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

Details

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

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