[PATCH] D101996: [LLD] Improve reporting unresolved symbols in shared libraries

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 7 19:26:32 PDT 2021


ikudrin added inline comments.


================
Comment at: lld/ELF/InputFiles.h:388
+  // Non-weak undefined symbols which are not yet resolved when the SO is
+  // parsed. Only filled if we check unresolved symbols in shared libraries,
+  // i.e. (config->unresolvedSymbolsInShlib != UnresolvedPolicy::Ignore).
----------------
MaskRay wrote:
> MaskRay wrote:
> > Perhaps simply this to `--no-allow-shlib-undefined`
> Drop `and alike`? There is no other usage.
It's about `--unresolved_symbols=ignore-in-object-files` and `--unresolved_symbols=report-all`. The implementation is the same, but the switches are still different.


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

https://reviews.llvm.org/D101996



More information about the llvm-commits mailing list