Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/IR/DIBuilder.cpp
Show First 20 Lines • Show All 521 Lines • ▼ Show 20 Lines | auto *CTy = DICompositeType::get( | ||||
nullptr, UniqueIdentifier); | nullptr, UniqueIdentifier); | ||||
AllEnumTypes.push_back(CTy); | AllEnumTypes.push_back(CTy); | ||||
trackIfUnresolved(CTy); | trackIfUnresolved(CTy); | ||||
return CTy; | return CTy; | ||||
} | } | ||||
DICompositeType *DIBuilder::createArrayType(uint64_t Size, | DICompositeType *DIBuilder::createArrayType(uint64_t Size, | ||||
uint32_t AlignInBits, DIType *Ty, | uint32_t AlignInBits, DIType *Ty, | ||||
DINodeArray Subscripts) { | DINodeArray Subscripts, | ||||
Metadata *DataLocation, | |||||
Metadata *Associated, | |||||
Metadata *Allocated, | |||||
alok: You may want to add "Rank" as well. (D89141) | |||||
Metadata *Rank) { | |||||
auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "", | auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "", | ||||
nullptr, 0, nullptr, Ty, Size, AlignInBits, 0, | nullptr, 0, nullptr, Ty, Size, AlignInBits, 0, | ||||
DINode::FlagZero, Subscripts, 0, nullptr); | DINode::FlagZero, Subscripts, 0, nullptr, | ||||
nullptr, "", nullptr, DataLocation, | |||||
Associated, Allocated, Rank); | |||||
trackIfUnresolved(R); | trackIfUnresolved(R); | ||||
return R; | return R; | ||||
} | } | ||||
DICompositeType *DIBuilder::createVectorType(uint64_t Size, | DICompositeType *DIBuilder::createVectorType(uint64_t Size, | ||||
uint32_t AlignInBits, DIType *Ty, | uint32_t AlignInBits, DIType *Ty, | ||||
DINodeArray Subscripts) { | DINodeArray Subscripts) { | ||||
auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "", | auto *R = DICompositeType::get(VMContext, dwarf::DW_TAG_array_type, "", | ||||
▲ Show 20 Lines • Show All 504 Lines • Show Last 20 Lines |
You may want to add "Rank" as well. (D89141)