diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-06-27 19:18:01 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-06-27 19:18:01 +0000 |
commit | 4b54038e0f9f79ad910f8add82770c761f32b173 (patch) | |
tree | 8063c3c46391424a296b7ebfde729f06ee7a978f /lib/CMakeLists.txt | |
parent | ad281e0a30af6db87b4019a958b7ebc3f68d8a99 (diff) |
Only test sanitizers that are built when COMPILER_RT_SANITIZERS_TO_BUILD is used
Summary: This allows check-all to be used when only a subset of the sanitizers are built.
Reviewers: beanz, compnerd, rnk, pcc
Subscribers: llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D34644
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@306450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r-- | lib/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 4ab1e933a..7000efb6b 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -28,7 +28,6 @@ function(compiler_rt_build_runtime runtime) endfunction() function(compiler_rt_build_sanitizer sanitizer) - string(TOUPPER ${sanitizer} sanitizer_uppercase) string(TOLOWER ${sanitizer} sanitizer_lowercase) list(FIND COMPILER_RT_SANITIZERS_TO_BUILD ${sanitizer_lowercase} result) if(NOT ${result} EQUAL -1) |