
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
8 lines
254 B
Plaintext
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
|