cl: interface support __llgo_va_list

This commit is contained in:
visualfc
2025-09-09 13:20:01 +08:00
parent 89af430329
commit fd17a43ade
6 changed files with 451 additions and 22 deletions

View File

@@ -458,7 +458,7 @@ func (p Program) toLLVMTypes(t *types.Tuple, n int) (ret []llvm.Type) {
func (p Program) toLLVMFunc(sig *types.Signature) llvm.Type {
tParams := sig.Params()
n := tParams.Len()
hasVArg := hasNameValist(sig)
hasVArg := HasNameValist(sig)
if hasVArg {
n--
}