diff --git a/llvm/lib/CodeGen/MachineCodeEmitter.cpp b/llvm/lib/CodeGen/MachineCodeEmitter.cpp index d28fdeebbccf..dc2d0d658be0 100644 --- a/llvm/lib/CodeGen/MachineCodeEmitter.cpp +++ b/llvm/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 << " "; + } }; }