projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf4a0f
)
[CMake] Add -fno-sanitize=function to UBSan bootstrap
author
Alexey Samsonov
<vonosmas@gmail.com>
Fri, 5 Sep 2014 01:17:30 +0000
(
01:17
+0000)
committer
Alexey Samsonov
<vonosmas@gmail.com>
Fri, 5 Sep 2014 01:17:30 +0000
(
01:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217217
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/HandleLLVMOptions.cmake
b/cmake/modules/HandleLLVMOptions.cmake
index 2fcdfbefd1564ba7bd018ad909e38d0be3fc426e..8b665d3b3c663ff78f4d3550f7896c83bfb864b2 100644
(file)
--- a/
cmake/modules/HandleLLVMOptions.cmake
+++ b/
cmake/modules/HandleLLVMOptions.cmake
@@
-365,7
+365,7
@@
if(LLVM_USE_SANITIZER)
endif()
elseif (LLVM_USE_SANITIZER STREQUAL "Undefined")
append_common_sanitizer_flags()
- append("-fsanitize=undefined -fno-sanitize=vptr -fno-sanitize-recover"
+ append("-fsanitize=undefined -fno-sanitize=vptr
,function
-fno-sanitize-recover"
CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
else()
message(WARNING "Unsupported value of LLVM_USE_SANITIZER: ${LLVM_USE_SANITIZER}")