mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
5f05e35412
llvm-svn: 295815
20 lines
448 B
Plaintext
20 lines
448 B
Plaintext
Test that only the darwin format needs to modify archive members to
|
|
avoid a ld64 bug.
|
|
|
|
RUN: echo foo > %t.o
|
|
|
|
RUN: rm -f %t.a
|
|
RUN: llvm-ar -format=bsd rc %t.a %t.o
|
|
RUN: llvm-ar p %t.a > %t.bsd.o
|
|
RUN: cmp %t.bsd.o %t.o
|
|
|
|
RUN: rm -f %t.a
|
|
RUN: llvm-ar -format=gnu rc %t.a %t.o
|
|
RUN: llvm-ar p %t.a > %t.gnu.o
|
|
RUN: cmp %t.gnu.o %t.o
|
|
|
|
RUN: rm -f %t.a
|
|
RUN: llvm-ar -format=darwin rc %t.a %t.o
|
|
RUN: llvm-ar p %t.a > %t.darwin.o
|
|
RUN: not cmp %t.darwin.o %t.o
|