diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 00:05:34 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 00:05:34 +0000 |
commit | 6610b01a278198fecf79503c1761eabbf60d56f2 (patch) | |
tree | ee0833c9fa0f19b26ea700530989f53e450309a0 /lldb/packages/Python/lldbsuite/test/dosep.py | |
parent | 9d4ed262ef0a04b4b92980c852c11a5d50ecdfd9 (diff) | |
download | bcm5719-llvm-6610b01a278198fecf79503c1761eabbf60d56f2.tar.gz bcm5719-llvm-6610b01a278198fecf79503c1761eabbf60d56f2.zip |
[ASAN] Add the binder globals on Darwin to llvm.compiler.used to avoid LTO dead-stripping
The binder is in a specific section that "reverse" the edges in a
regular dead-stripping: the binder is live as long as a global it
references is live.
This is a big hammer that prevents LLVM from dead-stripping these,
while still allowing linker dead-stripping (with special knowledge
of the section).
Differential Revision: https://reviews.llvm.org/D24673
llvm-svn: 282988
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dosep.py')
0 files changed, 0 insertions, 0 deletions