[all-commits] [llvm/llvm-project] fae9d4: [AIX][llvm-ar] Use the Correct Kind for Bitcode Fi...

Qiongsi Wu via All-commits all-commits at lists.llvm.org
Fri Apr 28 06:16:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fae9d4df8fcff802dc7b0c344c61c70cc2a20697
      https://github.com/llvm/llvm-project/commit/fae9d4df8fcff802dc7b0c344c61c70cc2a20697
  Author: Qiongsi Wu <qwu at ibm.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M llvm/lib/Object/ArchiveWriter.cpp
    A llvm/test/tools/llvm-ar/Inputs/aix-foo.ll
    A llvm/test/tools/llvm-ar/aix-bitcode.test

  Log Message:
  -----------
  [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




More information about the All-commits mailing list