Skip to content

Commit bd623be

Browse files
klensydavidtwco
authored andcommitted
fixed tests under llvm-15 and object bump
two typos and one change in message text: horin/tests/tu-units-v5.s:9:3: error: misspelled directive 'CHECK_DAG:' \# CHECK_DAG: .debug_tu_index contents: thorin/tests/type-dedup-v5.test:8:3: error: misspelled directive 'CHECK_DAG:' \# CHECK_DAG: .debug_tu_index contents: thorin/tests/compress-fail.test:6:8: error: CHECK: expected string not found in input CHECK: Invalid ELF GNU compressed section header ^ <stdin>:4:2: note: possible intended match here Invalid GNU compressed section header
1 parent 1f5f8e6 commit bd623be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/compress-fail.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RUN: not thorin %p/inputs/empty-compressed-section.dwo -o %t 2>&1 | FileCheck %s
33
RUN: not thorin %p/inputs/invalid-compressed.dwo -o %t 2>&1 | FileCheck --check-prefix=INVALID %s
44

55
CHECK: Error: Failed to add `{{.*}}` to DWARF package
6-
CHECK: Invalid ELF GNU compressed section header
6+
CHECK: Invalid GNU compressed section header
77

88
# `llvm-dwp` fails to decompress this, but `thorin` is able to but the contents aren't meaningful.
99
INVALID: Error: Failed to add `{{.*}}/invalid-compressed.dwo` to DWARF package

tests/tu-units-v5.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# CHECK-DAG: .debug_info.dwo contents:
77
# CHECK: 0x00000000: Type Unit: length = 0x00000017, format = DWARF32, version = 0x0005, unit_type = DW_UT_split_type, abbr_offset = 0x0000, addr_size = 0x08, name = '', type_signature = [[TUID1:.*]], type_offset = 0x0019 (next unit at 0x0000001b)
88
# CHECK: 0x0000001b: Type Unit: length = 0x00000017, format = DWARF32, version = 0x0005, unit_type = DW_UT_split_type, abbr_offset = 0x0000, addr_size = 0x08, name = '', type_signature = [[TUID2:.*]], type_offset = 0x0019 (next unit at 0x00000036)
9-
# CHECK_DAG: .debug_tu_index contents:
9+
# CHECK-DAG: .debug_tu_index contents:
1010
# CHECK: version = 5, units = 2, slots = 4
1111
# CHECK: Index Signature INFO ABBREV
1212
# CHECK: 1 [[TUID1]] [0x00000000, 0x0000001b) [0x00000000, 0x00000010)

tests/type-dedup-v5.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
# RUN: thorin %t-a.dwo %t-b.dwo -o %t.dwp
66
# RUN: llvm-dwarfdump -debug-tu-index %t.dwp | FileCheck %s
77

8-
# CHECK_DAG: .debug_tu_index contents:
8+
# CHECK-DAG: .debug_tu_index contents:
99
# CHECK: version = 5, units = 1, slots = 2

0 commit comments

Comments
 (0)