forked from OSchip/llvm-project
Make test case more readable: move CHECK-lines next to corresponding RUN-lines.
llvm-svn: 239068
This commit is contained in:
parent
010ce27c0c
commit
2b5fe3f5b2
|
@ -3,36 +3,34 @@ RUN: llvm-objdump -private-headers %p/Inputs/macho-invalid-zero-ncmds
|
|||
|
||||
RUN: not llvm-objdump -private-headers %p/Inputs/macho64-invalid-incomplete-load-command 2>&1 \
|
||||
RUN: | FileCheck -check-prefix INCOMPLETE-LOADC %s
|
||||
INCOMPLETE-LOADC: Malformed MachO file
|
||||
|
||||
RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-too-small-load-command 2>&1 \
|
||||
RUN: | FileCheck -check-prefix SMALL-LOADC-SIZE %s
|
||||
RUN: not llvm-objdump -private-headers %p/Inputs/macho64-invalid-too-small-load-command 2>&1 \
|
||||
RUN: | FileCheck -check-prefix SMALL-LOADC-SIZE %s
|
||||
SMALL-LOADC-SIZE: Load command with size < 8 bytes
|
||||
|
||||
RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-too-small-segment-load-command 2>&1 \
|
||||
RUN: | FileCheck -check-prefix SMALL-SEGLOADC-SIZE %s
|
||||
RUN: not llvm-objdump -private-headers %p/Inputs/macho64-invalid-too-small-segment-load-command 2>&1 \
|
||||
RUN: | FileCheck -check-prefix SMALL-SEGLOADC-SIZE %s
|
||||
SMALL-SEGLOADC-SIZE: Segment load command size is too small
|
||||
|
||||
RUN: not llvm-objdump -private-headers %p/Inputs/macho-invalid-no-size-for-sections 2>&1 \
|
||||
RUN: | FileCheck -check-prefix TOO-MANY-SECTS %s
|
||||
RUN: not llvm-objdump -private-headers %p/Inputs/macho64-invalid-no-size-for-sections 2>&1 \
|
||||
RUN: | FileCheck -check-prefix TOO-MANY-SECTS %s
|
||||
TOO-MANY-SECTS: Number of sections too large for size of load command
|
||||
|
||||
RUN: not llvm-objdump -t %p/Inputs/macho-invalid-bad-symbol-index 2>&1 \
|
||||
RUN: | FileCheck -check-prefix BAD-SYMBOL %s
|
||||
BAD-SYMBOL: Requested symbol index is out of range
|
||||
|
||||
RUN: not llvm-objdump -t %p/Inputs/macho-invalid-symbol-name-past-eof 2>&1 \
|
||||
RUN: | FileCheck -check-prefix NAME-PAST-EOF %s
|
||||
NAME-PAST-EOF: Symbol name entry points before beginning or past end of file
|
||||
|
||||
RUN: not llvm-nm %p/Inputs/macho-invalid-section-index-getSectionRawName 2>&1 \
|
||||
RUN: | FileCheck -check-prefix INVALID-SECTION-IDX-SYMBOL-SEC %s
|
||||
|
||||
SMALL-LOADC-SIZE: Load command with size < 8 bytes
|
||||
SMALL-SEGLOADC-SIZE: Segment load command size is too small
|
||||
INCOMPLETE-LOADC: Malformed MachO file
|
||||
TOO-MANY-SECTS: Number of sections too large for size of load command
|
||||
BAD-SYMBOL: Requested symbol index is out of range
|
||||
NAME-PAST-EOF: Symbol name entry points before beginning or past end of file
|
||||
|
||||
INVALID-SECTION-IDX-SYMBOL-SEC: getSymbolSection: Invalid section index
|
||||
|
|
Loading…
Reference in New Issue