We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a5a001 commit a5b6dbaCopy full SHA for a5b6dba
tests/assembly/dwarf-mixed-versions-lto.rs
@@ -1,6 +1,7 @@
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
+// Note: `.half` directive is used on RISC-V.
5
6
//@ only-linux
7
//@ aux-build:dwarf-mixed-versions-lto-aux.rs
@@ -15,6 +16,6 @@ fn main() {
15
16
}
17
18
// CHECK: .section .debug_info
-// CHECK-NOT: {{\.(short|hword|2byte)}} 2
19
-// CHECK-NOT: {{\.(short|hword|2byte)}} 4
20
-// CHECK: {{\.(short|hword|2byte)}} 5
+// CHECK-NOT: {{\.(short|hword|2byte|half)}} 2
+// CHECK-NOT: {{\.(short|hword|2byte|half)}} 4
21
+// CHECK: {{\.(short|hword|2byte|half)}} 5
0 commit comments