We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f729e9 + 264f2c6 commit 296faa8Copy full SHA for 296faa8
tests/assembly/dwarf-mixed-versions-lto.rs
@@ -1,5 +1,6 @@
1
// This test ensures that if LTO occurs between crates with different DWARF versions, we
2
// will choose the highest DWARF version for the final binary. This matches Clang's behavior.
3
+// Note: `.2byte` directive is used on MIPS.
4
5
//@ only-linux
6
//@ aux-build:dwarf-mixed-versions-lto-aux.rs
@@ -14,6 +15,6 @@ fn main() {
14
15
}
16
17
// CHECK: .section .debug_info
-// CHECK-NOT: {{\.(short|hword)}} 2
18
-// CHECK-NOT: {{\.(short|hword)}} 4
19
-// CHECK: {{\.(short|hword)}} 5
+// CHECK-NOT: {{\.(short|hword|2byte)}} 2
+// CHECK-NOT: {{\.(short|hword|2byte)}} 4
20
+// CHECK: {{\.(short|hword|2byte)}} 5
0 commit comments