1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

[ORC] Assert that the query argument to VSO::lookup must be non-null.

llvm-svn: 334723
This commit is contained in:
Lang Hames 2018-06-14 15:32:59 +00:00
parent 5928b3c18f
commit 16cfb8aacc

View File

@ -679,6 +679,8 @@ SymbolNameSet VSO::lookupFlagsImpl(SymbolFlagsMap &Flags,
SymbolNameSet VSO::lookup(std::shared_ptr<AsynchronousSymbolQuery> Q,
SymbolNameSet Names) {
assert(Q && "Query can not be null");
std::vector<std::unique_ptr<MaterializationUnit>> MUs;
SymbolNameSet Unresolved = std::move(Names);