diff options
author | serge-sans-paille <sguelton@redhat.com> | 2020-10-19 13:21:23 +0200 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2020-11-09 13:28:48 +0100 |
commit | 1e70ec10ebb07856ff270358cbd59e79bdc455cf (patch) | |
tree | 3e37a4ab723193bbe01aab528e2316db9c7082ff /lld/include | |
parent | 28fc173819af223a5bc28e54d8242d3320ed31bf (diff) | |
download | llvm-1e70ec10ebb07856ff270358cbd59e79bdc455cf.tar.gz |
[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
Diffstat (limited to 'lld/include')
-rw-r--r-- | lld/include/lld/Common/ErrorHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/include/lld/Common/ErrorHandler.h b/lld/include/lld/Common/ErrorHandler.h index 64f363014400..44604524027d 100644 --- a/lld/include/lld/Common/ErrorHandler.h +++ b/lld/include/lld/Common/ErrorHandler.h @@ -89,7 +89,7 @@ extern llvm::raw_ostream *stderrOS; llvm::raw_ostream &outs(); llvm::raw_ostream &errs(); -enum class ErrorTag { LibNotFound }; +enum class ErrorTag { LibNotFound, SymbolNotFound }; class ErrorHandler { public: |