[llvm-bugs] [Bug 32573] New: -dynamic-list should not override -export-dynamic
llvm-bugs at lists.llvm.org
Fri Apr 7 15:29:36 PDT 2017
Bug ID: 32573
Summary: -dynamic-list should not override -export-dynamic
Assignee: unassignedbugs at nondot.org
Reporter: eugeni.stepanov at gmail.com
CC: llvm-bugs at lists.llvm.org
When both -dynamic-list and -export-dynamic are specified on the command line,
In the same test with gold, -export-dynamic wins.
Gold behavior is more consistent, especially considering that multiple
-dynamic-list flags are additive (i.e. they export the union of the symbol
sets). Export-dynamic is effectively a -dynamic-list with "*;" and it should
override any other -dynamic-list flag.
This matter for sanitizers, where clang frontend may add a -dynamic-list flag
for the symbols in the sanitizer static runtime library. Currently, this flag
disables a user-specified -rdynamic.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs