projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624a11d
)
Fix unused variable 'X' in release builds.
author
Nick Lewycky
<nicholas@mxc.ca>
Tue, 11 Aug 2015 05:57:10 +0000
(
05:57
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Tue, 11 Aug 2015 05:57:10 +0000
(
05:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244571
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Fuzzer/FuzzerLoop.cpp
patch
|
blob
|
history
diff --git
a/lib/Fuzzer/FuzzerLoop.cpp
b/lib/Fuzzer/FuzzerLoop.cpp
index 3f7fcb5ea9b0426f5a4d7824da4a4291f6344ec9..2955f5bcb60c9648b033b5ebe9a285d6840d5ee1 100644
(file)
--- a/
lib/Fuzzer/FuzzerLoop.cpp
+++ b/
lib/Fuzzer/FuzzerLoop.cpp
@@
-253,9
+253,11
@@
void Fuzzer::WriteToOutputCorpus(const Unit &U) {
WriteToFile(U, Path);
if (Options.Verbosity >= 2)
Printf("Written to %s\n", Path.c_str());
+#ifdef DEBUG
if (Options.OnlyASCII)
for (auto X : U)
assert(isprint(X) || isspace(X));
+#endif
}
void Fuzzer::WriteUnitToFileWithPrefix(const Unit &U, const char *Prefix) {