From: Chris Lattner Date: Wed, 4 Dec 2002 06:44:41 +0000 (+0000) Subject: Print out direct global references X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b72d221d619211335780b90f43bb129cf15fe0e7;p=oota-llvm.git Print out direct global references git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4906 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp index e2b4908c742..d28fdeebbcc 100644 --- a/lib/CodeGen/MachineCodeEmitter.cpp +++ b/lib/CodeGen/MachineCodeEmitter.cpp @@ -26,7 +26,10 @@ namespace { std::cout << "0x" << std::hex << (unsigned int)B << std::dec << " "; } void emitPCRelativeDisp(Value *V) { - std::cout << "<" << V->getName() << ": 0xXX 0xXX 0xXX 0xXX> "; + std::cout << "getName() << ": 0xXX 0xXX 0xXX 0xXX> "; + } + void emitGlobalAddress(GlobalValue *V) { + std::cout << "getName() << ": 0xXX 0xXX 0xXX 0xXX> "; } }; }