Skip to content

Commit 5532cfc

Browse files
author
klensy
committed
filecheck typo fixes
1 parent 46080ab commit 5532cfc

12 files changed

+14
-14
lines changed

lld/test/COFF/duplicate.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN: not lld-link /out:beta.dll /dll alpha.obj beta.obj alpha.lib 2>&1 | FileChe
66

77
CHECK-ALPHA: error: duplicate symbol: f
88
CHECK-ALPHA: defined at {{.*}}alpha.obj
9-
CHECK-APLHA: defined at alpha.dll
9+
CHECK-ALPHA: defined at alpha.dll
1010

1111
RUN: llc -mtriple x86_64-windows-msvc -filetype obj -o gamma.obj %S/Inputs/gamma.ll
1212
RUN: not lld-link /out:gamma.exe /subsystem:console /entry:mainCRTStartup gamma.obj alpha.lib 2>&1 | FileCheck %s -check-prefix CHECK-GAMMA

lld/test/COFF/pdb-local-constants.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CHECK-NEXT: type = 0x1002 (const int), value = 321
1818

1919
CHECK: Symbols
2020
CHECK: 220 | S_CONSTANT [size = 12] `i`
21-
CHECK-NEXT type = 0x0074 (int), value = 123
21+
CHECK-NEXT: type = 0x0074 (int), value = 123

lld/test/COFF/pdb_char8_t.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: x86
22
; RUN: llc -mtriple x86_64-windows-msvc -filetype obj -o %t.obj %s
33
; RUN: lld-link /nodefaultlib /noentry /dll /debug /out:%t.exe /pdb:%t.pdb %t.obj
4-
; RUN: llvm-pdbutil dump -type-index=0x7c %t.pdb
4+
; RUN: llvm-pdbutil dump -type-index=0x7c %t.pdb | FileCheck %s
55

66
; CHECK: 0x007C (char8_t) | char8_t
77

lld/test/ELF/aarch64-cortex-a53-843419-thunk-align.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// RUN: *(.text.02) } \
88
// RUN: .foo : { *(.foo_sec) } } " > %t.script
99
// RUN: ld.lld -pie --fix-cortex-a53-843419 --script=%t.script %t.o -o %t2
10-
// RUN: llvm-objdump --no-show-raw-insn --triple=aarch64-linux-gnu -d %t2
10+
// RUN: llvm-objdump --no-show-raw-insn --triple=aarch64-linux-gnu -d %t2 | FileCheck %s
1111

1212

1313
/// %t2 is > 128 Megabytes, so delete it early.

lld/test/ELF/arm-thumb-branch-rangethunk.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: llvm-mc -arm-add-build-attributes -filetype=obj -triple=thumbv7a-none-linux-gnueabi %s -o %t
33
// RUN: llvm-mc -arm-add-build-attributes -filetype=obj -triple=thumbv7a-none-linux-gnueabi %S/Inputs/far-arm-thumb-abs.s -o %tfar
44
// RUN: ld.lld %t %tfar -o %t2
5-
// RUN: llvm-objdump -d %t2
5+
// RUN: llvm-objdump -d %t2 | FileCheck %s
66
.syntax unified
77
.thumb
88
.section .text, "ax",%progbits

lld/test/ELF/dso-undef-size.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# RUN: ld.lld -shared %t1.o -o %t1.so
44
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o
55
# RUN: ld.lld -shared %t2.o %t1.so -o %t2.so
6-
# RUN: llvm-readobj --symbols --dyn-syms %t2.so
6+
# RUN: llvm-readobj --symbols --dyn-syms %t2.so | FileCheck %s
77

88
# CHECK: Symbols [
99
# CHECK-NEXT: Symbol {

lld/test/ELF/lto/ctor-dtor-alias2.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
; RUN: opt -module-summary a.ll -o a.bc
88
; RUN: opt -module-summary b.ll -o b.bc
99
; RUN: ld.lld -shared a.bc b.bc -o out.so
10-
; RUN: llvm-nm -D out.so
10+
; RUN: llvm-nm -D out.so | FileCheck %s
1111

