mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-11-01 12:33:45 +00:00
Bring back libfuzzer, for some reasons I don't remember I disabled it:
This commit is contained in:
parent
1ad6142cf1
commit
e042e5407d
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,8 +1,8 @@
|
||||
llvm-toolchain-10 (1:10.0.0~+rc2-2) unstable; urgency=medium
|
||||
|
||||
[ Sylvestre Ledru ]
|
||||
* Pass -DCOMPILER_RT_USE_LIBCXX=NO to the build system
|
||||
to bring fuzzer library back
|
||||
* Bring back libfuzzer, for some reasons I don't remember
|
||||
I disabled it:
|
||||
https://bugs.llvm.org/show_bug.cgi?id=41956
|
||||
|
||||
[ Aurelien Jarno ]
|
||||
|
||||
31
debian/patches/disable-fuzzer-compiler-rt.diff
vendored
31
debian/patches/disable-fuzzer-compiler-rt.diff
vendored
@ -1,31 +0,0 @@
|
||||
Index: llvm-toolchain-snapshot_10~+20191215044521+fd7dca98373/compiler-rt/lib/CMakeLists.txt
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_10~+20191215044521+fd7dca98373.orig/compiler-rt/lib/CMakeLists.txt
|
||||
+++ llvm-toolchain-snapshot_10~+20191215044521+fd7dca98373/compiler-rt/lib/CMakeLists.txt
|
||||
@@ -56,6 +56,6 @@ if(COMPILER_RT_BUILD_XRAY)
|
||||
compiler_rt_build_runtime(xray)
|
||||
endif()
|
||||
|
||||
-if(COMPILER_RT_BUILD_LIBFUZZER)
|
||||
- compiler_rt_build_runtime(fuzzer)
|
||||
-endif()
|
||||
+#if(COMPILER_RT_BUILD_LIBFUZZER)
|
||||
+# compiler_rt_build_runtime(fuzzer)
|
||||
+#endif()
|
||||
Index: llvm-toolchain-snapshot_10~+20191215044521+fd7dca98373/compiler-rt/test/CMakeLists.txt
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_10~+20191215044521+fd7dca98373.orig/compiler-rt/test/CMakeLists.txt
|
||||
+++ llvm-toolchain-snapshot_10~+20191215044521+fd7dca98373/compiler-rt/test/CMakeLists.txt
|
||||
@@ -54,9 +54,9 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
|
||||
compiler_rt_test_runtime(sanitizer_common)
|
||||
|
||||
# OpenBSD not supporting asan, cannot run the tests
|
||||
- if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID)
|
||||
- compiler_rt_test_runtime(fuzzer)
|
||||
- endif()
|
||||
+# if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID)
|
||||
+# compiler_rt_test_runtime(fuzzer)
|
||||
+# endif()
|
||||
|
||||
foreach(sanitizer ${COMPILER_RT_SANITIZERS_TO_BUILD})
|
||||
# cfi testing is gated on ubsan
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -133,7 +133,6 @@ workaround-bug-42994-use-linker.diff
|
||||
# bug 939472
|
||||
#try-to-unbreak-thinlto.diff
|
||||
D67877.patch
|
||||
disable-fuzzer-compiler-rt.diff
|
||||
no-z3.patch
|
||||
|
||||
python3-shebang.patch
|
||||
|
||||
Loading…
Reference in New Issue
Block a user