[PATCH] D48298: [ELF] Uniquify --wrap list.

ben via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 02:25:43 PDT 2018


bd1976llvm added a comment.

I would propose adding the ability to retrieve a unique filtered list of arguments.

  for (StringRef Name : Args.getAllUniqueArgValues(OPT_wrap))
    Symtab->addSymbolWrap<ELFT>(Name);

Relevant for other options: --defsym, --trace-symbol, --undefined etc..


Repository:
  rL LLVM

https://reviews.llvm.org/D48298





More information about the llvm-commits mailing list