This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] exported symbols can also be lazy
AbandonedPublic

Authored by gkm on May 7 2021, 6:07 PM.

Details

Reviewers
int3
Group Reviewers
Restricted Project
Summary

Literal (vs. patterns) exported symbols must be defined. Also accept LazySymbol alongside Defined.

Diff Detail

Event Timeline

gkm created this revision.May 7 2021, 6:07 PM
Herald added a project: Restricted Project. · View Herald Transcript
gkm requested review of this revision.May 7 2021, 6:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 7 2021, 6:07 PM
gkm updated this revision to Diff 343796.May 7 2021, 6:34 PM
  • update test case
int3 added a comment.May 7 2021, 6:55 PM

Just to confirm -- does ld64 also not fetch a symbol from an archive even when it is specified as an -exported_symbol?

gkm abandoned this revision.May 7 2021, 9:13 PM

Just to confirm -- does ld64 also not fetch a symbol from an archive even when it is specified as an -exported_symbol?

You are correct. It does.
This diff is rubbish. I will abandon and resubmit a proper one. 😊