From: Chris Lattner Date: Mon, 13 Jan 2003 00:22:37 +0000 (+0000) Subject: Add support for global address by string and constant pool values X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7775df1a6c499bb24479d1f0e1420ba89f686fbb;p=oota-llvm.git Add support for global address by string and constant pool values git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5215 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp index d28fdeebbcc..dc2d0d658be 100644 --- a/lib/CodeGen/MachineCodeEmitter.cpp +++ b/lib/CodeGen/MachineCodeEmitter.cpp @@ -28,9 +28,18 @@ namespace { void emitPCRelativeDisp(Value *V) { std::cout << "getName() << ": 0xXX 0xXX 0xXX 0xXX> "; } - void emitGlobalAddress(GlobalValue *V) { + void emitGlobalAddress(GlobalValue *V, bool isPCRelative) { std::cout << "getName() << ": 0xXX 0xXX 0xXX 0xXX> "; } + void emitGlobalAddress(const std::string &Name, bool isPCRelative) { + std::cout << " "; + } + + void emitFunctionConstantValueAddress(unsigned ConstantNum, int Offset) { + std::cout << " "; + } }; }