llgo/x/llgen

This commit is contained in:
xushiwei
2024-04-22 00:03:49 +08:00
parent 7ffedc2da7
commit 0b7713dbdb
7 changed files with 90 additions and 45 deletions

View File

@@ -28,6 +28,7 @@ declare void @printf(ptr, ...)
define void @main() {
_llgo_0:
call void @init()
call void (ptr, ...) @printf(ptr @hello)
ret void
}