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:
645be3e
)
[libFuzzer] trying to fix at-exit hang
author
Kostya Serebryany
<kcc@google.com>
Sat, 3 Oct 2015 07:02:05 +0000
(07:02 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Sat, 3 Oct 2015 07:02:05 +0000
(07:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249231
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Fuzzer/FuzzerDriver.cpp
patch
|
blob
|
history
diff --git
a/lib/Fuzzer/FuzzerDriver.cpp
b/lib/Fuzzer/FuzzerDriver.cpp
index b267a9bf039fe7e79240684561a7231c637d894c..fe14cbff01410c7d8c0bbce32a34b3cf71a6104f 100644
(file)
--- a/
lib/Fuzzer/FuzzerDriver.cpp
+++ b/
lib/Fuzzer/FuzzerDriver.cpp
@@
-318,7
+318,7
@@
int FuzzerDriver(const std::vector<std::string> &Args,
Printf("Done %d runs in %zd second(s)\n", F.getTotalNumberOfRuns(),
F.secondsSinceProcessStartUp());
- return 0;
+ exit(0); // Don't let F destroy itself.
}
} // namespace fuzzer