From: Alexander Yermolovich Date: Tue, 31 May 2022 23:56:57 +0000 (-0700) Subject: [BOLT][DWARF] Fix dwarf5-debug-line test X-Git-Tag: upstream/15.0.7~6261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec2711b35411d81229577a1e6250359fef9207ed;p=platform%2Fupstream%2Fllvm.git [BOLT][DWARF] Fix dwarf5-debug-line test After D126484, order in .debug-line-str and .debug-line is different. Changed test accordingly. Differential Revision: https://reviews.llvm.org/D126733 --- diff --git a/bolt/test/X86/dwarf5-debug-line.s b/bolt/test/X86/dwarf5-debug-line.s index 040a259..ec7d4c1 100644 --- a/bolt/test/X86/dwarf5-debug-line.s +++ b/bolt/test/X86/dwarf5-debug-line.s @@ -9,17 +9,21 @@ # This test checks that DWARF5 .debug_line is handled correctly. # PRECHECK: version: 5 -# PRECHECK: include_directories[ 0] = .debug_line_str[0x00000000] +# PRECHECK: include_directories[ 0] = .debug_line_str +# PRECHECK-SAME: ] = "." # PRECHECK-NEXT: file_names[ 0]: -# PRECHECK-NEXT: name: .debug_line_str[0x00000002] = "main.cpp" +# PRECHECK-NEXT: name: .debug_line_str +# PRECHECK-SAME: = "main.cpp" # PRECHECK-NEXT: dir_index: 0 # PRECHECK-NEXT: md5_checksum: bb12fec8d002b1f0e06f7dee4604c6cc # PRECHECK-NOT: file_names[ 1]: # POSTCHECK: version: 5 -# POSTCHECK: include_directories[ 0] = .debug_line_str[0x00000000] +# POSTCHECK: include_directories[ 0] = .debug_line_str +# POSTCHECK-SAME: ] = "." # POSTCHECK-NEXT: file_names[ 0]: -# POSTCHECK-NEXT: name: .debug_line_str[0x00000002] = "main.cpp" +# POSTCHECK-NEXT: name: .debug_line_str +# POSTCHECK-SAME: ] = "main.cpp" # POSTCHECK-NEXT: dir_index: 0 # POSTCHECK-NEXT: md5_checksum: bb12fec8d002b1f0e06f7dee4604c6cc # POSTCHECK-NOT: file_names[ 1]: