[PATCH] D159095: [lld-macho]Add an option to suppress warnings when autohide symbols are in the list of exported_symbols.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 11:56:14 PDT 2023


oontvoo added a comment.

In D159095#4626864 <https://reviews.llvm.org/D159095#4626864>, @thakis wrote:

> How does ld64 handle this situation?

LD64 would issue similar warnings. It's not that LLD is doing anything wrong here.
It's just that in our internal use case, we have a huge list of exported-symbols (with wild-cards) so these warnings don't really offer anything useful to us and often crowd the log.
Having a way to silence them would drastically improve the readability of logs, especially when debugging other linker errors.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159095



More information about the llvm-commits mailing list