[llvm-commits] CVS: llvm/tools/lli/JIT/Emitter.cpp

Misha Brukman brukman at cs.uiuc.edu
Fri Jun 6 01:53:01 PDT 2003


Changes in directory llvm/tools/lli/JIT:

Emitter.cpp updated: 1.12 -> 1.13

---
Log message:

Output function address as hex.


---
Diffs of the changes:

Index: llvm/tools/lli/JIT/Emitter.cpp
diff -u llvm/tools/lli/JIT/Emitter.cpp:1.12 llvm/tools/lli/JIT/Emitter.cpp:1.13
--- llvm/tools/lli/JIT/Emitter.cpp:1.12	Thu Jun  5 19:00:54 2003
+++ llvm/tools/lli/JIT/Emitter.cpp	Fri Jun  6 01:52:35 2003
@@ -103,9 +103,8 @@
   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");
 }
 





More information about the llvm-commits mailing list