llvm.org GIT mirror llvm / 778613a
[LLVM-C] Correct types in Go bindings Summary: Fixes a test failure introduced in rL331114. Reviewers: whitequark Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46631 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331850 91177308-0d34-0410-b5e6-96231b3b80d8 Robert Widmann 1 year, 5 months ago
1 changed file(s) with 12 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
296296 d.ref,
297297 name,
298298 C.size_t(len(t.Name)),
299 C.ulong(t.SizeInBits),
299 C.uint64_t(t.SizeInBits),
300300 C.unsigned(t.Encoding),
301301 )
302302 return Metadata{C: result}
318318 result := C.LLVMDIBuilderCreatePointerType(
319319 d.ref,
320320 t.Pointee.C,
321 C.ulong(t.SizeInBits),
322 C.unsigned(t.AlignInBits),
321 C.uint64_t(t.SizeInBits),
322 C.uint32_t(t.AlignInBits),
323323 C.unsigned(t.AddressSpace),
324324 name,
325325 C.size_t(len(t.Name)),
380380 C.size_t(len(t.Name)),
381381 t.File.C,
382382 C.unsigned(t.Line),
383 C.ulong(t.SizeInBits),
384 C.unsigned(t.AlignInBits),
383 C.uint64_t(t.SizeInBits),
384 C.uint32_t(t.AlignInBits),
385385 C.LLVMDIFlags(t.Flags),
386386 t.DerivedFrom.C,
387387 elements,
423423 t.File.C,
424424 C.unsigned(t.Line),
425425 C.unsigned(t.RuntimeLang),
426 C.ulong(t.SizeInBits),
427 C.unsigned(t.AlignInBits),
426 C.uint64_t(t.SizeInBits),
427 C.uint32_t(t.AlignInBits),
428428 C.LLVMDIFlags(t.Flags),
429429 uniqueID,
430430 C.size_t(len(t.UniqueID)),
455455 C.size_t(len(t.Name)),
456456 t.File.C,
457457 C.unsigned(t.Line),
458 C.ulong(t.SizeInBits),
459 C.unsigned(t.AlignInBits),
460 C.ulong(t.OffsetInBits),
458 C.uint64_t(t.SizeInBits),
459 C.uint32_t(t.AlignInBits),
460 C.uint64_t(t.OffsetInBits),
461461 C.LLVMDIFlags(t.Flags),
462462 t.Type.C,
463463 )
487487 subscripts, length := llvmMetadataRefs(subscriptsSlice)
488488 result := C.LLVMDIBuilderCreateArrayType(
489489 d.ref,
490 C.ulong(t.SizeInBits),
491 C.unsigned(t.AlignInBits),
490 C.uint64_t(t.SizeInBits),
491 C.uint32_t(t.AlignInBits),
492492 t.ElementType.C,
493493 subscripts,
494494 length,