mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 18:31:54 +00: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,
|
/*DWOId=*/ 0,
|
||||||
/*SplitDebugInlining*/ C.LLVMBool(boolToCInt(true)),
|
/*SplitDebugInlining*/ C.LLVMBool(boolToCInt(true)),
|
||||||
/*DebugInfoForProfiling*/ C.LLVMBool(boolToCInt(false)),
|
/*DebugInfoForProfiling*/ C.LLVMBool(boolToCInt(false)),
|
||||||
sysroot,
|
sysroot, C.size_t(len(cu.SysRoot)),
|
||||||
)
|
)
|
||||||
return Metadata{C: result}
|
return Metadata{C: result}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user