mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
DIBuilder: Correct the null/0 type of trailing fields in struct debug info.
Paired with an Clang commit so this may cause temporary build failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -526,8 +526,8 @@ DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name,
|
|||||||
NULL,
|
NULL,
|
||||||
Elements,
|
Elements,
|
||||||
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
|
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
|
||||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
NULL,
|
||||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
NULL,
|
||||||
};
|
};
|
||||||
return DIType(MDNode::get(VMContext, Elts));
|
return DIType(MDNode::get(VMContext, Elts));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user