diff options
author | Devang Patel <dpatel@apple.com> | 2011-08-15 23:47:24 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-08-15 23:47:24 +0000 |
commit | 07bb9eea3369cf7616d2fed31c6a9b21e0efcc70 (patch) | |
tree | 745a2a04800e07c9a23d604865982a27599181d7 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | e593e7fe6fda2fc44124a4947921b65286ecca0e (diff) | |
download | bcm5719-llvm-07bb9eea3369cf7616d2fed31c6a9b21e0efcc70.tar.gz bcm5719-llvm-07bb9eea3369cf7616d2fed31c6a9b21e0efcc70.zip |
Refactor.
llvm-svn: 137689
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 5ff0994c9eb..3c8c683bd04 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/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); |