cl: pkgKind = normal/noinit/decl

This commit is contained in:
xushiwei
2024-04-29 09:51:32 +08:00
parent 7979cfcb06
commit b45172bef1
7 changed files with 115 additions and 26 deletions

View File

@@ -11,7 +11,6 @@ _llgo_0:
_llgo_1: ; preds = %_llgo_0
store i1 true, ptr @"main.init$guard", align 1
call void @"github.com/goplus/llgo/cl/internal/libc.init"()
store i8 72, ptr @main.format, align 1
store i8 101, ptr getelementptr inbounds (i8, ptr @main.format, i64 1), align 1
store i8 108, ptr getelementptr inbounds (i8, ptr @main.format, i64 2), align 1
@@ -36,8 +35,6 @@ _llgo_0:
ret void
}
declare void @"github.com/goplus/llgo/cl/internal/libc.init"()
declare i32 @strlen(ptr)
declare void @"github.com/goplus/llgo/cl/internal/libc.Printf"(ptr, ...)