From a0b6a0e23af141b332e382f9d1055218e8eb6681 Mon Sep 17 00:00:00 2001 From: Caiweiran Date: Tue, 22 Jul 2025 13:11:21 +0000 Subject: [PATCH] Fix tests/assembly/dwarf-mixed-versions-lto.rs test failure on riscv64 --- tests/assembly/dwarf-mixed-versions-lto.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/assembly/dwarf-mixed-versions-lto.rs b/tests/assembly/dwarf-mixed-versions-lto.rs index 9910a6e2f5fcc..e04a18133fa66 100644 --- a/tests/assembly/dwarf-mixed-versions-lto.rs +++ b/tests/assembly/dwarf-mixed-versions-lto.rs @@ -15,6 +15,6 @@ fn main() { } // CHECK: .section .debug_info -// CHECK-NOT: {{\.(short|hword|2byte)}} 2 -// CHECK-NOT: {{\.(short|hword|2byte)}} 4 -// CHECK: {{\.(short|hword|2byte)}} 5 +// CHECK-NOT: {{\.(short|hword|2byte|half)}} 2 +// CHECK-NOT: {{\.(short|hword|2byte|half)}} 4 +// CHECK: {{\.(short|hword|2byte|half)}} 5