diff options
author | Devang Patel <dpatel@apple.com> | 2010-04-16 23:33:45 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-04-16 23:33:45 +0000 |
commit | f2548caaa8b290aa598bf49c27dff72f7751ba5c (patch) | |
tree | 7c78f9dc2f734a62f7264ce6b77901ad09742630 /lib/CodeGen/AsmPrinter/DIE.h | |
parent | cf7fbd41be73c2738ee07fded656d23f798976df (diff) |
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.h | 3 |
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; } |