forked from OSchip/llvm-project
Include all the fields so we can correctly emit DW_TAG_structure_type for C++ structs.
llvm-svn: 167334
This commit is contained in:
parent
23848f8f1d
commit
bc1b4e73e6
|
@ -492,7 +492,8 @@ DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name,
|
|||
NULL,
|
||||
Elements,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
|
||||
Constant::getNullValue(Type::getInt32Ty(VMContext))
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
};
|
||||
return DIType(MDNode::get(VMContext, Elts));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue