summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-06-24 07:11:08 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-06-24 07:11:08 +0000
commitb26da887d61acc31fdd7cade24e1a029c2e6b354 (patch)
treebce776108c59aec55f5bed5ac391f27d1a200118 /include
parent20af501d6f15926c89d65580191abbb7d3f90168 (diff)
downloadllvm-b26da887d61acc31fdd7cade24e1a029c2e6b354.tar.gz
llvm-b26da887d61acc31fdd7cade24e1a029c2e6b354.tar.bz2
llvm-b26da887d61acc31fdd7cade24e1a029c2e6b354.tar.xz
DebugInfo: enumerator values returned as int64 as they are stored
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 01ff6342cf..947f4a656f 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -222,7 +222,7 @@ namespace llvm {
explicit DIEnumerator(const MDNode *N = 0) : DIDescriptor(N) {}
StringRef getName() const { return getStringField(1); }
- uint64_t getEnumValue() const { return getUInt64Field(2); }
+ int64_t getEnumValue() const { return getInt64Field(2); }
bool Verify() const;
};