From f2a5e92a674199b5c1138b916f406afa05eb5eba Mon Sep 17 00:00:00 2001 From: Francis Ricci Date: Tue, 27 Jun 2017 17:24:26 +0000 Subject: Revert "Only test sanitizers that are built when COMPILER_RT_SANITIZERS_TO_BUILD is used" This breaks cfi testing in cases when the cfi runtime isn't built. This reverts commit 1c6a7b07545f0c9ce68e8b226f5397694ce48af7. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@306431 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/CMakeLists.txt') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 7000efb6b..4ab1e933a 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -28,6 +28,7 @@ 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) -- cgit v1.2.3