llvm-project/llvm/test/Object/archive-thin-create.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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