mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Pass length of string in Go binding of CreateCompileUnit
This commit is contained in:
parent
16e0971625
commit
928122c28f
@ -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}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user