summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-02-24 21:04:00 +0000
committerDevang Patel <dpatel@apple.com>2011-02-24 21:04:00 +0000
commitb037383a35660151cc2a8814c0854a6b65039925 (patch)
tree917246738524d5a8dd6edd4b8705bab59b2b11e2 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent502f1b943f54728efdae52362b4b1a46dba57d7b (diff)
downloadbcm5719-llvm-b037383a35660151cc2a8814c0854a6b65039925.tar.gz
bcm5719-llvm-b037383a35660151cc2a8814c0854a6b65039925.zip
Enable DebugInfo support for COFF object files.
Patch by Nathan Jeffords! llvm-svn: 126425
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 7df0510fbfb..2e920f502a2 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -280,6 +280,12 @@ private:
void addLabel(DIE *Die, unsigned Attribute, unsigned Form,
const MCSymbol *Label);
+ /// addSectionOffset - Add a Dwarf section relative label attribute data and
+ /// value.
+ ///
+ void addSectionOffset(DIE *Die, unsigned Attribute, unsigned Form,
+ const MCSymbol *Label);
+
/// addDelta - Add a label delta attribute data and value.
///
void addDelta(DIE *Die, unsigned Attribute, unsigned Form,
OpenPOWER on IntegriCloud