[PATCH] D114312: libfuzzer: Disable broken tests for arm
Manoj Gupta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 19 22:11:20 PST 2021
manojgupta created this revision.
manojgupta added reviewers: morehouse, metzman.
Herald added a subscriber: kristof.beyls.
manojgupta requested review of this revision.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.
libfuzzer was recently enabled for Arm32 in D112091 <https://reviews.llvm.org/D112091>.
A few tests apparently do not work with arm32 so disable them.
The list of tests was obtained from
https://lab.llvm.org/buildbot/#/builders/190/builds/513
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114312
Files:
compiler-rt/test/fuzzer/acquire-crash-state.test
compiler-rt/test/fuzzer/compressed.test
compiler-rt/test/fuzzer/msan-custom-mutator.test
compiler-rt/test/fuzzer/msan-param-unpoison.test
compiler-rt/test/fuzzer/msan.test
compiler-rt/test/fuzzer/sigint.test
compiler-rt/test/fuzzer/value-profile-div.test
Index: compiler-rt/test/fuzzer/value-profile-div.test
===================================================================
--- compiler-rt/test/fuzzer/value-profile-div.test
+++ compiler-rt/test/fuzzer/value-profile-div.test
@@ -1,5 +1,5 @@
UNSUPPORTED: ios
-UNSUPPORTED: aarch64
+UNSUPPORTED: arm, aarch64
CHECK: AddressSanitizer: {{FPE|int-divide-by-zero}}
RUN: %cpp_compiler %S/DivTest.cpp -fsanitize-coverage=trace-div -o %t-DivTest
RUN: not %run %t-DivTest -seed=1 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s
Index: compiler-rt/test/fuzzer/sigint.test
===================================================================
--- compiler-rt/test/fuzzer/sigint.test
+++ compiler-rt/test/fuzzer/sigint.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
# Check that libFuzzer exits gracefully under SIGINT with MSan.
RUN: rm -rf %t
Index: compiler-rt/test/fuzzer/msan.test
===================================================================
--- compiler-rt/test/fuzzer/msan.test
+++ compiler-rt/test/fuzzer/msan.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
RUN: %msan_compiler %S/SimpleTestStdio.cpp -o %t
RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=NO-REPORT
Index: compiler-rt/test/fuzzer/msan-param-unpoison.test
===================================================================
--- compiler-rt/test/fuzzer/msan-param-unpoison.test
+++ compiler-rt/test/fuzzer/msan-param-unpoison.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
RUN: %msan_compiler %S/MsanParamUnpoison.cpp -o %t
RUN: %run %t -seed=1 -runs=1000 2>&1 | FileCheck %s
Index: compiler-rt/test/fuzzer/msan-custom-mutator.test
===================================================================
--- compiler-rt/test/fuzzer/msan-custom-mutator.test
+++ compiler-rt/test/fuzzer/msan-custom-mutator.test
@@ -1,4 +1,5 @@
REQUIRES: msan
+UNSUPPORTED: arm
RUN: %msan_compiler %S/MsanCustomMutator.cpp -o %t
RUN: %run %t -seed=1 -runs=1000 2>&1 | FileCheck %s
Index: compiler-rt/test/fuzzer/compressed.test
===================================================================
--- compiler-rt/test/fuzzer/compressed.test
+++ compiler-rt/test/fuzzer/compressed.test
@@ -2,7 +2,7 @@
REQUIRES: zlib
# zlib is "supported" on i386 even when only for x86_64, explicitly make i386
# unsupported by this test.
-UNSUPPORTED: i386
+UNSUPPORTED: i386, arm
# Custom mutator should find this bug, w/o custom -- no chance.
RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestCustom -DCUSTOM_MUTATOR -lz
RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestPlain -lz
Index: compiler-rt/test/fuzzer/acquire-crash-state.test
===================================================================
--- compiler-rt/test/fuzzer/acquire-crash-state.test
+++ compiler-rt/test/fuzzer/acquire-crash-state.test
@@ -1,3 +1,4 @@
+UNSUPPORTED: arm
RUN: %cpp_compiler %S/AcquireCrashStateTest.cpp -o %t
RUN: %run %t 2>&1 | FileCheck %s
CHECK-NOT: fuzz target exited
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114312.388686.patch
Type: text/x-patch
Size: 2997 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211120/7adedd22/attachment.bin>
More information about the cfe-commits
mailing list