summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-04-16 23:33:45 +0000
committerDevang Patel <dpatel@apple.com>2010-04-16 23:33:45 +0000
commitf2548caaa8b290aa598bf49c27dff72f7751ba5c (patch)
tree7c78f9dc2f734a62f7264ce6b77901ad09742630 /include/llvm/CodeGen/AsmPrinter.h
parentcf7fbd41be73c2738ee07fded656d23f798976df (diff)
downloadllvm-f2548caaa8b290aa598bf49c27dff72f7751ba5c.tar.gz
llvm-f2548caaa8b290aa598bf49c27dff72f7751ba5c.tar.bz2
llvm-f2548caaa8b290aa598bf49c27dff72f7751ba5c.tar.xz
Add support to emit dwarf ranges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 2eff50123a..85c267eea9 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -333,6 +333,12 @@ namespace llvm {
void EmitLabelDifference(const MCSymbol *Hi, const MCSymbol *Lo,
unsigned Size) const;
+ /// EmitLabelOffsetDifference - Emit something like ".long Hi+Offset-Lo"
+ /// where the size in bytes of the directive is specified by Size and Hi/Lo
+ /// specify the labels. This implicitly uses .set if it is available.
+ void EmitLabelOffsetDifference(const MCSymbol *Hi, uint64_t Offset,
+ const MCSymbol *Lo, unsigned Size) const;
+
//===------------------------------------------------------------------===//
// Dwarf Emission Helper Routines
//===------------------------------------------------------------------===//