This is an archive of the discontinued LLVM Phabricator instance.

[Bindings][Go] Fix go.test failure due to missing argument
ClosedPublic

Authored by lkail on Nov 16 2019, 6:06 PM.

Details

Summary

go.test failed with error

# llvm.org/llvm/bindings/go/llvm [llvm.org/llvm/bindings/go/llvm.test]
/tmp/gopath431502532/src/llvm.org/llvm/bindings/go/llvm/dibuilder.go:514:40: not enough arguments in call to _Cfunc_LLVMDIBuilderCreateTypedef                                               
        have (_Ctype_LLVMDIBuilderRef, _Ctype_LLVMMetadataRef, *_Ctype_char, _Ctype_ulong, _Ctype_LLVMMetadataRef, _Ctype_uint, _Ctype_LLVMMetadataRef)                                      
        want (*_Ctype_struct_LLVMOpaqueDIBuilder, *_Ctype_struct_LLVMOpaqueMetadata, *_Ctype_char, _Ctype_ulong, *_Ctype_struct_LLVMOpaqueMetadata, _Ctype_uint, *_Ctype_struct_LLVMOpaqueMetadata, _Ctype_uint)

This patch fixes above error.

Diff Detail

Event Timeline

lkail created this revision.Nov 16 2019, 6:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2019, 6:06 PM
lkail edited the summary of this revision. (Show Details)Nov 16 2019, 6:14 PM
This revision is now accepted and ready to land.Nov 18 2019, 5:25 AM
This revision was automatically updated to reflect the committed changes.