Files
llvm/test/tools/llvm-size/version.test
T
James Henderson 29e1b86c43 [llvm-size][test] Improve llvm-size testing
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368821 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-14 10:17:34 +00:00

5 lines
100 B
Plaintext

## Show that --version works for llvm-size.
RUN: llvm-size --version | FileCheck %s
CHECK: version