[ 0:01] + cat [ 0:01] + sim file.cpp [ 0:01] compiling file.cpp [ 0:01] [ 0:05] ^ —————. —.— . . —.— . . .————— . . [ 0:05] ——— | | | | | | |\ | | | | [ 0:05] —(o)— | | | | | | | \ | |———— '————| [ 0:05] ——————— | | | \ / | | \| | | [ 0:05] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:05] [ 0:05] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:05] # executing __boot at /dios/config/common.hpp:28 [ 0:05] > start [ 0:05] ▶ state #1 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #2 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #3 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #4 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #5 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #6 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #7 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #8 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #9 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #10 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #11 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #12 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #13 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #14 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #15 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #16 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #17 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #18 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #19 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #20 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #21 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #22 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #23 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #24 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #25 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #26 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #27 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #28 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #29 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #30 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #31 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #32 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #33 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #34 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #35 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #36 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #37 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #38 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #39 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #40 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #41 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #42 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #43 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #44 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #45 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #46 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #47 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #48 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #49 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #50 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #51 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #52 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #53 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #54 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #55 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #56 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #57 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #58 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #59 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #60 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #61 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #62 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #63 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #64 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #65 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #66 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #67 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #68 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #69 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #70 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #71 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #72 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #73 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #74 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #75 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #76 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #77 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #78 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #79 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #80 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #81 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #82 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #83 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #84 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #85 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #86 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #87 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #88 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #89 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #90 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #91 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #92 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #93 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #94 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #95 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #96 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #97 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #98 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #99 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #100 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #101 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #102 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #103 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #104 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #105 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #106 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #107 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #108 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #109 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #110 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #111 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #112 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #113 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #114 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #115 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #116 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #117 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #118 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #119 [new] -- active threads: [0:0] -- [ 0:05] ▶ state #120 [new] -- active threads: [0:0] -- [ 0:05] # executing main at file.cpp:3 [ 0:05] > bitcode [ 0:05] label %entry: [ 0:05] >> %01 = alloca [i32 1 d] # [global* 0 0 uun] [ 0:05] %02 = dbg.bitcast %01 to i8* # [global* 0 0 uun] [ 0:05] call @llvm.lifetime.start.p0i8 [i64 4 d] %02 [ 0:05] dbg.declare x [ 0:05] %05 = dbg.bitcast %01 to i8* # [global* 0 0 uun] [ 0:05] store [i32 0 d] %01 [ 0:05] vm.test.crit %05 [i32 4 d] [i32 2 d] __dios_reschedule [ 0:05] invoke @_Z3fooPVi %01 label %invoke.cont label %lpad [ 0:05] label %invoke.cont: [ 0:05] br label %try.cont [ 0:05] label %lpad: [ 0:05] %0c = landingpad [global* 0 0 ddn] # [ 0:05] %0d = extractvalue %0c # [global* 0 0 uun] [ 0:05] %0e = extractvalue %0c # [i32 0 u] [ 0:05] %0f = call @__cxa_begin_catch %0d # [global* 0 0 uun] [ 0:05] call @__cxa_end_catch [ 0:05] br label %try.cont [ 0:05] label %try.cont: [ 0:05] call @_Z3fooPVi %01 [ 0:05] %14 = dbg.bitcast %01 to i8* # [global* 0 0 uun] [ 0:05] call @llvm.lifetime.end.p0i8 [i64 4 d] %14 [ 0:05] ret [i32 0 d] [ 0:05] # executing main at file.cpp:3 [ 0:05] [ 0:06] = expected ========== [ 0:06] + ^# executing __boot at [ 0:06] > start [ 0:06] - ^# executing [ 0:06] + ^# executing main at [ 0:06] > bitcode [ 0:06] + >>.*alloca [ 0:06] + invoke .*foo.*label %.*label % [ 0:06] + label %.*: [ 0:06] + landingpad [ 0:06] + call @__cxa_begin_catch [ 0:06] + call @__cxa_end_catch [ 0:06] + ret [ 0:06] [ 0:06] = matched =========== [ 0:06] # executing __boot at /dios/config/common.hpp:28 | ^# executing __boot at [ 0:06] > start | ^> start [ 0:06] # executing main at file.cpp:3 | ^# executing main at [ 0:06] > bitcode | ^> bitcode [ 0:06] >> %01 = alloca [i32 1 d] # [global* 0 0 uun] | >>.*alloca [ 0:06] invoke @_Z3fooPVi %01 label %invoke.cont label %lpad | invoke .*foo.*label %.*label % [ 0:06] label %invoke.cont: | label %.*: [ 0:06] %0c = landingpad [global* 0 0 ddn] # | landingpad [ 0:06] %0f = call @__cxa_begin_catch %0d # [global* 0 0 uun] | call @__cxa_begin_catch [ 0:06] call @__cxa_end_catch | call @__cxa_end_catch [ 0:06] ret [i32 0 d] | ret [ 0:06] + check debris [ 0:06] + test -e warning