daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Feb 25th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; ModuleID = 'bad-position-simple.bad_position_simple3-317d481089b8c8fe83113de504472633.rs.rcgu.bc'
  2. source_filename = "bad_position_simple3-317d481089b8c8fe83113de504472633.rs"
  3. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
  4. target triple = "x86_64-unknown-linux-gnu"
  5.  
  6. %"core::fmt::Arguments" = type { [0 x i64], { [0 x { [0 x i8]*, i64 }]*, i64 }, [0 x i64], %"core::option::Option<&[core::fmt::rt::v1::Argument]>", [0 x i64], { [0 x { i8*, i8* }]*, i64 }, [0 x i64] }
  7. %"core::option::Option<&[core::fmt::rt::v1::Argument]>" = type { [0 x i64], {}*, [1 x i64] }
  8. %"core::fmt::rt::v1::Argument" = type { [0 x i64], %"core::fmt::rt::v1::Position", [0 x i64], %"core::fmt::rt::v1::FormatSpec", [0 x i64] }
  9. %"core::fmt::rt::v1::Position" = type { [0 x i64], i64, [1 x i64] }
  10. %"core::fmt::rt::v1::FormatSpec" = type { [0 x i64], %"core::fmt::rt::v1::Count", [0 x i64], %"core::fmt::rt::v1::Count", [0 x i32], i32, [0 x i32], i32, [0 x i8], i8, [7 x i8] }
  11. %"core::fmt::rt::v1::Count" = type { [0 x i64], i64, [1 x i64] }
  12. %"unwind::libunwind::_Unwind_Exception" = type { [0 x i64], i64, [0 x i64], void (i32, %"unwind::libunwind::_Unwind_Exception"*)*, [0 x i64], [6 x i64], [0 x i64] }
  13. %"unwind::libunwind::_Unwind_Context" = type { [0 x i8] }
  14. %"core::fmt::Formatter" = type { [0 x i64], %"core::option::Option<usize>", [0 x i64], %"core::option::Option<usize>", [0 x i64], { {}*, {}* }, [0 x i64], { i64*, i64* }, [0 x i64], { [0 x { i8*, i8* }]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i8], i8, [7 x i8] }
  15. %"core::option::Option<usize>" = type { [0 x i64], i64, [1 x i64] }
  16.  
  17. @str.5 = internal constant [46 x i8] c"/home/alex/code/rust4/src/libcore/slice/mod.rs"
  18. @str.7 = internal constant [28 x i8] c"attempt to add with overflow"
  19. @panic_loc.8 = private unnamed_addr constant { { [0 x i8]*, i64 }, { [0 x i8]*, i64 }, i32, i32 } { { [0 x i8]*, i64 } { [0 x i8]* bitcast ([28 x i8]* @str.7 to [0 x i8]*), i64 28 }, { [0 x i8]*, i64 } { [0 x i8]* bitcast ([46 x i8]* @str.5 to [0 x i8]*), i64 46 }, i32 1252, i32 31 }, align 8
  20. @ref.b = private unnamed_addr constant [1 x i32] [i32 1], align 4
  21. @ref.c = private unnamed_addr constant [0 x i32] zeroinitializer, align 4
  22. @str.d = internal constant [22 x i8] c"bad-position-simple.rs"
  23. @str.f = internal constant [0 x i8] zeroinitializer
  24. @ref.g = private unnamed_addr constant [1 x { [0 x i8]*, i64 }] [{ [0 x i8]*, i64 } { [0 x i8]* @str.f, i64 0 }], align 8
  25. @ref.h = private unnamed_addr constant { { [0 x i8], { i64, [0 x i8], i64, [0 x i8] }, [0 x i8], { [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], i32, [0 x i8], i32, [0 x i8], i8, [7 x i8] }, [0 x i8] } } { { [0 x i8], { i64, [0 x i8], i64, [0 x i8] }, [0 x i8], { [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], i32, [0 x i8], i32, [0 x i8], i8, [7 x i8] }, [0 x i8] } { [0 x i8] undef, { i64, [0 x i8], i64, [0 x i8] } { i64 1, [0 x i8] undef, i64 0, [0 x i8] undef }, [0 x i8] undef, { [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], i32, [0 x i8], i32, [0 x i8], i8, [7 x i8] } { [0 x i8] undef, <{ i64, [8 x i8] }> <{ i64 3, [8 x i8] undef }>, [0 x i8] undef, <{ i64, [8 x i8] }> <{ i64 3, [8 x i8] undef }>, [0 x i8] undef, i32 32, [0 x i8] undef, i32 0, [0 x i8] undef, i8 3, [7 x i8] undef }, [0 x i8] undef } }, align 8
  26. @ref.j = private unnamed_addr constant { [0 x i8], { [0 x i8]*, i64 }, [0 x i8], i32, [0 x i8], i32, [0 x i8] } { [0 x i8] undef, { [0 x i8]*, i64 } { [0 x i8]* bitcast ([22 x i8]* @str.d to [0 x i8]*), i64 22 }, [0 x i8] undef, i32 14, [0 x i8] undef, i32 13, [0 x i8] undef }, align 8
  27. @vtable.0.llvm.2036171870872840413 = external hidden unnamed_addr constant { void (i8**)*, i64, i64, i32 (i8**)*, i32 (i8**)*, i32 (i8*)* }, align 8
  28.  
  29. ; Function Attrs: uwtable
  30. define internal void @_ZN19bad_position_simple4main17hd6968b5c65b64145E() unnamed_addr #0 {
  31.   tail call fastcc void @_ZN19bad_position_simple21import_path_to_string17h210232a05b4d0302E([0 x i32]* noalias nonnull readonly bitcast ([1 x i32]* @ref.b to [0 x i32]*), i64 1)
  32.   tail call fastcc void @_ZN19bad_position_simple21import_path_to_string17h210232a05b4d0302E([0 x i32]* noalias nonnull readonly @ref.c, i64 0)
  33.   ret void
  34. }
  35.  
  36. ; Function Attrs: uwtable
  37. define internal fastcc void @_ZN19bad_position_simple21import_path_to_string17h210232a05b4d0302E([0 x i32]* noalias nonnull readonly, i64) unnamed_addr #0 personality i32 (i32, i32, i64, %"unwind::libunwind::_Unwind_Exception"*, %"unwind::libunwind::_Unwind_Context"*)* @rust_eh_personality {
  38.   %3 = alloca i64, align 8
  39.   %4 = alloca [1 x { i8*, i8* }], align 8
  40.   %5 = alloca %"core::fmt::Arguments", align 8
  41.   %6 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 0, i64 0
  42.   %7 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 0, i64 %1
  43.   %8 = ptrtoint i32* %7 to i64
  44.   %9 = shl nuw i64 %1, 2
  45.   %10 = sdiv i64 %9, 4
  46.   %11 = icmp ugt i64 %10, 3
  47.   br i1 %11, label %12, label %19
  48.  
  49. ; <label>:12:                                     ; preds = %2
  50.   br label %24
  51.  
  52. ; <label>:13:                                     ; preds = %57
  53.   %14 = extractvalue { i64, i1 } %58, 0
  54.   %15 = ptrtoint i32* %54 to i64
  55.   %16 = sub i64 %8, %15
  56.   %17 = sdiv i64 %16, 4
  57.   %18 = icmp ugt i64 %17, 3
  58.   br i1 %18, label %24, label %19
  59.  
  60. ; <label>:19:                                     ; preds = %13, %2
  61.   %20 = phi i32* [ %6, %2 ], [ %54, %13 ]
  62.   %21 = phi i64 [ 0, %2 ], [ %14, %13 ]
  63.   %22 = icmp eq i32* %20, %7
  64.   br i1 %22, label %78, label %23
  65.  
  66. ; <label>:23:                                     ; preds = %19
  67.   br label %61
  68.  
  69. ; <label>:24:                                     ; preds = %13, %12
  70.   %25 = phi i64 [ %14, %13 ], [ 0, %12 ]
  71.   %26 = phi i32* [ %54, %13 ], [ %6, %12 ]
  72.   %27 = getelementptr inbounds i32, i32* %26, i64 1
  73.   %28 = load i32, i32* %26, align 4, !alias.scope !1, !noalias !6
  74.   %29 = icmp eq i32 %28, 1
  75.   br i1 %29, label %30, label %74
  76.  
  77. ; <label>:30:                                     ; preds = %24
  78.   %31 = tail call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %25, i64 1)
  79.   %32 = extractvalue { i64, i1 } %31, 1
  80.   br i1 %32, label %33, label %34, !prof !12
  81.  
  82. ; <label>:33:                                     ; preds = %30
  83.   tail call void @_ZN4core9panicking5panic17hfefa0158f97fa77bE({ [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(40) bitcast ({ { [0 x i8]*, i64 }, { [0 x i8]*, i64 }, i32, i32 }* @panic_loc.8 to { [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }*))
  84.   unreachable
  85.  
  86. ; <label>:34:                                     ; preds = %30
  87.   %35 = extractvalue { i64, i1 } %31, 0
  88.   %36 = getelementptr inbounds i32, i32* %26, i64 2
  89.   %37 = load i32, i32* %27, align 4, !alias.scope !13, !noalias !18
  90.   %38 = icmp eq i32 %37, 1
  91.   br i1 %38, label %39, label %74
  92.  
  93. ; <label>:39:                                     ; preds = %34
  94.   %40 = tail call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %35, i64 1)
  95.   %41 = extractvalue { i64, i1 } %40, 1
  96.   br i1 %41, label %42, label %43, !prof !12
  97.  
  98. ; <label>:42:                                     ; preds = %39
  99.   tail call void @_ZN4core9panicking5panic17hfefa0158f97fa77bE({ [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(40) bitcast ({ { [0 x i8]*, i64 }, { [0 x i8]*, i64 }, i32, i32 }* @panic_loc.8 to { [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }*))
  100.   unreachable
  101.  
  102. ; <label>:43:                                     ; preds = %39
  103.   %44 = extractvalue { i64, i1 } %40, 0
  104.   %45 = getelementptr inbounds i32, i32* %26, i64 3
  105.   %46 = load i32, i32* %36, align 4, !alias.scope !20, !noalias !25
  106.   %47 = icmp eq i32 %46, 1
  107.   br i1 %47, label %48, label %74
  108.  
  109. ; <label>:48:                                     ; preds = %43
  110.   %49 = tail call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %44, i64 1)
  111.   %50 = extractvalue { i64, i1 } %49, 1
  112.   br i1 %50, label %51, label %52, !prof !12
  113.  
  114. ; <label>:51:                                     ; preds = %48
  115.   tail call void @_ZN4core9panicking5panic17hfefa0158f97fa77bE({ [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(40) bitcast ({ { [0 x i8]*, i64 }, { [0 x i8]*, i64 }, i32, i32 }* @panic_loc.8 to { [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }*))
  116.   unreachable
  117.  
  118. ; <label>:52:                                     ; preds = %48
  119.   %53 = extractvalue { i64, i1 } %49, 0
  120.   %54 = getelementptr inbounds i32, i32* %26, i64 4
  121.   %55 = load i32, i32* %45, align 4, !alias.scope !27, !noalias !32
  122.   %56 = icmp eq i32 %55, 1
  123.   br i1 %56, label %57, label %74
  124.  
  125. ; <label>:57:                                     ; preds = %52
  126.   %58 = tail call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %53, i64 1)
  127.   %59 = extractvalue { i64, i1 } %58, 1
  128.   br i1 %59, label %60, label %13, !prof !12
  129.  
  130. ; <label>:60:                                     ; preds = %57
  131.   tail call void @_ZN4core9panicking5panic17hfefa0158f97fa77bE({ [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(40) bitcast ({ { [0 x i8]*, i64 }, { [0 x i8]*, i64 }, i32, i32 }* @panic_loc.8 to { [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }*))
  132.   unreachable
  133.  
  134. ; <label>:61:                                     ; preds = %71, %23
  135.   %62 = phi i64 [ %72, %71 ], [ %21, %23 ]
  136.   %63 = phi i32* [ %64, %71 ], [ %20, %23 ]
  137.   %64 = getelementptr inbounds i32, i32* %63, i64 1
  138.   %65 = load i32, i32* %63, align 4, !alias.scope !34, !noalias !39
  139.   %66 = icmp eq i32 %65, 1
  140.   br i1 %66, label %67, label %74
  141.  
  142. ; <label>:67:                                     ; preds = %61
  143.   %68 = tail call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %62, i64 1)
  144.   %69 = extractvalue { i64, i1 } %68, 1
  145.   br i1 %69, label %70, label %71, !prof !12
  146.  
  147. ; <label>:70:                                     ; preds = %67
  148.   tail call void @_ZN4core9panicking5panic17hfefa0158f97fa77bE({ [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(40) bitcast ({ { [0 x i8]*, i64 }, { [0 x i8]*, i64 }, i32, i32 }* @panic_loc.8 to { [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }*))
  149.   unreachable
  150.  
  151. ; <label>:71:                                     ; preds = %67
  152.   %72 = extractvalue { i64, i1 } %68, 0
  153.   %73 = icmp eq i32* %64, %7
  154.   br i1 %73, label %78, label %61
  155.  
  156. ; <label>:74:                                     ; preds = %61, %52, %43, %34, %24
  157.   %75 = phi i64 [ %62, %61 ], [ %25, %24 ], [ %35, %34 ], [ %44, %43 ], [ %53, %52 ]
  158.   %76 = icmp ult i64 %75, %1
  159.   tail call void @llvm.assume(i1 %76) #2, !noalias !41
  160.   %77 = add i64 %75, 1
  161.   br label %90
  162.  
  163. ; <label>:78:                                     ; preds = %71, %19
  164.   %79 = icmp eq i64 %1, 0
  165.   br i1 %79, label %80, label %90
  166.  
  167. ; <label>:80:                                     ; preds = %90, %78
  168.   %81 = phi i1 [ false, %90 ], [ true, %78 ]
  169.   %82 = phi i64 [ %91, %90 ], [ 0, %78 ]
  170.   %83 = phi i64 [ %92, %90 ], [ undef, %78 ]
  171.   br label %84
  172.  
  173. ; <label>:84:                                     ; preds = %90, %80
  174.   %85 = phi i1 [ %81, %80 ], [ false, %90 ]
  175.   %86 = phi i64 [ %82, %80 ], [ %91, %90 ]
  176.   %87 = phi i64 [ %83, %80 ], [ %92, %90 ]
  177.   %88 = phi i1 [ false, %80 ], [ true, %90 ]
  178.   %89 = icmp eq i64 %86, 1
  179.   br i1 %89, label %96, label %95
  180.  
  181. ; <label>:90:                                     ; preds = %78, %74
  182.   %91 = phi i64 [ 1, %74 ], [ 0, %78 ]
  183.   %92 = phi i64 [ %77, %74 ], [ undef, %78 ]
  184.   %93 = load i32, i32* %6, align 4
  185.   %94 = icmp eq i32 %93, 1
  186.   br i1 %94, label %84, label %80
  187.  
  188. ; <label>:95:                                     ; preds = %84
  189.   br i1 %88, label %103, label %107
  190.  
  191. ; <label>:96:                                     ; preds = %84
  192.   %97 = icmp ugt i64 %87, %1
  193.   br i1 %88, label %99, label %101
  194.  
  195. ; <label>:98:                                     ; preds = %107, %101, %99
  196.   ret void
  197.  
  198. ; <label>:99:                                     ; preds = %96
  199.   br i1 %97, label %100, label %98
  200.  
  201. ; <label>:100:                                    ; preds = %99
  202.   tail call void @_ZN4core5slice20slice_index_len_fail17h41ae248f36c196f1E(i64 %87, i64 %1)
  203.   unreachable
  204.  
  205. ; <label>:101:                                    ; preds = %96
  206.   br i1 %97, label %102, label %98
  207.  
  208. ; <label>:102:                                    ; preds = %101
  209.   tail call void @_ZN4core5slice20slice_index_len_fail17h41ae248f36c196f1E(i64 %87, i64 %1)
  210.   unreachable
  211.  
  212. ; <label>:103:                                    ; preds = %95
  213.   br i1 %85, label %104, label %105
  214.  
  215. ; <label>:104:                                    ; preds = %103
  216.   tail call void @_ZN4core5slice22slice_index_order_fail17hd0a9eb5d87471258E(i64 1, i64 0)
  217.   unreachable
  218.  
  219. ; <label>:105:                                    ; preds = %103
  220.   %106 = add i64 %1, -1
  221.   br label %107
  222.  
  223. ; <label>:107:                                    ; preds = %105, %95
  224.   %108 = phi i64 [ %106, %105 ], [ %1, %95 ]
  225.   %109 = icmp eq i64 %108, 0
  226.   br i1 %109, label %98, label %110
  227.  
  228. ; <label>:110:                                    ; preds = %107
  229.   store i64 %108, i64* %3, align 8
  230.   %111 = bitcast [1 x { i8*, i8* }]* %4 to i64**
  231.   store i64* %3, i64** %111, align 8
  232.   %112 = getelementptr inbounds [1 x { i8*, i8* }], [1 x { i8*, i8* }]* %4, i64 0, i64 0, i32 1
  233.   store i8* bitcast (i1 (i64*, %"core::fmt::Formatter"*)* @"_ZN4core3fmt3num54_$LT$impl$u20$core..fmt..Display$u20$for$u20$usize$GT$3fmt17h4b475879c6110157E" to i8*), i8** %112, align 8
  234.   %113 = bitcast %"core::fmt::Arguments"* %5 to [0 x { [0 x i8]*, i64 }]**
  235.   store [0 x { [0 x i8]*, i64 }]* bitcast ([1 x { [0 x i8]*, i64 }]* @ref.g to [0 x { [0 x i8]*, i64 }]*), [0 x { [0 x i8]*, i64 }]** %113, align 8, !alias.scope !48, !noalias !51
  236.   %114 = getelementptr inbounds %"core::fmt::Arguments", %"core::fmt::Arguments"* %5, i64 0, i32 1, i32 1
  237.   store i64 1, i64* %114, align 8, !alias.scope !48, !noalias !51
  238.   %115 = getelementptr inbounds %"core::fmt::Arguments", %"core::fmt::Arguments"* %5, i64 0, i32 3
  239.   %116 = bitcast %"core::option::Option<&[core::fmt::rt::v1::Argument]>"* %115 to [0 x %"core::fmt::rt::v1::Argument"]**
  240.   store [0 x %"core::fmt::rt::v1::Argument"]* bitcast ({ { [0 x i8], { i64, [0 x i8], i64, [0 x i8] }, [0 x i8], { [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], <{ i64, [8 x i8] }>, [0 x i8], i32, [0 x i8], i32, [0 x i8], i8, [7 x i8] }, [0 x i8] } }* @ref.h to [0 x %"core::fmt::rt::v1::Argument"]*), [0 x %"core::fmt::rt::v1::Argument"]** %116, align 8, !alias.scope !48, !noalias !51
  241.   %117 = getelementptr inbounds %"core::fmt::Arguments", %"core::fmt::Arguments"* %5, i64 0, i32 3, i32 2, i64 0
  242.   store i64 1, i64* %117, align 8, !alias.scope !48, !noalias !51
  243.   %118 = getelementptr inbounds %"core::fmt::Arguments", %"core::fmt::Arguments"* %5, i64 0, i32 5, i32 0
  244.   %119 = bitcast [0 x { i8*, i8* }]** %118 to [1 x { i8*, i8* }]**
  245.   store [1 x { i8*, i8* }]* %4, [1 x { i8*, i8* }]** %119, align 8, !alias.scope !48, !noalias !51
  246.   %120 = getelementptr inbounds %"core::fmt::Arguments", %"core::fmt::Arguments"* %5, i64 0, i32 5, i32 1
  247.   store i64 1, i64* %120, align 8, !alias.scope !48, !noalias !51
  248.   call void @_ZN3std9panicking15begin_panic_fmt17h12231957b6c3aabeE(%"core::fmt::Arguments"* noalias nonnull readonly dereferenceable(48) %5, { [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(24) bitcast ({ [0 x i8], { [0 x i8]*, i64 }, [0 x i8], i32, [0 x i8], i32, [0 x i8] }* @ref.j to { [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }*))
  249.   unreachable
  250. }
  251.  
  252. declare i32 @rust_eh_personality(i32, i32, i64, %"unwind::libunwind::_Unwind_Exception"*, %"unwind::libunwind::_Unwind_Context"*) unnamed_addr #1
  253.  
  254. ; Function Attrs: nounwind
  255. declare void @llvm.assume(i1) #2
  256.  
  257. ; Function Attrs: cold noinline noreturn
  258. declare void @_ZN4core9panicking5panic17hfefa0158f97fa77bE({ [0 x i64], { [0 x i8]*, i64 }, [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(40)) unnamed_addr #3
  259.  
  260. ; Function Attrs: nounwind readnone speculatable
  261. declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #4
  262.  
  263. ; Function Attrs: cold noinline noreturn
  264. declare void @_ZN4core5slice22slice_index_order_fail17hd0a9eb5d87471258E(i64, i64) unnamed_addr #3
  265.  
  266. ; Function Attrs: cold noinline noreturn
  267. declare void @_ZN4core5slice20slice_index_len_fail17h41ae248f36c196f1E(i64, i64) unnamed_addr #3
  268.  
  269. declare zeroext i1 @"_ZN4core3fmt3num54_$LT$impl$u20$core..fmt..Display$u20$for$u20$usize$GT$3fmt17h4b475879c6110157E"(i64* noalias readonly dereferenceable(8), %"core::fmt::Formatter"* dereferenceable(96)) unnamed_addr #1
  270.  
  271. ; Function Attrs: cold noinline noreturn
  272. declare void @_ZN3std9panicking15begin_panic_fmt17h12231957b6c3aabeE(%"core::fmt::Arguments"* noalias readonly dereferenceable(48), { [0 x i64], { [0 x i8]*, i64 }, [0 x i32], i32, [0 x i32], i32, [0 x i32] }* noalias readonly dereferenceable(24)) unnamed_addr #3
  273.  
  274. define i32 @main(i32, i8**) unnamed_addr #1 {
  275.   %3 = alloca i8*, align 8
  276.   %4 = sext i32 %0 to i64
  277.   %5 = bitcast i8** %3 to i8*
  278.   call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %5)
  279.   %6 = bitcast i8** %3 to void ()**
  280.   store void ()* @_ZN19bad_position_simple4main17hd6968b5c65b64145E, void ()** %6, align 8
  281.   %7 = bitcast i8** %3 to {}*
  282.   %8 = call i64 @_ZN3std2rt19lang_start_internal17h69c4318380fa99c8E({}* nonnull %7, {}* noalias nonnull readonly bitcast ({ void (i8**)*, i64, i64, i32 (i8**)*, i32 (i8**)*, i32 (i8*)* }* @vtable.0.llvm.2036171870872840413 to {}*), i64 %4, i8** %1)
  283.   call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %5)
  284.   %9 = trunc i64 %8 to i32
  285.   ret i32 %9
  286. }
  287.  
  288. ; Function Attrs: argmemonly nounwind
  289. declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #5
  290.  
  291. ; Function Attrs: argmemonly nounwind
  292. declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #5
  293.  
  294. declare i64 @_ZN3std2rt19lang_start_internal17h69c4318380fa99c8E({}* nonnull, {}* noalias nonnull readonly, i64, i8**) unnamed_addr #1
  295.  
  296. attributes #0 = { uwtable "probe-stack"="__rust_probestack" }
  297. attributes #1 = { "probe-stack"="__rust_probestack" }
  298. attributes #2 = { nounwind }
  299. attributes #3 = { cold noinline noreturn "probe-stack"="__rust_probestack" }
  300. attributes #4 = { nounwind readnone speculatable }
  301. attributes #5 = { argmemonly nounwind }
  302.  
  303. !llvm.module.flags = !{!0}
  304.  
  305. !0 = !{i32 7, !"PIE Level", i32 2}
  306. !1 = !{!2, !4}
  307. !2 = distinct !{!2, !3, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE: argument 0"}
  308. !3 = distinct !{!3, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE"}
  309. !4 = distinct !{!4, !5, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 1"}
  310. !5 = distinct !{!5, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE"}
  311. !6 = !{!7, !8, !10}
  312. !7 = distinct !{!7, !5, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 0"}
  313. !8 = distinct !{!8, !9, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8try_fold17h67c1a77f983d137aE: argument 0"}
  314. !9 = distinct !{!9, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8try_fold17h67c1a77f983d137aE"}
  315. !10 = distinct !{!10, !11, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position17hf1a29b42059163daE: argument 0"}
  316. !11 = distinct !{!11, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position17hf1a29b42059163daE"}
  317. !12 = !{!"branch_weights", i32 1, i32 2000}
  318. !13 = !{!14, !16}
  319. !14 = distinct !{!14, !15, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE: argument 0"}
  320. !15 = distinct !{!15, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE"}
  321. !16 = distinct !{!16, !17, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 1"}
  322. !17 = distinct !{!17, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE"}
  323. !18 = !{!19, !8, !10}
  324. !19 = distinct !{!19, !17, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 0"}
  325. !20 = !{!21, !23}
  326. !21 = distinct !{!21, !22, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE: argument 0"}
  327. !22 = distinct !{!22, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE"}
  328. !23 = distinct !{!23, !24, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 1"}
  329. !24 = distinct !{!24, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE"}
  330. !25 = !{!26, !8, !10}
  331. !26 = distinct !{!26, !24, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 0"}
  332. !27 = !{!28, !30}
  333. !28 = distinct !{!28, !29, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE: argument 0"}
  334. !29 = distinct !{!29, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE"}
  335. !30 = distinct !{!30, !31, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 1"}
  336. !31 = distinct !{!31, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE"}
  337. !32 = !{!33, !8, !10}
  338. !33 = distinct !{!33, !31, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 0"}
  339. !34 = !{!35, !37}
  340. !35 = distinct !{!35, !36, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE: argument 0"}
  341. !36 = distinct !{!36, !"_ZN19bad_position_simple21import_path_to_string28_$u7b$$u7b$closure$u7d$$u7d$17h6e8857c45441a25dE"}
  342. !37 = distinct !{!37, !38, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 1"}
  343. !38 = distinct !{!38, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE"}
  344. !39 = !{!40, !8, !10}
  345. !40 = distinct !{!40, !38, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hbb59cc67849b96ddE: argument 0"}
  346. !41 = !{!42, !44, !46, !47, !10}
  347. !42 = distinct !{!42, !43, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hab0db5dfbde4de17E: argument 0"}
  348. !43 = distinct !{!43, !"_ZN91_$LT$core..slice..Iter$LT$$u27$a$C$$u20$T$GT$$u20$as$u20$core..iter..iterator..Iterator$GT$8position28_$u7b$$u7b$closure$u7d$$u7d$17hab0db5dfbde4de17E"}
  349. !44 = distinct !{!44, !45, !"_ZN38_$LT$core..option..Option$LT$T$GT$$GT$3map17hac95c6f09e5eb2e1E: argument 0"}
  350. !45 = distinct !{!45, !"_ZN38_$LT$core..option..Option$LT$T$GT$$GT$3map17hac95c6f09e5eb2e1E"}
  351. !46 = distinct !{!46, !45, !"_ZN38_$LT$core..option..Option$LT$T$GT$$GT$3map17hac95c6f09e5eb2e1E: argument 1"}
  352. !47 = distinct !{!47, !45, !"_ZN38_$LT$core..option..Option$LT$T$GT$$GT$3map17hac95c6f09e5eb2e1E: argument 2"}
  353. !48 = !{!49}
  354. !49 = distinct !{!49, !50, !"_ZN4core3fmt9Arguments16new_v1_formatted17hea2ae333548f7201E: argument 0"}
  355. !50 = distinct !{!50, !"_ZN4core3fmt9Arguments16new_v1_formatted17hea2ae333548f7201E"}
  356. !51 = !{!52}
  357. !52 = distinct !{!52, !50, !"_ZN4core3fmt9Arguments16new_v1_formatted17hea2ae333548f7201E: argument 1"}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top