This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Weak locals should be relaxed too
ClosedPublic

Authored by int3 on Aug 27 2020, 3:53 PM.

Details

Reviewers
smeenai
Group Reviewers
Restricted Project
Commits
rGccbacdded456: [lld-macho] Weak locals should be relaxed too

Diff Detail

Event Timeline

int3 created this revision.Aug 27 2020, 3:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 27 2020, 3:53 PM
int3 requested review of this revision.Aug 27 2020, 3:53 PM
int3 edited the summary of this revision. (Show Details)Aug 27 2020, 3:53 PM
int3 added a reviewer: Restricted Project.
smeenai accepted this revision.Aug 27 2020, 4:11 PM
smeenai added a subscriber: smeenai.

LGTM; good catch.

lld/MachO/SyntheticSections.cpp
269

I don't have strong feelings about this either way, but would this be better as a method on Symbol vs. an out-of-line function?

This revision is now accepted and ready to land.Aug 27 2020, 4:11 PM
int3 added inline comments.Aug 27 2020, 4:34 PM
lld/MachO/SyntheticSections.cpp
269

I put it here since its logic is pretty similar (and related) to that in addNonLazyBindingEntries below

This revision was landed with ongoing or failed builds.Aug 27 2020, 5:45 PM
This revision was automatically updated to reflect the committed changes.