Skip to content

Commit 0244d19

Browse files
committed
Fix translate_loc for ValueLoc::Stack
1 parent 4826320 commit 0244d19

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/debuginfo/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,6 @@ fn translate_loc(loc: ValueLoc, stack_slots: &StackSlots) -> Option<Vec<u8>> {
375375
.write_u8(gimli::constants::DW_OP_breg0.0 + X86_64::RBP.0 as u8)
376376
.expect("bp wr");
377377
writer.write_sleb128(ss_offset as i64 + 16).expect("ss wr");
378-
writer
379-
.write_u8(gimli::constants::DW_OP_deref.0 as u8)
380-
.expect("bp wr");
381378
let buf = writer.into_vec();
382379
return Some(buf);
383380
}

0 commit comments

Comments
 (0)