mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Debug Info: In DIBuilder, the context and type fields of template_type and
template_value are updated to use DIRef. A paired commit at clang is required due to changes to DIBuilder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -538,9 +538,9 @@ DIBuilder::createTemplateTypeParameter(DIDescriptor Context, StringRef Name,
|
||||
unsigned ColumnNo) {
|
||||
Value *Elts[] = {
|
||||
GetTagConstant(VMContext, dwarf::DW_TAG_template_type_parameter),
|
||||
getNonCompileUnitScope(Context),
|
||||
DIScope(getNonCompileUnitScope(Context)).getRef(),
|
||||
MDString::get(VMContext, Name),
|
||||
Ty,
|
||||
Ty.getRef(),
|
||||
File,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), ColumnNo)
|
||||
@@ -556,9 +556,9 @@ DIBuilder::createTemplateValueParameter(unsigned Tag, DIDescriptor Context,
|
||||
unsigned ColumnNo) {
|
||||
Value *Elts[] = {
|
||||
GetTagConstant(VMContext, Tag),
|
||||
getNonCompileUnitScope(Context),
|
||||
DIScope(getNonCompileUnitScope(Context)).getRef(),
|
||||
MDString::get(VMContext, Name),
|
||||
Ty,
|
||||
Ty.getRef(),
|
||||
Val,
|
||||
File,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
|
||||
|
||||
Reference in New Issue
Block a user