summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DIE.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 /lib/CodeGen/AsmPrinter/DIE.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 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h
index 454326db0e..9cb8314bd9 100644
--- a/lib/CodeGen/AsmPrinter/DIE.h
+++ b/lib/CodeGen/AsmPrinter/DIE.h
@@ -261,11 +261,12 @@ namespace llvm {
///
virtual void EmitValue(AsmPrinter *AP, unsigned Form) const;
+ uint64_t getValue() const { return Integer; }
+
/// SizeOf - Determine size of integer value in bytes.
///
virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const;
-
// Implement isa/cast/dyncast.
static bool classof(const DIEInteger *) { return true; }
static bool classof(const DIEValue *I) { return I->getType() == isInteger; }