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