aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-08-15 23:47:24 +0000
committerDevang Patel <dpatel@apple.com>2011-08-15 23:47:24 +0000
commit02e603f87a9745768a05411e16c47c558d2cbd6e (patch)
tree4f21f8e987edf66a136f3354809492c33c8aedb6 /lib/CodeGen/AsmPrinter/DwarfDebug.h
parenta9c989d55a10fa4ebacc0b8d84e3daca9e5d01d8 (diff)
downloadexternal_llvm-02e603f87a9745768a05411e16c47c558d2cbd6e.zip
external_llvm-02e603f87a9745768a05411e16c47c558d2cbd6e.tar.gz
external_llvm-02e603f87a9745768a05411e16c47c558d2cbd6e.tar.bz2
Refactor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 5ff0994..3c8c683 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -468,6 +468,14 @@ public:
DwarfDebug(AsmPrinter *A, Module *M);
~DwarfDebug();
+ /// collectInfoFromNamedMDNodes - Collect debug info from named mdnodes such
+ /// as llvm.dbg.enum and llvm.dbg.ty
+ void collectInfoFromNamedMDNodes(Module *M);
+
+ /// collectLegacyDebugInfo - Collect debug info using DebugInfoFinder.
+ /// FIXME - Remove this when dragon-egg and llvm-gcc switch to DIBuilder.
+ bool collectLegacyDebugInfo(Module *M);
+
/// beginModule - Emit all Dwarf sections that should come prior to the
/// content.
void beginModule(Module *M);