diff options
author | Lang Hames <lhames@gmail.com> | 2018-03-14 05:23:56 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-03-14 05:23:56 +0000 |
commit | d4a768e78f060afdc43280ef79e87812be22d53c (patch) | |
tree | b51fc4b3672e41ce260f5b6ec2c992c7f9e8224a /llvm/lib/ExecutionEngine/Orc/Core.cpp | |
parent | 817f1f64d9848e44fd9b0aebe98dc5605f2ec03d (diff) | |
download | bcm5719-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/Orc/Core.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/Core.cpp | 2 |
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) { |