mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
In DICompositeType, referenced to derived type is either metadata or null.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146744 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
473f95febe
commit
c104cf2002
@ -440,7 +440,7 @@ DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name,
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), Flags),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
NULL,
|
||||
Elements,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
@ -465,7 +465,7 @@ DIType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name,
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), Flags),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
NULL,
|
||||
Elements,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
@ -484,9 +484,9 @@ DIType DIBuilder::createSubroutineType(DIFile File, DIArray ParameterTypes) {
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
NULL,
|
||||
ParameterTypes,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
@ -512,7 +512,7 @@ DIType DIBuilder::createEnumerationType(DIDescriptor Scope, StringRef Name,
|
||||
ConstantInt::get(Type::getInt64Ty(VMContext), AlignInBits),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
NULL,
|
||||
Elements,
|
||||
ConstantInt::get(Type::getInt32Ty(VMContext), 0),
|
||||
llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)),
|
||||
|
Loading…
Reference in New Issue
Block a user