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:
6b28077
)
[fuzzer] properly enable asan's coverage feedback
author
Kostya Serebryany
<kcc@google.com>
Tue, 27 Jan 2015 22:19:55 +0000
(22:19 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Tue, 27 Jan 2015 22:19:55 +0000
(22:19 +0000)
llvm-svn: 227254
llvm/lib/Fuzzer/FuzzerMain.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Fuzzer/FuzzerMain.cpp
b/llvm/lib/Fuzzer/FuzzerMain.cpp
index
3a4b9c0
..
9d4004e
100644
(file)
--- a/
llvm/lib/Fuzzer/FuzzerMain.cpp
+++ b/
llvm/lib/Fuzzer/FuzzerMain.cpp
@@
-18,7
+18,10
@@
// ASAN options:
// * don't dump the coverage to disk.
-extern "C" const char* __asan_default_options() { return "coverage_pcs=0"; }
+// * enable coverage by default.
+extern "C" const char *__asan_default_options() {
+ return "coverage_pcs=0:coverage=1";
+}
// Program arguments.
struct FlagDescription {