llvm-for-llvmta/test/Object/archive-thin-create.test

19 lines
483 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
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