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.

43 lines
2.1 KiB

; ModuleID = 'probe4.d50822fbc0ed728e-cgu.0'
source_filename = "probe4.d50822fbc0ed728e-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.12.0"
@alloc_95fc4af8d8c0c95140f3698120307efb = private unnamed_addr constant <{ [75 x i8] }> <{ [75 x i8] c"/rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/num/mod.rs" }>, align 1
@alloc_69ef806f86001240576ea192dcb127cf = private unnamed_addr constant <{ ptr, [16 x i8] }> <{ ptr @alloc_95fc4af8d8c0c95140f3698120307efb, [16 x i8] c"K\00\00\00\00\00\00\00v\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 @_ZN6probe45probe17h2c15e94504eee0a4E() 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_euclid17hd1f83f8773978f8aE.exit"
panic.i: ; preds = %start
; call core::panicking::panic
call void @_ZN4core9panicking5panic17ha1bbf1c28dcb7206E(ptr align 1 @str.0, i64 25, ptr align 8 @alloc_69ef806f86001240576ea192dcb127cf) #3
unreachable
"_ZN4core3num21_$LT$impl$u20$u32$GT$10div_euclid17hd1f83f8773978f8aE.exit": ; preds = %start
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i1 @llvm.expect.i1(i1, i1) #1
; core::panicking::panic
; Function Attrs: cold noinline noreturn uwtable
declare void @_ZN4core9panicking5panic17ha1bbf1c28dcb7206E(ptr align 1, i64, ptr align 8) unnamed_addr #2
attributes #0 = { uwtable "frame-pointer"="all" "probe-stack"="inline-asm" "target-cpu"="penryn" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #2 = { cold noinline noreturn uwtable "frame-pointer"="all" "probe-stack"="inline-asm" "target-cpu"="penryn" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!0 = !{i32 8, !"PIC Level", i32 2}
!1 = !{!"rustc version 1.74.1 (a28077b28 2023-12-04)"}