mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
remove the raw_ostream from various dwarf printing things.
The only thing left is LEB printing, which uses EmitRawText for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -298,8 +298,8 @@ DbgScope::~DbgScope() {
|
||||
|
||||
} // end llvm namespace
|
||||
|
||||
DwarfDebug::DwarfDebug(raw_ostream &OS, AsmPrinter *A, const MCAsmInfo *T)
|
||||
: DwarfPrinter(OS, A, T), ModuleCU(0),
|
||||
DwarfDebug::DwarfDebug(AsmPrinter *A)
|
||||
: DwarfPrinter(A), ModuleCU(0),
|
||||
AbbreviationsSet(InitAbbreviationsSetSize), Abbreviations(),
|
||||
DIEBlocks(), SectionSourceLines(), didInitial(false), shouldEmit(false),
|
||||
CurrentFnDbgScope(0), DebugTimer(0) {
|
||||
@ -1780,7 +1780,7 @@ void DwarfDebug::constructSubprogramDIE(MDNode *N) {
|
||||
/// beginModule - Emit all Dwarf sections that should come prior to the
|
||||
/// content. Create global DIEs and emit initial debug info sections.
|
||||
/// This is inovked by the target AsmPrinter.
|
||||
void DwarfDebug::beginModule(Module *M, MachineModuleInfo *mmi) {
|
||||
void DwarfDebug::beginModule(Module *M) {
|
||||
this->M = M;
|
||||
|
||||
if (!MAI->doesSupportDebugInformation())
|
||||
@ -1809,7 +1809,7 @@ void DwarfDebug::beginModule(Module *M, MachineModuleInfo *mmi) {
|
||||
E = DbgFinder.global_variable_end(); I != E; ++I)
|
||||
constructGlobalVariableDIE(*I);
|
||||
|
||||
MMI = mmi;
|
||||
MMI = Asm->MMI;
|
||||
shouldEmit = true;
|
||||
MMI->setDebugInfoAvailability(true);
|
||||
|
||||
|
Reference in New Issue
Block a user