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

@@ -9,7 +9,7 @@ fn void main()
/* #expect: foo.ll
define void @foo.main() #0 {
define void @foo_main() #0 {
entry:
%x = alloca i32*, align 8
%y = alloca i32, align 4
@@ -19,7 +19,7 @@ entry:
br i1 %checknull, label %panic, label %checkok
panic: ; preds = %entry
call void @"std::core::builtin.panic"(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.zstr, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.zstr.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.zstr.2, i64 0, i64 0), i32 6)
call void @std_core_builtin_panic(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.zstr, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.zstr.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.zstr.2, i64 0, i64 0), i32 6)
br label %checkok
checkok: ; preds = %panic, %entry