1212
;; Although D0/D2 in b.bc is non-prevailing, keep D1/D2 as definitions, otherwise
1313
;; the output may have an undefined and unsatisfied D1.

lld/test/ELF/lto/sparcv9.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; RUN: ld.lld %t.bc -o %t
66
; RUN: llvm-readobj -h %t | FileCheck %s
77

8-
; CHECK Class: 64-bit
8+
; CHECK: Class: 64-bit
99
; CHECK: DataEncoding: BigEndian
1010
; CHECK: Machine: EM_SPARCV9
1111

lld/test/MachO/compact-unwind-foldings.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
## Check that [1] offset starts at c's address + 3 (its length).
2424
# CHECK-LABEL: Contents of __unwind_info section:
2525
# CHECK: Top level indices: (count = 2)
26-
# CHECK-NEXT : [0]: function offset=[[#%#.7x,MAIN_ADDR]]
27-
# CHECK-NEXT : [1]: function offset=[[#%#.7x,C_ADDR + 3]]
26+
# CHECK-NEXT: [0]: function offset=[[#%#.7x,MAIN_ADDR]]
27+
# CHECK-NEXT: [1]: function offset=[[#%#.7x,C_ADDR + 3]]
2828

2929
#--- fold-tail.s
3030
.text

lld/test/MachO/eh-frame.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
# CHECK: [2]: function offset=0x[[#%.8x,H - BASE]], LSDA offset=0x[[#%.8x,EXCEPT2 - BASE]]
6767
# CHECK: Second level indices:
6868
# CHECK: Second level index[0]:
69-
# CHECK [0]: function offset=0x[[#%.8x,F - BASE]], encoding[{{.*}}]=0x52{{.*}}
70-
# CHECK [1]: function offset=0x[[#%.8x,NO_UNWIND - BASE]], encoding[{{.*}}]=0x00000000
69+
# CHECK: [0]: function offset=0x[[#%.8x,F - BASE]], encoding[{{.*}}]=0x52{{.*}}
70+
# CHECK: [1]: function offset=0x[[#%.8x,NO_UNWIND - BASE]], encoding[{{.*}}]=0x00000000
7171
# CHECK: [2]: function offset=0x[[#%.8x,G - BASE]], encoding[{{.*}}]=0x0[[#%x,DWARF_ENC]][[#%.6x, G_DWARF_OFF:]]
7272
# CHECK: [3]: function offset=0x[[#%.8x,H - BASE]], encoding[{{.*}}]=0x0[[#%x,DWARF_ENC]][[#%.6x, H_DWARF_OFF:]]
7373
# CHECK: [4]: function offset=0x[[#%.8x,MY_PERSONALITY - BASE]], encoding[{{.*}}]=0x00000000

lld/test/MachO/invalid/undef-debug.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# CHECK-NEXT: >>> referenced by test.c:3
77
# CHECK-NEXT: >>> {{.*}}.o:(symbol _main+0x0)
88
# CHECK-NEXT: >>> referenced by test.c:2
9-
# CHECK-NEXT >>> {{.*}}.o:(symbol _ptr+0x0)
9+
# CHECK-NEXT: >>> {{.*}}.o:(symbol _ptr+0x0)
1010

1111
## This is the output of `clang -g2 -O2 -fdebug-compilation-dir=. -fno-ident` called on the following file, with the
1212
## Apple DWARF tables removed:

lld/test/wasm/tag-section.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ define void @_start() {
4444
; NOPIC: - Type: GLOBAL
4545

4646
; NOPIC-EXPORT-ALL: - Type: EXPORT
47-
; NOPIC-EXPORT-ALL-NEXT Exports:
47+
; NOPIC-EXPORT-ALL-NEXT: Exports:
4848
; NOPIC-EXPORT-ALL: - Name: __cpp_exception
4949
; NOPIC-EXPORT-ALL: Kind: TAG
5050
; NOPIC-EXPORT-ALL: Index: 0

0 commit comments

Comments
 (0)