[all-commits] [llvm/llvm-project] dcbf61: [llvm-ar] Fix when llvm-ar fails to replace existi...

gbreynoo via All-commits all-commits at lists.llvm.org
Fri Nov 18 06:43:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dcbf61b3520ed7157688a269ad4dfa8545a00f79
      https://github.com/llvm/llvm-project/commit/dcbf61b3520ed7157688a269ad4dfa8545a00f79
  Author: gbreynoo <owen.reynolds at sony.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    A llvm/test/tools/llvm-ar/thin-archive-relative-path.test
    M llvm/tools/llvm-ar/llvm-ar.cpp

  Log Message:
  -----------
  [llvm-ar] Fix when llvm-ar fails to replace existing members when updating a thin archive

As seen in https://github.com/llvm/llvm-project/issues/55023 when a thin
archive is updated when not in the CWD, replacement does not work as
expected. This change fixes the relative file path comparison so the
correct files are updated.

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




More information about the All-commits mailing list