[LLD][ELF] - Show symbols visibility in "undefined symbol..." error messages.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 12 Mar 2019 11:10:29 +0000 (11:10 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 12 Mar 2019 11:10:29 +0000 (11:10 +0000)
commit43b6689e6417e2ea7b26259db275427a864dd625
treead0af2efcb2ee94d1395dbb4225f9072c7b5fe31
parenta7ae60ac935321275ea58b6c6a81eca1d969e52c
[LLD][ELF] - Show symbols visibility in "undefined symbol..." error messages.

This teaches LLD to report visibility when showing undefined symbol errors
and fixes https://bugs.llvm.org/show_bug.cgi?id=40770.

Differential revision: https://reviews.llvm.org/D58577

llvm-svn: 355909
lld/ELF/Relocations.cpp
lld/test/ELF/executable-undefined-protected-ignoreall.s
lld/test/ELF/hidden-shared-err.s
lld/test/ELF/lto/setting-dso-local.ll
lld/test/ELF/undef-shared.s
lld/test/ELF/undef-shared2.s
lld/test/ELF/warn-unresolved-symbols-hidden.s