2016-12-09 12:44:57 +01:00
|
|
|
RUN: rm -rf %t
|
2016-11-30 23:32:58 +01:00
|
|
|
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
|
2016-12-04 07:52:30 +01:00
|
|
|
RUN: llvm-ar t foo/libtest.a | FileCheck --match-full-lines %s
|
2016-11-30 23:32:58 +01:00
|
|
|
|
2019-10-17 13:34:29 +02:00
|
|
|
O (displaying member offsets) is ignored for thin archives.
|
|
|
|
RUN: llvm-ar tO foo/libtest.a | FileCheck --match-full-lines %s
|
|
|
|
|
2016-12-04 07:52:30 +01:00
|
|
|
CHECK: foo/test1.o
|
|
|
|
CHECK: foo/test1.o
|
|
|
|
CHECK: foo/test2.o
|
2016-11-30 23:32:58 +01:00
|
|
|
|