commit | bec073cea9e938743567789cc5deac473da04506 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Apr 05 00:42:55 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Apr 05 00:42:55 2010 +0000 |
tree | a0be9167fe9676492307d702f177db0b2e57f0a5 | |
parent | 0e21124a12a70b4f882c3227f711c944523b5698 [diff] [blame] |
just have all targets create the DwarfWriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100377 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 5eed88c..89fa0c5 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -108,6 +108,7 @@ MachineFunctionPass::getAnalysisUsage(AU); AU.addRequired<MachineModuleInfo>(); AU.addRequired<GCModuleInfo>(); + AU.addRequired<DwarfWriter>(); if (isVerbose()) AU.addRequired<MachineLoopInfo>(); }