O << "\n\n";
// Emit pre-function debug information.
- DW.BeginFunction(MF);
+ DW.BeginFunction(&MF);
// Print out constants referenced by the function
EmitConstantPool(MF.getConstantPool());
}
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
// We didn't modify anything.
return false;
Mang->setUseQuotes(true);
// Emit initial debug information.
- DW.BeginModule(M);
+ DW.BeginModule(&M);
return false;
}
}
// Emit initial debug information.
- DW.EndModule(M);
+ DW.EndModule();
// Funny Darwin hack: This flag tells the linker that no global symbols
// contain code that falls through to other global symbols (e.g. the obvious
if (forDarwin) {
// Emit pre-function debug information.
- DW.BeginFunction(MF);
+ DW.BeginFunction(&MF);
}
// Print out constants referenced by the function
if (forDarwin) {
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
}
// We didn't modify anything.
if (forDarwin) {
// Emit initial debug information.
- DW.BeginModule(M);
+ DW.BeginModule(&M);
}
return AsmPrinter::doInitialization(M);
}
// Emit initial debug information.
- DW.EndModule(M);
+ DW.EndModule();
// Funny Darwin hack: This flag tells the linker that no global symbols
// contain code that falls through to other global symbols (e.g. the obvious
// implementation of multiple entry points). If this doesn't occur, the
- // linker can safely perform dead code stripping. Since LLVM never generates
- // code that does this, it is always safe to set.
+ // linker can safely perform dead code stripping. Since LLVM never
+ // generates code that does this, it is always safe to set.
O << "\t.subsections_via_symbols\n";
}
if (forDarwin) {
// Emit pre-function debug information.
- DW.BeginFunction(MF);
+ DW.BeginFunction(&MF);
}
// Print out constants referenced by the function
if (forDarwin) {
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
}
// We didn't modify anything.