[compiler-rt] r306455 - Don't double-include cfi tests on linux
Francis Ricci via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 12:52:35 PDT 2017
Author: fjricci
Date: Tue Jun 27 12:52:35 2017
New Revision: 306455
URL: http://llvm.org/viewvc/llvm-project?rev=306455&view=rev
Log:
Don't double-include cfi tests on linux
Modified:
compiler-rt/trunk/test/CMakeLists.txt
Modified: compiler-rt/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/CMakeLists.txt?rev=306455&r1=306454&r2=306455&view=diff
==============================================================================
--- compiler-rt/trunk/test/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/CMakeLists.txt Tue Jun 27 12:52:35 2017
@@ -60,7 +60,10 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
compiler_rt_test_runtime(sanitizer_common)
foreach(sanitizer ${COMPILER_RT_SANITIZERS_TO_BUILD})
- compiler_rt_test_runtime(${sanitizer})
+ # cfi testing is gated on ubsan
+ if(NOT ${sanitizer} STREQUAL cfi)
+ compiler_rt_test_runtime(${sanitizer})
+ endif()
endforeach()
compiler_rt_test_runtime(profile)
More information about the llvm-commits
mailing list