From d4a768e78f060afdc43280ef79e87812be22d53c Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 14 Mar 2018 05:23:56 +0000 Subject: [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 --- llvm/lib/ExecutionEngine/Orc/Core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/ExecutionEngine/Orc/Core.cpp') 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 lookup(const std::vector &VSOs, SymbolNameSet Names, PromisedResult.set_value(std::move(*Result)); else { ResolutionError = Result.takeError(); - PromisedResult.set_value({}); + PromisedResult.set_value(SymbolMap()); } }; auto OnReady = [&](Error Err) { -- cgit v1.2.3