mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
056055f8f6
This patch significantly improves the llvm-size testing. The changes made are: 1) Change all tests to use yaml2obj instead of assembly or pre-canned inputs. 2) Move the tests out of the X86 directory, since they don't need to be there after 1). 3) Increased test coverage. 4) Added comments to explain purpose of tests. I haven't attempted to add test coverage for all Mach-O related code, as I am not familiar enough with that file format to be able to. Reviewers: grimar, MaskRay Differential Revision: https://reviews.llvm.org/D66134 llvm-svn: 368821
16 lines
515 B
Plaintext
16 lines
515 B
Plaintext
## Show that help text is printed correctly when requested.
|
|
|
|
RUN: llvm-size -h | FileCheck %s --check-prefixes=CHECK,CATEG
|
|
RUN: llvm-size --help | FileCheck %s --check-prefixes=CHECK,CATEG
|
|
RUN: llvm-size --help-list \
|
|
RUN: | FileCheck %s --check-prefixes=CHECK,LIST
|
|
|
|
CHECK: OVERVIEW: llvm object size dumper
|
|
CHECK: USAGE: llvm-size{{(.exe)?}} [options] <input files>{{$}}
|
|
CHECK: OPTIONS:
|
|
CATEG: Generic Options:
|
|
LIST-NOT: Generic Options:
|
|
CATEG: llvm-size Options:
|
|
LIST-NOT: llvm-size Options:
|
|
CHECK: @FILE
|