Skip to content

Commit

Permalink
DWARF mixed versions with LTO on MIPS
Browse files Browse the repository at this point in the history
On MIPS the DWARF version is stored in 2 bytes with the `.2byte`
assembler directive.
  • Loading branch information
LukasWoodtli committed Feb 24, 2025
1 parent e0be1a0 commit 269448a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/assembly/dwarf-mixed-versions-lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ fn main() {
}

// CHECK: .section .debug_info
// CHECK-NOT: {{\.(short|hword)}} 2
// CHECK-NOT: {{\.(short|hword)}} 4
// CHECK: {{\.(short|hword)}} 5
// CHECK-NOT: {{\.(short|hword|2byte)}} 2
// CHECK-NOT: {{\.(short|hword|2byte)}} 4
// CHECK: {{\.(short|hword|2byte)}} 5

0 comments on commit 269448a

Please sign in to comment.