From b26da887d61acc31fdd7cade24e1a029c2e6b354 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 24 Jun 2013 07:11:08 +0000 Subject: [PATCH] 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 --- include/llvm/DebugInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 01ff6342cff..947f4a656f2 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; }; -- 2.34.1