OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Bindings][Go] Fixed go.test failure due to C-API argument type mismatch.
[android-x86/external-llvm.git]
/
bindings
/
go
/
llvm
/
dibuilder.go
diff --git
a/bindings/go/llvm/dibuilder.go
b/bindings/go/llvm/dibuilder.go
index
dbf6237
..
98382df
100644
(file)
--- a/
bindings/go/llvm/dibuilder.go
+++ b/
bindings/go/llvm/dibuilder.go
@@
-298,7
+298,7
@@
func (d *DIBuilder) CreateBasicType(t DIBasicType) Metadata {
name,
C.size_t(len(t.Name)),
C.uint64_t(t.SizeInBits),
- C.
unsigned
(t.Encoding),
+ C.
LLVMDWARFTypeEncoding
(t.Encoding),
C.LLVMDIFlags(0),
)
return Metadata{C: result}