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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 17:45:18 PST 2022


MaskRay added inline comments.


================
Comment at: llvm/test/tools/llvm-ar/thin-archive-relative-path.test:9
+
+RUN: llvm-ar cr --thin foo/lib.a foo/elf.o
+RUN: llvm-ar t foo/lib.a  | FileCheck %s --check-prefix=FOO --implicit-check-not {{.}}
----------------
If I do `llvm-ar cr --thin foo/lib.a foo/elf.o foo/elf.o`, what's the expected behavior?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138218/new/

https://reviews.llvm.org/D138218



More information about the llvm-commits mailing list