Output function address as hex.

llvm-svn: 6649
This commit is contained in:
Misha Brukman 2003-06-06 06:52:35 +00:00
parent 6457791dae
commit a2b55253c6
1 changed files with 2 additions and 3 deletions

View File

@ -103,9 +103,8 @@ void Emitter::finishFunction(MachineFunction &F) {
ConstantPoolAddresses.clear();
NumBytes += CurByte-CurBlock;
DEBUG(std::cerr << "Finished CodeGen of [0x" << std::hex
<< (unsigned)(intptr_t)CurBlock
<< std::dec << "] Function: " << F.getFunction()->getName()
DEBUG(std::cerr << "Finished CodeGen of [0x" << (void*)CurBlock
<< "] Function: " << F.getFunction()->getName()
<< ": " << CurByte-CurBlock << " bytes of text\n");
}