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:
7eadec6
)
Unbreak code generator debug mode
author
Chris Lattner
<sabre@nondot.org>
Mon, 13 Oct 2003 21:04:26 +0000
(21:04 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 13 Oct 2003 21:04:26 +0000
(21:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9106
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/BugDriver.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/BugDriver.cpp
b/tools/bugpoint/BugDriver.cpp
index 67f59fd54d77657e98f7a6e47a2d4a094e854441..08011085577cc6781f57be1957322ae3d204b058 100644
(file)
--- a/
tools/bugpoint/BugDriver.cpp
+++ b/
tools/bugpoint/BugDriver.cpp
@@
-128,9
+128,11
@@
bool BugDriver::run() {
// a bytecode file, then we know the compiler didn't crash, so try to diagnose
// a miscompilation.
//
- std::cout << "Running selected passes on program to test for crash: ";
- if (runPasses(PassesToRun))
- return debugCrash();
+ if (!PassesToRun.empty()) {
+ std::cout << "Running selected passes on program to test for crash: ";
+ if (runPasses(PassesToRun))
+ return debugCrash();
+ }
std::cout << "Checking for a miscompilation...\n";