Files
clang-p2996/llvm/test/tools/llvm-ar/create.test
zhijian fe3b621f05 [AIX] support write operation of big archive.
SUMMARY

1. Enable supporting the write operation of big archive.
2. the first commit come from https://reviews.llvm.org/D104367
3. refactor the first commit and implement writing symbol table.
4. fixed the bugs and add more test cases in the second commit.

Reviewers: James Henderson
Differential Revision: https://reviews.llvm.org/D123949
2022-05-13 10:40:15 -04:00

14 lines
351 B
Plaintext

## Test the creation warning and supression of that warning.
RUN: touch %t1.txt
RUN: touch %t2.txt
RUN: rm -f %t.warning.ar
RUN: llvm-ar r %t.warning.ar %t1.txt %t2.txt 2>&1 \
RUN: | FileCheck %s -DOUTPUT=%t.warning.ar
CHECK: warning: creating [[OUTPUT]]
RUN: rm -f %t.supressed.ar
RUN: llvm-ar cr %t.supressed.ar %t1.txt %t2.txt 2>&1 | count 0