1
0
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:
Dan Gohman 2010-07-21 21:18:37 +00:00
parent e7ca21ab3b
commit bb800aa2f7

View File

@ -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);