projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97ba483
)
Pass length of string in Go binding of CreateCompileUnit
author
Adrian Prantl
<aprantl@apple.com>
Fri, 17 Jan 2020 21:34:46 +0000
(13:34 -0800)
committer
Adrian Prantl
<aprantl@apple.com>
Fri, 17 Jan 2020 21:35:30 +0000
(13:35 -0800)
llvm/bindings/go/llvm/dibuilder.go
patch
|
blob
|
history
diff --git
a/llvm/bindings/go/llvm/dibuilder.go
b/llvm/bindings/go/llvm/dibuilder.go
index
4381326
..
cba28f9
100644
(file)
--- a/
llvm/bindings/go/llvm/dibuilder.go
+++ b/
llvm/bindings/go/llvm/dibuilder.go
@@
-145,7
+145,7
@@
func (d *DIBuilder) CreateCompileUnit(cu DICompileUnit) Metadata {
/*DWOId=*/ 0,
/*SplitDebugInlining*/ C.LLVMBool(boolToCInt(true)),
/*DebugInfoForProfiling*/ C.LLVMBool(boolToCInt(false)),
- sysroot,
+ sysroot,
C.size_t(len(cu.SysRoot)),
)
return Metadata{C: result}
}