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
This commit is contained in:
David Blaikie 2013-06-24 07:11:08 +00:00
parent 20af501d6f
commit b26da887d6

View File

@ -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;
};