Fixes to native backtrace.

This commit is contained in:
Christoffer Lerno
2023-11-11 14:16:36 +01:00
committed by Christoffer Lerno
parent dc0aa35522
commit 5e8816e6df
93 changed files with 434 additions and 405 deletions

View File

@@ -63,10 +63,10 @@ target triple = "x86_64-apple
@.str.8 = private unnamed_addr constant [11 x i8] c"Was true!\0A\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"Was false!\0A\00", align 1
; Function Attrs: nounwind
declare void @printf(ptr, ...) #0
; Function Attrs: nounwind
define void @foo.main() #0 {
entry:
%i = alloca i32, align 4
@@ -220,7 +220,7 @@ switch.exit31: ; preds = %next_if30, %switch.
ret void
}
; Function Attrs: nounwind
define i32 @main(i32 %0, ptr %1) #0 {
entry:
call void @foo.main()