mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
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
This commit is contained in:
parent
e701431466
commit
8de0a465b8
@ -113,7 +113,7 @@ namespace llvm {
|
||||
DIFile createFile(StringRef Filename, StringRef Directory);
|
||||
|
||||
/// createEnumerator - Create a single enumerator value.
|
||||
DIEnumerator createEnumerator(StringRef Name, uint64_t Val);
|
||||
DIEnumerator createEnumerator(StringRef Name, int64_t Val);
|
||||
|
||||
/// createNullPtrType - Create C++0x nullptr type.
|
||||
DIBasicType createNullPtrType(StringRef Name);
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user