forked from OSchip/llvm-project
parent
2ffc5734e7
commit
17dd8f07c6
|
@ -548,10 +548,12 @@ DICompositeType DIBuilder::createStructType(DIDescriptor Context,
|
|||
}
|
||||
|
||||
/// createUnionType - Create debugging information entry for an union.
|
||||
DICompositeType DIBuilder::createUnionType(
|
||||
DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber,
|
||||
uint64_t SizeInBits, uint64_t AlignInBits, unsigned Flags, DIArray Elements,
|
||||
unsigned RunTimeLang) {
|
||||
DICompositeType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name,
|
||||
DIFile File, unsigned LineNumber,
|
||||
uint64_t SizeInBits,
|
||||
uint64_t AlignInBits, unsigned Flags,
|
||||
DIArray Elements,
|
||||
unsigned RunTimeLang) {
|
||||
// TAG_union_type is encoded in DICompositeType format.
|
||||
Value *Elts[] = {
|
||||
GetTagConstant(VMContext, dwarf::DW_TAG_union_type),
|
||||
|
|
Loading…
Reference in New Issue