projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20af501
)
DebugInfo: enumerator values returned as int64 as they are stored
author
David Blaikie
<dblaikie@gmail.com>
Mon, 24 Jun 2013 07:11:08 +0000
(07:11 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Mon, 24 Jun 2013 07:11:08 +0000
(07:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184694
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/DebugInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/DebugInfo.h
b/include/llvm/DebugInfo.h
index 01ff6342cff6e2142c19460f88b2153bdd2c41f1..947f4a656f26866b4cf28627705e7483a8d5ad90 100644
(file)
--- 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 getU
Int64Field(2); }
+
int64_t getEnumValue() const { return get
Int64Field(2); }
bool Verify() const;
};