mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Add some debug output to help diagnose PR7689.
llvm-svn: 109036
This commit is contained in:
parent
e7ca21ab3b
commit
bb800aa2f7
@ -897,6 +897,9 @@ static void WriteConstants(unsigned FirstVal, unsigned LastVal,
|
||||
Record.push_back(VE.getValueID(BA->getFunction()));
|
||||
Record.push_back(VE.getGlobalBasicBlockID(BA->getBasicBlock()));
|
||||
} else {
|
||||
#ifndef NDEBUG
|
||||
C->dump();
|
||||
#endif
|
||||
llvm_unreachable("Unknown constant!");
|
||||
}
|
||||
Stream.EmitRecord(Code, Record, AbbrevToUse);
|
||||
|
Loading…
x
Reference in New Issue
Block a user