[PATCH] D16026: Add support for -export_dynamic cmdline option
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 20 23:10:00 PST 2016
lhames accepted this revision.
lhames added a comment.
This revision is now accepted and ready to land.
Huh. ld64's man page only describes -export_dynamic as a modifier for dead-stripping during LTO, but it does seem to override -dead_strip for non-LTO cases too.
As far as I can tell your implementation matches ld64's behaviour. You might want to add a test case where the -dead_strip argument is after -export_dynamic to verify that -export_dynamic still takes precedence.
We may also want to talk to Nick to verify this behaviour and potentially update ld64's man-page.
LGTM.
- Lang.
http://reviews.llvm.org/D16026
More information about the llvm-commits
mailing list