forked from OSchip/llvm-project
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. llvm-svn: 175426
This commit is contained in:
parent
3e05be9de3
commit
12bbf715fc
|
@ -526,8 +526,8 @@ DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name,
|
|||
NULL,
|
||||
Elements,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
return DIType(MDNode::get(VMContext, Elts));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue