OSDN Git Service

[Bindings][Go] Fixed go.test failure due to C-API argument type mismatch.
authorKristina Brooks <kristina@nym.hush.com>
Fri, 7 Sep 2018 17:33:43 +0000 (17:33 +0000)
committerKristina Brooks <kristina@nym.hush.com>
Fri, 7 Sep 2018 17:33:43 +0000 (17:33 +0000)
commit35cb7177bd4b87db4de630613d224909e788b80b
tree0a99a074343696354c3d1c1ca5dd58405b5f5162
parent0c1ea5a1294a92a0527c86b1dc6e58aec0459d31
[Bindings][Go] Fixed go.test failure due to C-API argument type mismatch.

go.test was failing previously with error,
Command Output (stderr):
dibuilder.go:301: cannot use C.uint(t.Encoding) (type C.uint) as type
C.LLVMDWARFTypeEncoding in argument to func literal
This patch fixes the argument type.

Patch by Chirag (Chirag Patel)

Differential Revision: https://reviews.llvm.org/D51721

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341680 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/go/llvm/dibuilder.go