[PATCH] D88674: [install-name-tool] Add --delete_all_rpaths to llvm-install-name-tool

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 03:54:15 PDT 2020


jhenderson added a comment.

+1 to being okay to extend the tools with other useful options. Before we rush headlong into this option, I wonder whether we should instead allow the existing delete option to take a wildcard/glob pattern/regex thing. That way you could just delete e.g. "*" to remove all rpaths, or "*.foo" to delete all ending in ".foo" etc. From a compatibility concern, it might mean we need to add an option similar to e.g. --regex in llvm-objcopy which enables the pattern matching.

What do others think?

If people think this is being overly general, the proposed option in this patch is fine by me too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88674



More information about the llvm-commits mailing list