[all-commits] [llvm/llvm-project] d17c54: [llvm-ar] Prevent automatic conversion from thin t...

gbreynoo via All-commits all-commits at lists.llvm.org
Thu Feb 3 03:46:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d17c54d17de22d2961a04163f3dbc8e973de89b8
      https://github.com/llvm/llvm-project/commit/d17c54d17de22d2961a04163f3dbc8e973de89b8
  Author: gbreynoo <Owen.Reynolds at sony.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M llvm/test/tools/llvm-ar/full-to-thin-archive.test
    A llvm/test/tools/llvm-ar/thin-to-full-archive.test
    M llvm/tools/llvm-ar/llvm-ar.cpp

  Log Message:
  -----------
  [llvm-ar] Prevent automatic conversion from thin to full archive

llvm-ar silently converts a thin archive to a regular archive when you
specify a modification operation (e.g. 'r') without the 'T' modifier.
This change stops this from occuring. If a user is trying to convert
between thin and full archives then they can explicitly use the 'L'
command to createa new archive.

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




More information about the All-commits mailing list