Updated mangling and bump to 0.2.18

This commit is contained in:
Christoffer Lerno
2022-07-19 21:44:02 +02:00
committed by Christoffer Lerno
parent 4afec24434
commit d3a053e049
393 changed files with 2811 additions and 2768 deletions

View File

@@ -18,15 +18,15 @@ fn void main()
// #expect: demo.ll
define i32 @demo.my_callback(i8* %0, i32 %1) #0 {
define i32 @demo_my_callback(i8* %0, i32 %1) #0 {
entry:
ret i32 0
}
define void @demo.main() #0 {
define void @demo_main() #0 {
entry:
%result = alloca i32, align 4
%0 = load i32 (i8*, i32)*, i32 (i8*, i32)** @demo.cb, align 8
%0 = load i32 (i8*, i32)*, i32 (i8*, i32)** @demo_cb, align 8
%1 = call i32 %0(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i32 0, i32 0), i32 123)
store i32 %1, i32* %result, align 4
ret void