mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fixes to native backtrace.
This commit is contained in:
committed by
Christoffer Lerno
parent
dc0aa35522
commit
5e8816e6df
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user