diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-24 17:34:33 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-24 17:34:33 +0000 |
commit | 8de0a465b832052d975dc9fdced1adcf3336fabc (patch) | |
tree | b7a76800c31e65833c7a52dac7cab06038a7ad47 /lib/IR/DIBuilder.cpp | |
parent | e701431466d7cff6735c16f0c540ecbaf3ffd6ea (diff) | |
download | external_llvm-8de0a465b832052d975dc9fdced1adcf3336fabc.zip external_llvm-8de0a465b832052d975dc9fdced1adcf3336fabc.tar.gz external_llvm-8de0a465b832052d975dc9fdced1adcf3336fabc.tar.bz2 |
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/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 758e7cf..4f271b6 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), |