llvm-project/llvm/test/tools/llvm-ar/aix-bitcode.test
Qiongsi Wu fae9d4df8f [AIX][llvm-ar] Use the Correct Kind for Bitcode File Inputs
On AIX, when the input files are LLVM bitcode files, `llvm-ar` should set the archive kind to `K_AIXBIG` as well, instead of leaving it to the default `K_GNU`.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D149377
2023-04-28 09:14:10 -04:00

8 lines
254 B
Plaintext

# Check if llvm-ar correctly archives bitcode files for AIX.
# RUN: rm -rf %t && mkdir -p %t
# RUN: llvm-as %S/Inputs/aix-foo.ll -o %t/aix-foo.bc
# RUN: llvm-ar qc %t/aix-foo.a %t/aix-foo.bc
# RUN: FileCheck %s --input-file=%t/aix-foo.a
# CHECK: bigaf