summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-05-14 04:52:57 +0000
committerJustin Bogner <mail@justinbogner.com>2015-05-14 04:52:57 +0000
commit8c8fb1602cdedb799154d1053360ca20c98946dc (patch)
tree2f44b3c56561a014844d0a1b99de9a3ddb2f1cae /llvm/cmake/modules
parent01477e5d6a929cd3b3ee2cd937a07660b24cf73a (diff)
downloadbcm5719-llvm-8c8fb1602cdedb799154d1053360ca20c98946dc.tar.gz
bcm5719-llvm-8c8fb1602cdedb799154d1053360ca20c98946dc.zip
cmake: Use -fno-sanitize-recover=all - the old spelling is deprecated
llvm-svn: 237334
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index b878863b32f..c052165bda4 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -462,7 +462,7 @@ if(LLVM_USE_SANITIZER)
endif()
elseif (LLVM_USE_SANITIZER STREQUAL "Undefined")
append_common_sanitizer_flags()
- append("-fsanitize=undefined -fno-sanitize=vptr,function -fno-sanitize-recover"
+ append("-fsanitize=undefined -fno-sanitize=vptr,function -fno-sanitize-recover=all"
CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
elseif (LLVM_USE_SANITIZER STREQUAL "Thread")
append_common_sanitizer_flags()
@@ -470,7 +470,7 @@ if(LLVM_USE_SANITIZER)
elseif (LLVM_USE_SANITIZER STREQUAL "Address;Undefined" OR
LLVM_USE_SANITIZER STREQUAL "Undefined;Address")
append_common_sanitizer_flags()
- append("-fsanitize=address,undefined -fno-sanitize=vptr,function -fno-sanitize-recover"
+ append("-fsanitize=address,undefined -fno-sanitize=vptr,function -fno-sanitize-recover=all"
CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
else()
message(WARNING "Unsupported value of LLVM_USE_SANITIZER: ${LLVM_USE_SANITIZER}")
OpenPOWER on IntegriCloud