[PATCH] D142163: [LLD][ELF] Add --lto-export-symbol-list

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 20:26:24 PST 2023


pcc added a comment.

What do you think about making this apply not only to LTO but to other `-r` links as well? This would be useful for use cases like the internal symbolizer <https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh> used by the sanitizers, which currently (ab)uses LTO for a similar effect. I was imagining that the user interface would be that we would make `--version-script` compatible with `-r` links, with the restriction being that it would not be possible to specify a symbol version (as this patch does).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142163



More information about the llvm-commits mailing list