[LLVM/tools][test] - Remove/fix dead check prefixes.

We have a few unused/broken FileCheck prefixes in `llvm/test/tools`.
This patch fixes it.

Differential revision: https://reviews.llvm.org/D78110
This commit is contained in:
Georgii Rymar 2020-04-14 18:04:48 +03:00
parent b80a0e72dd
commit c549d7ded7
6 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
RUN: llvm-dwp %p/../Inputs/merge/notypes/c.dwo %p/../Inputs/merge/notypes/ab.dwp -o - | \
RUN: llvm-dwarfdump -v - | FileCheck --check-prefix=CHECK --check-prefix=NOTYP %s
RUN: llvm-dwarfdump -v - | FileCheck --check-prefix=CHECK %s
DWP from a DWO (c.dwo) and a DWP (ab.dwp, created from a.dwo and b.dwo)
Make sure the entries for A and B are updated correctly when read/processed from ab.dwp

View File

@ -17,8 +17,8 @@
# SECTIONS-NEXT: VirtualSize:
# SECTIONS-NEXT: VirtualAddress:
# SECTIONS-NEXT: RawDataSize:
# SECTIONS-NEXT-PRE: PointerToRawData: 0x800
# SECTIONS-NEXT-POST: PointerToRawData: 0x400
# SECTIONS-PRE-NEXT: PointerToRawData: 0x600
# SECTIONS-POST-NEXT: PointerToRawData: 0x400
--- !COFF
OptionalHeader:

View File

@ -1,7 +1,7 @@
# RUN: yaml2obj %s -o %t
# RUN: llvm-objcopy --set-section-flags=.foo=alloc --set-section-flags=.bar=code %t %t.2
# RUN: llvm-readobj --sections %t.2 | FileCheck %s --check-prefixes=CHECK,ALLOC,WRITE
# RUN: llvm-readobj --sections %t.2 | FileCheck %s
!ELF
FileHeader:

View File

@ -9,7 +9,7 @@
# RUN: llvm-objcopy --strip-all %t.exec %t.exec.stripped
# RUN: llvm-readobj --sections --relocations --symbols %t.exec.stripped \
# RUN: | FileCheck --check-prefixes=COMMON,EXEC %s
# RUN: | FileCheck --check-prefix=COMMON %s
# RUN: llvm-objcopy --strip-all %t.dwarf %t.dwarf.stripped
# RUN: llvm-readobj --sections --relocations --symbols %t.dwarf.stripped \

View File

@ -8,8 +8,8 @@
# RUN: yaml2obj --docnum=3 %s -o %t.dir/trivial.obj.coff-arm
# RUN: llvm-ar rc %t.a %t.dir/trivial.obj.elf-x86-64 %t.dir/trivial.obj.elf-i386 %t.dir/trivial.obj.coff-arm
# RUN: llvm-readobj --all %t.a | FileCheck %s -DARFILE="%t.a" --check-prefixes=HEADER,LLVM,COFF
# RUN: llvm-readelf --all %t.a | FileCheck %s -DARFILE="%t.a" --check-prefixes=HEADER,GNU,COFF
# RUN: llvm-readobj --all %t.a | FileCheck %s -DARFILE="%t.a" --check-prefixes=LLVM,COFF
# RUN: llvm-readelf --all %t.a | FileCheck %s -DARFILE="%t.a" --check-prefixes=GNU,COFF
# LLVM: {{^$}}
# LLVM-NEXT: File: [[ARFILE]](trivial.obj.elf-x86-64)

View File

@ -5,7 +5,7 @@ RUN: cp %p/Inputs/split-dwarf-test.dwo %t
RUN: cd %t
RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
RUN: --obj=%p/Inputs/split-dwarf-test 0x400504 0x4004f4 | FileCheck --check-prefix=CHECK --check-prefix=SPLIT --check-prefix=DWO %s
RUN: --obj=%p/Inputs/split-dwarf-test 0x400504 0x4004f4 | FileCheck --check-prefix=SPLIT --check-prefix=DWO %s
Ensure we get the same results in the absence of gmlt-like data in the executable but the presence of a .dwo file