summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Orc/OrcError.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-04-12 18:35:08 +0000
committerLang Hames <lhames@gmail.com>2018-04-12 18:35:08 +0000
commit9d8877baf814019e8dd90536c1abf4428c9bce7d (patch)
treeac2248647c42e4b26b19dc30bc30513a476a4b14 /llvm/lib/ExecutionEngine/Orc/OrcError.cpp
parentdec781c141831a348df1f537c8f3907d9351a2c8 (diff)
downloadbcm5719-llvm-9d8877baf814019e8dd90536c1abf4428c9bce7d.tar.gz
bcm5719-llvm-9d8877baf814019e8dd90536c1abf4428c9bce7d.zip
[ORC] Plumb error notifications through the VSO interface.
This allows materializers to notify the VSO that they were unable to resolve or finalize symbols. llvm-svn: 329934
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/OrcError.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/OrcError.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/OrcError.cpp b/llvm/lib/ExecutionEngine/Orc/OrcError.cpp
index f0bfed8ddb8..f4102b359a6 100644
--- a/llvm/lib/ExecutionEngine/Orc/OrcError.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/OrcError.cpp
@@ -29,6 +29,8 @@ public:
std::string message(int condition) const override {
switch (static_cast<OrcErrorCode>(condition)) {
+ case OrcErrorCode::UnknownORCError:
+ return "Unknown ORC error";
case OrcErrorCode::DuplicateDefinition:
return "Duplicate symbol definition";
case OrcErrorCode::JITSymbolNotFound:
OpenPOWER on IntegriCloud