projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39d1a2
)
Disable exceptions in libfuzzer's copy of libcxxabi.
author
Evgenii Stepanov
<eugenis@google.com>
Fri, 1 Nov 2019 17:04:38 +0000
(10:04 -0700)
committer
Evgenii Stepanov
<eugenis@google.com>
Fri, 1 Nov 2019 17:05:59 +0000
(10:05 -0700)
External project configuration for libcxxabi now has exceptions on by
default, but this is not needed for libfuzzer.
compiler-rt/lib/fuzzer/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/fuzzer/CMakeLists.txt
b/compiler-rt/lib/fuzzer/CMakeLists.txt
index
57b4182
..
80409f9
100644
(file)
--- a/
compiler-rt/lib/fuzzer/CMakeLists.txt
+++ b/
compiler-rt/lib/fuzzer/CMakeLists.txt
@@
-144,6
+144,7
@@
if(OS_NAME MATCHES "Linux|Fuchsia" AND
CFLAGS ${TARGET_CFLAGS}
CMAKE_ARGS -DCMAKE_CXX_COMPILER_WORKS=ON
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
+ -DLIBCXXABI_ENABLE_EXCEPTIONS=OFF
-DLIBCXX_ABI_NAMESPACE=__Fuzzer)
target_compile_options(RTfuzzer.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/include/c++/v1)
add_dependencies(RTfuzzer.${arch} libcxx_fuzzer_${arch}-build)