[PATCH] D61070: [libFuzzer] Enable on i386
Jonathan Metzman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 10:59:07 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL359585: [libFuzzer] Enable for i386 (authored by metzman, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D61070?vs=197125&id=197381#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61070/new/
https://reviews.llvm.org/D61070
Files:
compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
compiler-rt/trunk/test/fuzzer/compressed.test
Index: compiler-rt/trunk/test/fuzzer/compressed.test
===================================================================
--- compiler-rt/trunk/test/fuzzer/compressed.test
+++ compiler-rt/trunk/test/fuzzer/compressed.test
@@ -1,5 +1,7 @@
REQUIRES: linux
REQUIRES: zlib
+# zlib is "supported" on i386 even when only for x86_64, explicitly make i386
+# unsupported by this test.
UNSUPPORTED: i386
# Custom mutator should find this bug, w/o custom -- no chance.
RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestCustom -DCUSTOM_MUTATOR -lz
Index: compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
+++ compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
@@ -120,8 +120,8 @@
if(OS_NAME MATCHES "Linux|Fuchsia" AND
COMPILER_RT_LIBCXX_PATH AND
COMPILER_RT_LIBCXXABI_PATH)
- macro(partially_link_libcxx name dir arch)
- if (${arch} MATCHES "i386")
+ macro(partially_link_libcxx name dir arch)
+ if(${arch} MATCHES "i386")
set(EMULATION_ARGUMENT "-m" "elf_i386")
else()
set(EMULATION_ARGUMENT "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61070.197381.patch
Type: text/x-patch
Size: 1140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190430/a2c0a239/attachment.bin>
More information about the llvm-commits
mailing list