summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-08-01 00:48:44 +0000
committerKostya Serebryany <kcc@google.com>2017-08-01 00:48:44 +0000
commit4f2970037a6cba058f6cda8135c81ddeeb56bb06 (patch)
treeedc2109dedd661e61de510dbba167d2e73274228 /llvm/lib/Fuzzer/test
parent30d8a881e897e8a39f8540229351e92aface8f19 (diff)
downloadbcm5719-llvm-4f2970037a6cba058f6cda8135c81ddeeb56bb06.tar.gz
bcm5719-llvm-4f2970037a6cba058f6cda8135c81ddeeb56bb06.zip
[libFuzzer] enable -fsanitize-coverage=pc-table for all tests
llvm-svn: 309646
Diffstat (limited to 'llvm/lib/Fuzzer/test')
-rw-r--r--llvm/lib/Fuzzer/test/CMakeLists.txt2
-rw-r--r--llvm/lib/Fuzzer/test/inline-8bit-counters.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Fuzzer/test/CMakeLists.txt b/llvm/lib/Fuzzer/test/CMakeLists.txt
index b46960822bc..1de3dff04d6 100644
--- a/llvm/lib/Fuzzer/test/CMakeLists.txt
+++ b/llvm/lib/Fuzzer/test/CMakeLists.txt
@@ -15,7 +15,7 @@ foreach (VARNAME ${variables_to_filter})
endforeach()
# Enable the coverage instrumentation (it is disabled for the Fuzzer lib).
-set(CMAKE_CXX_FLAGS "${LIBFUZZER_FLAGS_BASE} -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp,trace-div,trace-gep -gline-tables-only")
+set(CMAKE_CXX_FLAGS "${LIBFUZZER_FLAGS_BASE} -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp,trace-div,trace-gep,pc-table -gline-tables-only")
if(MSVC)
# For tests use the CRT specified for release build
diff --git a/llvm/lib/Fuzzer/test/inline-8bit-counters.test b/llvm/lib/Fuzzer/test/inline-8bit-counters.test
index ff84dd119c1..4727ba45946 100644
--- a/llvm/lib/Fuzzer/test/inline-8bit-counters.test
+++ b/llvm/lib/Fuzzer/test/inline-8bit-counters.test
@@ -1,4 +1,4 @@
REQUIRES: linux
-CHECK: INFO: Loaded 1 modules with {{.*}} inline 8-bit counters
+CHECK: INFO: Loaded 1 modules ({{.*}} inline 8-bit counters)
CHECK: BINGO
RUN: not LLVMFuzzer-SimpleTest-Inline8bitCounters -runs=1000000 -seed=1 2>&1 | FileCheck %s
OpenPOWER on IntegriCloud