forked from OSchip/llvm-project
just have all targets create the DwarfWriter.
llvm-svn: 100377
This commit is contained in:
parent
8b30492da3
commit
626cb66fdb
|
@ -108,6 +108,7 @@ void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
|
|||
MachineFunctionPass::getAnalysisUsage(AU);
|
||||
AU.addRequired<MachineModuleInfo>();
|
||||
AU.addRequired<GCModuleInfo>();
|
||||
AU.addRequired<DwarfWriter>();
|
||||
if (isVerbose())
|
||||
AU.addRequired<MachineLoopInfo>();
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "llvm/Type.h"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/CodeGen/DwarfWriter.h"
|
||||
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
|
||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||
#include "llvm/CodeGen/MachineJumpTableInfo.h"
|
||||
|
@ -274,11 +273,6 @@ namespace {
|
|||
O << ')';
|
||||
}
|
||||
}
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
AU.addRequired<DwarfWriter>();
|
||||
}
|
||||
};
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "llvm/Module.h"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/CodeGen/DwarfWriter.h"
|
||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "llvm/CodeGen/MachineInstrBuilder.h"
|
||||
|
@ -342,11 +341,6 @@ namespace {
|
|||
bool doFinalization(Module &M);
|
||||
|
||||
virtual void EmitFunctionEntryLabel();
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequired<DwarfWriter>();
|
||||
PPCAsmPrinter::getAnalysisUsage(AU);
|
||||
}
|
||||
};
|
||||
|
||||
/// PPCDarwinAsmPrinter - PowerPC assembly printer, customized for Darwin/Mac
|
||||
|
@ -364,13 +358,6 @@ namespace {
|
|||
void EmitStartOfAsmFile(Module &M);
|
||||
|
||||
void EmitFunctionStubs(const MachineModuleInfoMachO::SymbolListTy &Stubs);
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
AU.addRequired<MachineModuleInfo>();
|
||||
AU.addRequired<DwarfWriter>();
|
||||
PPCAsmPrinter::getAnalysisUsage(AU);
|
||||
}
|
||||
};
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "../X86TargetMachine.h"
|
||||
#include "llvm/ADT/StringSet.h"
|
||||
#include "llvm/CodeGen/AsmPrinter.h"
|
||||
#include "llvm/CodeGen/DwarfWriter.h"
|
||||
#include "llvm/CodeGen/MachineModuleInfo.h"
|
||||
#include "llvm/CodeGen/ValueTypes.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
@ -46,11 +45,6 @@ class VISIBILITY_HIDDEN X86AsmPrinter : public AsmPrinter {
|
|||
|
||||
const X86Subtarget &getSubtarget() const { return *Subtarget; }
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequired<DwarfWriter>();
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
}
|
||||
|
||||
virtual void EmitStartOfAsmFile(Module &M);
|
||||
|
||||
virtual void EmitEndOfAsmFile(Module &M);
|
||||
|
|
|
@ -82,11 +82,6 @@ namespace {
|
|||
bool runOnMachineFunction(MachineFunction &MF);
|
||||
void EmitInstruction(const MachineInstr *MI);
|
||||
void EmitFunctionBodyEnd();
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AsmPrinter::getAnalysisUsage(AU);
|
||||
AU.addRequired<DwarfWriter>();
|
||||
}
|
||||
};
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
|
Loading…
Reference in New Issue