summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 05:11:15 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 05:11:15 +0000
commit49cd6649e1246c05896fadefe2fcbc4bc1f5d221 (patch)
tree77851ece439e59655641bd002393078e8a9d006a /include/llvm/CodeGen/AsmPrinter.h
parent7fb053dd45f7754b0a359a9de1a7445aefcca318 (diff)
downloadllvm-49cd6649e1246c05896fadefe2fcbc4bc1f5d221.tar.gz
llvm-49cd6649e1246c05896fadefe2fcbc4bc1f5d221.tar.bz2
llvm-49cd6649e1246c05896fadefe2fcbc4bc1f5d221.tar.xz
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 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h16
1 files changed, 10 insertions, 6 deletions
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);