From 1d4408506b5704a64ad76a295ee8f7b94b79ffd0 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 6 Jun 2003 06:52:35 +0000 Subject: [PATCH] Output function address as hex. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6649 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/JIT/JITEmitter.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 4a58792afcc..242576604a9 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -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"); } -- 2.34.1