[lld] Provide a hook to customize undefined symbols error handling
authorserge-sans-paille <sguelton@redhat.com>
Mon, 19 Oct 2020 11:21:23 +0000 (13:21 +0200)
committerserge-sans-paille <sguelton@redhat.com>
Mon, 9 Nov 2020 12:28:48 +0000 (13:28 +0100)
commit1e70ec10ebb07856ff270358cbd59e79bdc455cf
tree3e37a4ab723193bbe01aab528e2316db9c7082ff
parent28fc173819af223a5bc28e54d8242d3320ed31bf
[lld] Provide a hook to customize undefined symbols error handling

This is a follow up to https://reviews.llvm.org/D87758, implementing the missing
symbol part, as done by binutils.

Differential Revision: https://reviews.llvm.org/D89687
lld/Common/ErrorHandler.cpp
lld/ELF/Relocations.cpp
lld/docs/error_handling_script.rst
lld/docs/ld.lld.1
lld/include/lld/Common/ErrorHandler.h
lld/test/ELF/error-handling-script-linux.test