Skip to content

Commit

Permalink
Fix unknown dwim-print command.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Mar 15, 2024
1 parent 3ee1219 commit e4b27a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/debuginfo/packed-struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
// lldbg-check:[...] { a = 987 b = { x = 876 y = 765 z = 654 w = 543 } c = { x = 432 y = 321 z = 210 w = 109 } d = -98 }
// lldbr-check:(packed_struct::UnpackedInPacked) unpackedInPacked = { a = 987 b = { x = 876 y = 765 z = 654 w = 543 } c = { x = 432 y = 321 z = 210 w = 109 } d = -98 }

// lldb-command:dwim-print sizeof(packed)
// lldb-command:expr sizeof(packed)
// lldbg-check:[...] 14
// lldbr-check:(usize) = 14
// lldbr-check:(usize) [...] 14

// lldb-command:dwim-print sizeof(packedInPacked)
// lldb-command:expr sizeof(packedInPacked)
// lldbg-check:[...] 40
// lldbr-check:(usize) = 40
// lldbr-check:(usize) [...] 40

#![allow(unused_variables)]
#![feature(omit_gdb_pretty_printer_section)]
Expand Down

0 comments on commit e4b27a2

Please sign in to comment.