From 49cd6649e1246c05896fadefe2fcbc4bc1f5d221 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 5 Apr 2010 05:11:15 +0000 Subject: 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 --- include/llvm/CodeGen/AsmPrinter.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'include/llvm/CodeGen/AsmPrinter.h') diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index e827109a53..03dc67f47d 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -42,14 +42,15 @@ namespace llvm { class MachineJumpTableInfo; class MachineModuleInfo; class MachineMove; + class MCAsmInfo; class MCInst; class MCContext; class MCSection; class MCStreamer; class MCSymbol; - class DwarfWriter; + class DwarfDebug; + class DwarfException; class Mangler; - class MCAsmInfo; class TargetLoweringObjectFile; class TargetData; class Twine; @@ -59,9 +60,6 @@ namespace llvm { /// asm writers. class AsmPrinter : public MachineFunctionPass { public: - /// DW - If available, this is a pointer to the current dwarf writer. - DwarfWriter *DW; - /// Target machine description. /// TargetMachine &TM; @@ -107,8 +105,14 @@ namespace llvm { /// If VerboseAsm is set, a pointer to the loop info for this /// function. - /// MachineLoopInfo *LI; + + /// DD - If the target supports dwarf debug info, this pointer is non-null. + DwarfDebug *DD; + + /// DE - If the target supports dwarf exception info, this pointer is + /// non-null. + DwarfException *DE; protected: explicit AsmPrinter(TargetMachine &TM, MCStreamer &Streamer); -- cgit v1.2.3