summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 00:42:55 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 00:42:55 +0000
commit626cb66fdb5349a61694e8cf52f798b35c259fd7 (patch)
tree9da324fdcd01c1df15afe337d9041a740a9a792f /llvm/lib/Target/PowerPC/AsmPrinter
parent8b30492da3577a2cdc33b5e5d61250975508dfc8 (diff)
downloadbcm5719-llvm-626cb66fdb5349a61694e8cf52f798b35c259fd7.tar.gz
bcm5719-llvm-626cb66fdb5349a61694e8cf52f798b35c259fd7.zip
just have all targets create the DwarfWriter.
llvm-svn: 100377
Diffstat (limited to 'llvm/lib/Target/PowerPC/AsmPrinter')
-rw-r--r--llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
index dbd404df499..605656493c4 100644
--- a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
@@ -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
OpenPOWER on IntegriCloud