1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[ORC] Use explicit constructor calls to fix a builder error at

http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/17627

llvm-svn: 324411
This commit is contained in:
Lang Hames 2018-02-06 22:17:09 +00:00
parent 47b7bea525
commit d7526dd9f3

View File

@ -157,7 +157,7 @@ private:
SymbolFlags[S] = Sym.getFlags();
else if (auto Err = Sym.takeError()) {
Stack.reportError(std::move(Err));
return {};
return orc::SymbolNameSet();
} else
SymbolsNotFound.insert(S);
}
@ -175,11 +175,11 @@ private:
Query.setDefinition(S, JITEvaluatedSymbol(*Addr, Sym.getFlags()));
else {
Query.setFailed(Addr.takeError());
return {};
return orc::SymbolNameSet();
}
} else if (auto Err = Sym.takeError()) {
Query.setFailed(std::move(Err));
return {};
return orc::SymbolNameSet();
} else
UnresolvedSymbols.insert(S);
}