pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfException.cpp
index 4ee8d8c6d58cb6d104a11664587809641294b90b..626523b820f63c2f9adc48c310c96d995d90227f 100644 (file)
@@ -121,6 +121,7 @@ void DwarfException::EmitCIE(const Function *PersonalityFn, unsigned Index) {
     // In non-static mode, ask the object file how to represent this reference.
     PersonalityRef =
       TLOF.getSymbolForDwarfGlobalReference(PersonalityFn, Asm->Mang,
+                                            Asm->MMI,
                                             IsPersonalityIndirect,
                                             IsPersonalityPCRel);
   }