forked from OSchip/llvm-project
[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
This commit is contained in:
parent
e2adffc39c
commit
ec2711b354
|
@ -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]:
|
||||
|
|
Loading…
Reference in New Issue