advent of code 2023 edition
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
2.0 KiB

10 months ago
; ModuleID = 'probe4.ead7d0ef-cgu.0'
source_filename = "probe4.ead7d0ef-cgu.0"
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.7.0"
@alloc_e2f0cba8101c3fa1817c859afd61fcb8 = private unnamed_addr constant <{ [75 x i8] }> <{ [75 x i8] c"/rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/num/mod.rs" }>, align 1
@alloc_d66e9b254d0884d31980547995b7474b = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_e2f0cba8101c3fa1817c859afd61fcb8, [16 x i8] c"K\00\00\00\00\00\00\00/\04\00\00\05\00\00\00" }>, align 8
@str.0 = internal constant [25 x i8] c"attempt to divide by zero"
; probe4::probe
; Function Attrs: uwtable
define void @_ZN6probe45probe17h29d6a4196a26c9b2E() unnamed_addr #0 {
start:
%0 = call i1 @llvm.expect.i1(i1 false, i1 false)
br i1 %0, label %panic.i, label %"_ZN4core3num21_$LT$impl$u20$u32$GT$10div_euclid17h6c446df81b2b7c4bE.exit"
panic.i: ; preds = %start
; call core::panicking::panic
call void @_ZN4core9panicking5panic17h5dd2e5155f42ce6eE(ptr align 1 @str.0, i64 25, ptr align 8 @alloc_d66e9b254d0884d31980547995b7474b) #3
unreachable
"_ZN4core3num21_$LT$impl$u20$u32$GT$10div_euclid17h6c446df81b2b7c4bE.exit": ; preds = %start
ret void
}
; Function Attrs: nocallback nofree nosync nounwind readnone willreturn
declare i1 @llvm.expect.i1(i1, i1) #1
; core::panicking::panic
; Function Attrs: cold noinline noreturn uwtable
declare void @_ZN4core9panicking5panic17h5dd2e5155f42ce6eE(ptr align 1, i64, ptr align 8) unnamed_addr #2
attributes #0 = { uwtable "frame-pointer"="all" "probe-stack"="__rust_probestack" "target-cpu"="core2" }
attributes #1 = { nocallback nofree nosync nounwind readnone willreturn }
attributes #2 = { cold noinline noreturn uwtable "frame-pointer"="all" "probe-stack"="__rust_probestack" "target-cpu"="core2" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"PIC Level", i32 2}