diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-10-04 23:35:14 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-10-04 23:35:14 +0000 |
commit | 928bc0824750f6852c4cf38028a425f43c9a4a3e (patch) | |
tree | a7c8ab3f6db2807264231362cd1b310e5d8b8bd2 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 6efa277764c9975fded1eed646c4b4f5105cf1c4 (diff) | |
download | bcm5719-llvm-928bc0824750f6852c4cf38028a425f43c9a4a3e.tar.gz bcm5719-llvm-928bc0824750f6852c4cf38028a425f43c9a4a3e.zip |
[sanitizer] Move cxx-abi library earlier in link flags.
Summary:
This change moves cxx-abi library in asan/ubsan/dd link command line
ahead of other libraries, such as pthread/rt/dl/c/gcc. Given that
cxx-abi may be the full libstdc++/libc++, it makes sense for it to be
ahead of libc and libgcc, at least.
The real motivation is Android, where in the arm32 NDK toolchain
libstdc++.a is actually a linker script that tries to sneak LLVM's
libunwind ahead of libgcc's. Wrong library order breaks unwinding.
Reviewers: srhines, danalbert
Subscribers: aemerson, kubamracek, mgorny, kristof.beyls, llvm-commits
Differential Revision: https://reviews.llvm.org/D38520
llvm-svn: 314948
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions