Skip to content

Commit 74ca55d

Browse files
committed
Rustup
1 parent 7a4fe12 commit 74ca55d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/debuginfo/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ impl<'a, 'tcx> FunctionDebugContext<'a, 'tcx> {
202202
func_id: FuncId,
203203
name: &str,
204204
) -> Self {
205-
let mir = debug_context.tcx.instance_mir(instance.def);
205+
let mir = *debug_context.tcx.instance_mir(instance.def);
206206

207207
let (symbol, _) = debug_context.symbols.insert_full(func_id, name.to_string());
208208

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ echo "[AOT] mini_core_hello_world"
3737
$RUSTC example/mini_core_hello_world.rs --crate-name mini_core_hello_world --crate-type bin -g
3838
./target/out/mini_core_hello_world abc bcd
3939
if lldb -v; then
40-
(echo "break set -n main"; echo "run"; sleep 1; echo "si -c 35"; sleep 1; echo "frame variable") | lldb -- ./target/out/mini_core_hello_world abc bcd
40+
(echo "break set -n main"; echo "run"; sleep 1; echo "si -c 10"; sleep 1; echo "frame variable") | lldb -- ./target/out/mini_core_hello_world abc bcd
4141
fi
4242

4343
exit 1

0 commit comments

Comments
 (0)