mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
c1f3443f19
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 llvm-svn: 375106
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
|
|
|