aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 07:48:20 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 07:48:20 +0000
commit75f50725c1d7f86ee545337b155b4feac66627f6 (patch)
treef6d81d8592617ea4356bfb080a065578c612b12d /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent7d73c7f0d618dd6661cd55834c58aa62f22b28fe (diff)
remove the raw_ostream from various dwarf printing things.
The only thing left is LEB printing, which uses EmitRawText for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index a2d7ab1224..7aa928170c 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -36,14 +36,11 @@ DwarfWriter::~DwarfWriter() {
/// BeginModule - Emit all Dwarf sections that should come prior to the
/// content.
-void DwarfWriter::BeginModule(Module *M,
- MachineModuleInfo *MMI,
- raw_ostream &OS, AsmPrinter *A,
- const MCAsmInfo *T) {
- DE = new DwarfException(OS, A, T);
- DD = new DwarfDebug(OS, A, T);
- DE->BeginModule(M, MMI);
- DD->beginModule(M, MMI);
+void DwarfWriter::BeginModule(Module *M, AsmPrinter *A) {
+ DE = new DwarfException(A);
+ DD = new DwarfDebug(A);
+ DE->BeginModule(M);
+ DD->beginModule(M);
}
/// EndModule - Emit all Dwarf sections that should come after the content.