[all-commits] [llvm/llvm-project] ceb909: [llvm-ar] -s: don't convert a thin archive to a re...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Feb 1 10:00:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ceb9094a49134d21333150dd876fbb09a165eb3a
      https://github.com/llvm/llvm-project/commit/ceb9094a49134d21333150dd876fbb09a165eb3a
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-01 (Tue, 01 Feb 2022)

  Changed paths:
    M llvm/test/tools/llvm-ar/symtab.test
    M llvm/tools/llvm-ar/llvm-ar.cpp

  Log Message:
  -----------
  [llvm-ar] -s: don't convert a thin archive to a regular one

In binutils, ar -s and randlib don't convert a thin archive to a regular one.
This behavior makes sense and this patch ports the behavior.

Reviewed By: gbreynoo

Differential Revision: https://reviews.llvm.org/D117443




More information about the All-commits mailing list