[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Oct 18 14:28:01 PDT 2003
Changes in directory llvm/tools/bugpoint:
Miscompilation.cpp updated: 1.20 -> 1.21
---
Log message:
If we detect a pass crash during miscompilation testing, immediately enter the
crash debugger
---
Diffs of the changes: (+4 -4)
Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.20 llvm/tools/bugpoint/Miscompilation.cpp:1.21
--- llvm/tools/bugpoint/Miscompilation.cpp:1.20 Fri Oct 17 19:14:13 2003
+++ llvm/tools/bugpoint/Miscompilation.cpp Sat Oct 18 14:27:48 2003
@@ -35,7 +35,7 @@
<< " on the input program!\n";
BD.setPassesToRun(Suffix);
BD.EmitProgressBytecode("pass-error", false);
- exit(1);
+ exit(BD.debugCrash());
}
// Check to see if the finished program matches the reference output...
@@ -63,7 +63,7 @@
<< " on the input program!\n";
BD.setPassesToRun(Prefix);
BD.EmitProgressBytecode("pass-error", false);
- exit(1);
+ exit(BD.debugCrash());
}
// If the prefix maintains the predicate by itself, only keep the prefix!
@@ -96,7 +96,7 @@
<< " on the input program!\n";
BD.setPassesToRun(Suffix);
BD.EmitProgressBytecode("pass-error", false);
- exit(1);
+ exit(BD.debugCrash());
}
// Run the result...
@@ -210,7 +210,7 @@
std::cerr << " Error running this sequence of passes"
<< " on the input program!\n";
BD.EmitProgressBytecode("pass-error", false);
- exit(1);
+ exit(BD.debugCrash());
}
if (!EmitBytecode)
More information about the llvm-commits
mailing list