llvm.org GIT mirror llvm / 7ba1553
Fix for Bindings/Go/go.test after patch r280700 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280711 91177308-0d34-0410-b5e6-96231b3b80d8 Leny Kholodov 4 years ago
1 changed file(s) with 10 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
7878 return wrap(D->createFunction(unwrap(Scope), Name, LinkageName,
7979 File ? unwrap(File) : nullptr, Line,
8080 unwrap(CompositeType),
81 IsLocalToUnit, IsDefinition, ScopeLine, Flags,
81 IsLocalToUnit, IsDefinition, ScopeLine,
82 static_cast(Flags),
8283 IsOptimized));
8384 }
8485
9091 DIBuilder *D = unwrap(Dref);
9192 return wrap(D->createAutoVariable(unwrap(Scope), Name,
9293 unwrap(File), Line,
93 unwrap(Ty), AlwaysPreserve, Flags));
94 unwrap(Ty), AlwaysPreserve,
95 static_cast(Flags)));
9496 }
9597
9698 LLVMMetadataRef LLVMDIBuilderCreateParameterVariable(
100102 DIBuilder *D = unwrap(Dref);
101103 return wrap(D->createParameterVariable(
102104 unwrap(Scope), Name, ArgNo, unwrap(File), Line,
103 unwrap(Ty), AlwaysPreserve, Flags));
105 unwrap(Ty), AlwaysPreserve, static_cast(Flags)));
104106 }
105107
106108 LLVMMetadataRef LLVMDIBuilderCreateBasicType(LLVMDIBuilderRef Dref,
138140 DIBuilder *D = unwrap(Dref);
139141 return wrap(D->createStructType(
140142 unwrap(Scope), Name, File ? unwrap(File) : nullptr, Line,
141 SizeInBits, AlignInBits, Flags,
143 SizeInBits, AlignInBits, static_cast(Flags),
142144 DerivedFrom ? unwrap(DerivedFrom) : nullptr,
143145 ElementTypes ? DINodeArray(unwrap(ElementTypes)) : nullptr));
144146 }
151153 DIBuilder *D = unwrap(Dref);
152154 return wrap(D->createReplaceableCompositeType(
153155 Tag, Name, unwrap(Scope), File ? unwrap(File) : nullptr,
154 Line, RuntimeLang, SizeInBits, AlignInBits, Flags));
156 Line, RuntimeLang, SizeInBits, AlignInBits,
157 static_cast(Flags)));
155158 }
156159
157160 LLVMMetadataRef
163166 DIBuilder *D = unwrap(Dref);
164167 return wrap(D->createMemberType(
165168 unwrap(Scope), Name, File ? unwrap(File) : nullptr, Line,
166 SizeInBits, AlignInBits, OffsetInBits, Flags, unwrap(Ty)));
169 SizeInBits, AlignInBits, OffsetInBits,
170 static_cast(Flags), unwrap(Ty)));
167171 }
168172
169173 LLVMMetadataRef LLVMDIBuilderCreateArrayType(LLVMDIBuilderRef Dref,