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:
d88ba5a
)
Only test the vector of functions if it is non-empty.
author
Misha Brukman
<brukman+llvm@gmail.com>
Tue, 5 Aug 2003 15:26:21 +0000
(15:26 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Tue, 5 Aug 2003 15:26:21 +0000
(15:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7594
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/CrashDebugger.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/CrashDebugger.cpp
b/tools/bugpoint/CrashDebugger.cpp
index 852359a8c241bdac819ee18fdeec1e0fc43afed6..872725593e28440e10e1c44dac82a6317be08e4a 100644
(file)
--- a/
tools/bugpoint/CrashDebugger.cpp
+++ b/
tools/bugpoint/CrashDebugger.cpp
@@
-80,7
+80,7
@@
public:
virtual TestResult doTest(std::vector<Function*> &Prefix,
std::vector<Function*> &Kept) {
- if (TestFuncs(Kept))
+ if (
!Kept.empty() &&
TestFuncs(Kept))
return KeepSuffix;
if (!Prefix.empty() && TestFuncs(Prefix))
return KeepPrefix;