summaryrefslogtreecommitdiff
path: root/lld/include
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2020-10-19 13:21:23 +0200
committerserge-sans-paille <sguelton@redhat.com>2020-11-09 13:28:48 +0100
commit1e70ec10ebb07856ff270358cbd59e79bdc455cf (patch)
tree3e37a4ab723193bbe01aab528e2316db9c7082ff /lld/include
parent28fc173819af223a5bc28e54d8242d3320ed31bf (diff)
downloadllvm-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.h2
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: