[llvm-commits] CVS: llvm/tools/bugpoint/CrashDebugger.cpp
Misha Brukman
brukman at cs.uiuc.edu
Tue Aug 5 10:27:01 PDT 2003
Changes in directory llvm/tools/bugpoint:
CrashDebugger.cpp updated: 1.12 -> 1.13
---
Log message:
Only test the vector of functions if it is non-empty.
---
Diffs of the changes:
Index: llvm/tools/bugpoint/CrashDebugger.cpp
diff -u llvm/tools/bugpoint/CrashDebugger.cpp:1.12 llvm/tools/bugpoint/CrashDebugger.cpp:1.13
--- llvm/tools/bugpoint/CrashDebugger.cpp:1.12 Mon Aug 4 13:24:31 2003
+++ llvm/tools/bugpoint/CrashDebugger.cpp Tue Aug 5 10:26:21 2003
@@ -80,7 +80,7 @@
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;
More information about the llvm-commits
mailing list