pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[oota-llvm.git] / lib / Target / X86 / X86TargetObjectFile.cpp
index ce0b8bfba77f386623b8842d9e10e60da5f429fe..4b4cc457aed05c4f331272933a90aaed49a6e0b1 100644 (file)
@@ -15,6 +15,7 @@ using namespace llvm;
 
 const MCExpr *X8664_MachoTargetObjectFile::
 getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
+                                 MachineModuleInfo *MMI,
                                  bool &IsIndirect, bool &IsPCRel) const {
   
   // On Darwin/X86-64, we can reference dwarf symbols with foo@GOTPCREL+4, which