[compiler-rt][asan] Enable unwind-tables for Arm Linux
authorDavid Spickett <david.spickett@linaro.org>
Tue, 1 Jun 2021 14:54:33 +0000 (14:54 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Wed, 2 Jun 2021 12:59:46 +0000 (12:59 +0000)
commitba99359796bae116d2bd6b2ac828f3e1e664031f
treedb92ce6fc9973526249e8f4a3b43f9cb3f1751d4
parente1a150846d373f547e6b81c737333da27c4d29d7
[compiler-rt][asan] Enable unwind-tables for Arm Linux

Since https://reviews.llvm.org/D102046 some tests have
been falling back to fast unwinding on our Thumb bot.

This fails because fast unwinding does not work on Thumb.
By adding the extra information we ensure this does not happen
during testing, but the built library can still fast unwind
as a last resort.

Since there are some situations it can work in, like if
eveything is built with clang. During testing we've got gcc
built system libs and clang built tests.

The same change was made for sanitizer-common in
https://reviews.llvm.org/D96337.

Reviewed By: zatrazz

Differential Revision: https://reviews.llvm.org/D103463
compiler-rt/test/asan/CMakeLists.txt