1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Object/archive-thin-create.test

19 lines
483 B
Plaintext
Raw Normal View History

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