summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-06-24 17:34:33 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-06-24 17:34:33 +0000
commit8de0a465b832052d975dc9fdced1adcf3336fabc (patch)
treeb7a76800c31e65833c7a52dac7cab06038a7ad47 /lib
parente701431466d7cff6735c16f0c540ecbaf3ffd6ea (diff)
downloadllvm-8de0a465b832052d975dc9fdced1adcf3336fabc.tar.gz
llvm-8de0a465b832052d975dc9fdced1adcf3336fabc.tar.bz2
llvm-8de0a465b832052d975dc9fdced1adcf3336fabc.tar.xz
DebugInfo: DIBuilder changes to match DIEnumerator changes in r184694
Representing enumerators by int64 instead of uint64 for now. At some point we need to address the underlying issue of representation depending on the specific enumeration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/IR/DIBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp
index 758e7cfeb3..4f271b6711 100644
--- a/lib/IR/DIBuilder.cpp
+++ b/lib/IR/DIBuilder.cpp
@@ -198,7 +198,7 @@ DIFile DIBuilder::createFile(StringRef Filename, StringRef Directory) {
}
/// createEnumerator - Create a single enumerator value.
-DIEnumerator DIBuilder::createEnumerator(StringRef Name, uint64_t Val) {
+DIEnumerator DIBuilder::createEnumerator(StringRef Name, int64_t Val) {
assert(!Name.empty() && "Unable to create enumerator without name");
Value *Elts[] = {
GetTagConstant(VMContext, dwarf::DW_TAG_enumerator),