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:
53b5ea7
)
MachineVerifier: print list of live intervals if available
author
Matthias Braun
<matze@braunis.de>
Mon, 9 Nov 2015 23:59:23 +0000
(23:59 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 9 Nov 2015 23:59:23 +0000
(23:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252549
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineVerifier.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineVerifier.cpp
b/lib/CodeGen/MachineVerifier.cpp
index 50f7e69cf692db1f128f525ce7f441fe2d595df8..e291ea52aa4d14411484bb2850deb1db6a564481 100644
(file)
--- a/
lib/CodeGen/MachineVerifier.cpp
+++ b/
lib/CodeGen/MachineVerifier.cpp
@@
-397,7
+397,10
@@
void MachineVerifier::report(const char *msg, const MachineFunction *MF) {
if (!foundErrors++) {
if (Banner)
errs() << "# " << Banner << '\n';
- MF->print(errs(), Indexes);
+ if (LiveInts != nullptr)
+ LiveInts->print(errs());
+ else
+ MF->print(errs(), Indexes);
}
errs() << "*** Bad machine code: " << msg << " ***\n"
<< "- function: " << MF->getName() << "\n";