summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-03-14 05:23:56 +0000
committerLang Hames <lhames@gmail.com>2018-03-14 05:23:56 +0000
commitd4a768e78f060afdc43280ef79e87812be22d53c (patch)
treeb51fc4b3672e41ce260f5b6ec2c992c7f9e8224a /llvm/lib/ExecutionEngine
parent817f1f64d9848e44fd9b0aebe98dc5605f2ec03d (diff)
downloadbcm5719-llvm-d4a768e78f060afdc43280ef79e87812be22d53c.tar.gz
bcm5719-llvm-d4a768e78f060afdc43280ef79e87812be22d53c.zip
[ORC] Silence a compiler error.
This should fix the builder error at http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/19006 llvm-svn: 327475
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/Core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp
index 95ef62014c5..fd6ec0fe7cb 100644
--- a/llvm/lib/ExecutionEngine/Orc/Core.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/Core.cpp
@@ -362,7 +362,7 @@ Expected<SymbolMap> lookup(const std::vector<VSO *> &VSOs, SymbolNameSet Names,
PromisedResult.set_value(std::move(*Result));
else {
ResolutionError = Result.takeError();
- PromisedResult.set_value({});
+ PromisedResult.set_value(SymbolMap());
}
};
auto OnReady = [&](Error Err) {
OpenPOWER on IntegriCloud