summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
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/CodeGen/AsmPrinter/AsmPrinter.cpp
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/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 5eed88cf21d..89fa0c54f5f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -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>();
}
OpenPOWER on IntegriCloud