forked from OSchip/llvm-project
Print out the instruction instead of just the address!
llvm-svn: 2063
This commit is contained in:
parent
ed9bfd95a9
commit
49c3ea8c1e
|
@ -127,7 +127,9 @@ private:
|
|||
void visitSetCondInst(SetCondInst *SCI) {} // SetEQ & friends are ignored
|
||||
void visitFreeInst(FreeInst *FI) {} // Ignore free instructions
|
||||
void visitInstruction(Instruction *I) {
|
||||
std::cerr << "\n\n\nUNKNOWN INSTRUCTION type: " << I << "\n\n\n";
|
||||
std::cerr << "\n\n\nUNKNOWN INSTRUCTION type: ";
|
||||
I->dump();
|
||||
std::cerr << "\n\n\n";
|
||||
assert(0 && "Cannot proceed");
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue