diff options
author | Leonard Chan <leonardchan@google.com> | 2021-10-06 11:09:29 -0700 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2021-10-06 11:10:36 -0700 |
commit | 77d5ccdc6f460732942c8630c7356e72f48ccf39 (patch) | |
tree | f4782c3b0761f677827a66814ae9b0ce04eccf07 /compiler-rt/test/lit.common.configured.in | |
parent | 8d64314ffea55f2ad94c1b489586daa8ce30f451 (diff) | |
download | llvm-77d5ccdc6f460732942c8630c7356e72f48ccf39.tar.gz |
[compiler-rt][test] Add shared_unwind requirement
When using a static libunwind, the check_memcpy.c can fail because it checks
that tsan intercepted all memcpy/memmoves in the final binary. Though if the
static libunwind is not instrumented, then this will fail because it may contain
regular memcpy/memmoves.
This adds a new REQUIRES check for ensuring that this test won't run unless a
dynamic libunwind.so is provided.
Differential Revision: https://reviews.llvm.org/D111194
Diffstat (limited to 'compiler-rt/test/lit.common.configured.in')
-rw-r--r-- | compiler-rt/test/lit.common.configured.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/test/lit.common.configured.in b/compiler-rt/test/lit.common.configured.in index be4501be87e6..42a5b559b913 100644 --- a/compiler-rt/test/lit.common.configured.in +++ b/compiler-rt/test/lit.common.configured.in @@ -34,6 +34,7 @@ set_default("apple_platform", "osx") set_default("apple_platform_min_deployment_target_flag", "-mmacosx-version-min") set_default("sanitizer_can_use_cxxabi", @SANITIZER_CAN_USE_CXXABI_PYBOOL@) set_default("sanitizer_uses_static_cxxabi", @SANITIZER_USE_STATIC_CXX_ABI_PYBOOL@) +set_default("sanitizer_uses_static_unwind", @SANITIZER_USE_STATIC_LLVM_UNWINDER_PYBOOL@) set_default("has_lld", @COMPILER_RT_HAS_LLD_PYBOOL@) set_default("can_symbolize", @CAN_SYMBOLIZE@) set_default("use_lld", @COMPILER_RT_TEST_USE_LLD_PYBOOL@) |