mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Since GNU ar 2.31, the 't' operation prints member offsets beside file names if the 'O' modifier is specified. 'O' is ignored for thin archives. Reviewed By: gbreynoo, ruiu Differential Revision: https://reviews.llvm.org/D69087 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375106 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
483 B
Plaintext
19 lines
483 B
Plaintext
RUN: rm -rf %t
|
|
RUN: mkdir -p %t
|
|
RUN: cd %t
|
|
RUN: mkdir -p foo
|
|
RUN: touch foo/test1.o
|
|
RUN: touch foo/test2.o
|
|
RUN: llvm-ar qcT foo/libtest.a foo/test1.o
|
|
RUN: llvm-ar qcT foo/libtest.a foo/test1.o
|
|
RUN: llvm-ar qcT foo/libtest.a foo/test2.o
|
|
RUN: llvm-ar t foo/libtest.a | FileCheck --match-full-lines %s
|
|
|
|
O (displaying member offsets) is ignored for thin archives.
|
|
RUN: llvm-ar tO foo/libtest.a | FileCheck --match-full-lines %s
|
|
|
|
CHECK: foo/test1.o
|
|
CHECK: foo/test1.o
|
|
CHECK: foo/test2.o
|
|
|