Skip to content

Commit 1ee8238

Browse files
klensyklensy
and
klensy
authored
[BOLT][test] Fix Filecheck typos (#93979)
Fixes few FileCheck typos in tests and add missing(?) filecheck call in test. Co-authored-by: klensy <[email protected]>
1 parent 7f56323 commit 1ee8238

6 files changed

+8
-8
lines changed

bolt/test/AArch64/update-debug-reloc.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# update-debug-sections option.
33

44
RUN: %clang %cflags -g %p/../Inputs/asm_foo.s %p/../Inputs/asm_main.c -o %t.exe
5-
RUN: llvm-bolt %t.exe -o %t --update-debug-sections
5+
RUN: llvm-bolt %t.exe -o %t --update-debug-sections 2>&1 | FileCheck %s
66

77
CHECK: BOLT-INFO: Target architecture: aarch64
88
CHECK-NOT: Reloc num: 10

bolt/test/AArch64/veneer-gold.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dummy:
2929
.type foo, %function
3030
foo:
3131
# CHECK: <foo>:
32-
# CHECK-NEXT : {{.*}} bl {{.*}} <foo2>
32+
# CHECK-NEXT: {{.*}} bl {{.*}} <foo2>
3333
bl .L2
3434
ret
3535
.size foo, .-foo
@@ -38,7 +38,7 @@ foo:
3838
.type foo2, %function
3939
foo2:
4040
# CHECK: <foo2>:
41-
# CHECK-NEXT : {{.*}} bl {{.*}} <foo2>
41+
# CHECK-NEXT: {{.*}} bl {{.*}} <foo2>
4242
bl .L2
4343
ret
4444
.size foo2, .-foo2

bolt/test/X86/dwarf5-df-types-modify-dwo-name-mixed.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
; BOLT-DWP: DW_TAG_compile_unit
9191
; BOLT-DWP: DW_AT_dwo_name ("main.dwo.dwo")
9292
; BOLT-DWP: DW_TAG_type_unit
93-
; BOLT-DW-NOT: DW_AT_dwo_name
93+
; BOLT-DWP-NOT: DW_AT_dwo_name
9494
; BOLT-DWP: Contribution size = 68, Format = DWARF32, Version = 5
9595
; BOLT-DWP-NEXT: "main"
9696
; BOLT-DWP-NEXT: "int"

bolt/test/X86/dwarf5-one-loclists-two-bases.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# POSTCHECK: version = 0x0005
3535
# POSTCHECK: DW_AT_loclists_base [DW_FORM_sec_offset] (0x0000000c)
3636
# POSTCHECK: DW_AT_rnglists_base [DW_FORM_sec_offset] (0x0000000c)
37-
# POSTCHECK-EMPTY
37+
# POSTCHECK-EMPTY:
3838
# POSTCHECK: DW_TAG_variable
3939
# POSTCHECK: DW_AT_location [DW_FORM_loclistx]
4040
# POSTCHECK-SAME: indexed (0x0)

bolt/test/X86/dwarf5-two-loclists.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# POSTCHECK: version = 0x0005
4646
# POSTCHECK: DW_AT_loclists_base [DW_FORM_sec_offset] (0x0000000c)
4747
# POSTCHECK: DW_AT_rnglists_base [DW_FORM_sec_offset] (0x0000000c)
48-
# POSTCHECK-EMPTY
48+
# POSTCHECK-EMPTY:
4949
# POSTCHECK: DW_TAG_variable
5050
# POSTCHECK: DW_AT_location [DW_FORM_loclistx]
5151
# POSTCHECK-SAME: indexed (0x0)

bolt/test/X86/dwarf5-two-rnglists.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# POSTCHECK-NEXT: DW_AT_addr_base [DW_FORM_sec_offset] (0x00000008)
5353
# POSTCHECK-NEXT: DW_AT_loclists_base [DW_FORM_sec_offset] (0x0000000c)
5454
# POSTCHECK-NEXT: DW_AT_rnglists_base [DW_FORM_sec_offset] (0x0000000c)
55-
# POSTCHECK-EMPTY
55+
# POSTCHECK-EMPTY:
5656
# POSTCHECK: DW_TAG_subprogram
5757
# POSTCHECK-NEXT: DW_AT_ranges [DW_FORM_rnglistx]
5858
# POSTCHECK-SAME: indexed (0x1)
@@ -75,7 +75,7 @@
7575
# POSTCHECK-NEXT: DW_AT_addr_base [DW_FORM_sec_offset] (0x00000030)
7676
# POSTCHECK-NEXT: DW_AT_loclists_base [DW_FORM_sec_offset] (0x00000045)
7777
# POSTCHECK-NEXT: DW_AT_rnglists_base [DW_FORM_sec_offset] (0x00000035)
78-
# POSTCHECK-EMPTY
78+
# POSTCHECK-EMPTY:
7979

8080
# POSTCHECK: DW_TAG_subprogram
8181
# POSTCHECK-NEXT: DW_AT_ranges [DW_FORM_rnglistx]

0 commit comments

Comments
 (0)