diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-05 05:11:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-05 05:11:15 +0000 |
commit | 49cd6649e1246c05896fadefe2fcbc4bc1f5d221 (patch) | |
tree | 77851ece439e59655641bd002393078e8a9d006a /lib/CodeGen/AsmPrinter/DwarfWriter.cpp | |
parent | 7fb053dd45f7754b0a359a9de1a7445aefcca318 (diff) |
change AsmPrinter to use DwarfDebug/DwarfException directly
instead of going through DwarfWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index acc0066937..15a02dd9d4 100644 --- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -38,8 +38,7 @@ DwarfWriter::~DwarfWriter() { /// content. void DwarfWriter::BeginModule(Module *M, AsmPrinter *A) { DE = new DwarfException(A); - DD = new DwarfDebug(A); - DD->beginModule(M); + DD = new DwarfDebug(A, M); } /// EndModule - Emit all Dwarf sections that should come after the content. |