Summary: when run "llvm-ar cr" on AIX OS , it created a gnu archive, it is not desirable in aix OS. instead of creating a gnu archive, the patch will print a unsupport message for llvm-ar big archive write operation in AIX OS. after implement the big archive operation, I will revert the XFAIL: AIX " and "--format=gnu" test cases in the patch. Reviewer : James Henderson, Jinsong Ji Differential Revision: https://reviews.llvm.org/D122746
22 lines
573 B
Plaintext
22 lines
573 B
Plaintext
XFAIL: system-aix
|
|
RUN: yaml2obj %S/Inputs/elf.yaml -o %t.o
|
|
RUN: rm -f %t.ar
|
|
|
|
RUN: echo "create %t.ar;comment" > %t.mri
|
|
RUN: echo "addmod %t.o * comment" >> %t.mri
|
|
RUN: echo "; comment" >> %t.mri
|
|
RUN: echo " ;comment" >> %t.mri
|
|
RUN: echo "* comment" >> %t.mri
|
|
RUN: echo " *comment" >> %t.mri
|
|
RUN: echo "" >> %t.mri
|
|
RUN: echo " " >> %t.mri
|
|
RUN: echo "addmod %S/Inputs/elf.yaml" >> %t.mri
|
|
RUN: echo "delete %t.o" >> %t.mri
|
|
RUN: echo " save" >> %t.mri
|
|
RUN: echo "end" >> %t.mri
|
|
|
|
RUN: llvm-ar -M < %t.mri
|
|
RUN: llvm-ar tv %t.ar | FileCheck %s
|
|
|
|
CHECK-NOT: mri-delete.test{{.*}}.o
|