[PATCH] D43103: Make --export-dynamic-symbol to pull out object files from archives.
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 23:29:38 PST 2018
smeenai added subscribers: espindola, smeenai.
smeenai accepted this revision.
smeenai added a comment.
This revision is now accepted and ready to land.
I had actually run into this issue, but in my use case the `--export-dynamic-symbol` should have arguably been a `-u` in the first place, so I just changed it there. I didn't realize the fix in LLD would be this straightforward though. LGTM.
`-dynamic-list` and `-export-dynamic-symbol` have completely different meanings for shared libraries, so this behavior difference isn't surprising. `-dynamic-list` controls symbol preemptibility, while `-export-dynamic-symbol` controls dynamic symbol table population. @espindola had fixed `-dynamic-list` a while back, and I'll put up a patch to update the comment above the if statement here.
https://reviews.llvm.org/D43103
More information about the llvm-commits
mailing list