forked from OSchip/llvm-project
[ORC] Fix an assertion condition from r329934.
Thanks to Alexander Ivchenko for finding the issue! llvm-svn: 330359
This commit is contained in:
parent
bc895a3afc
commit
ee68ec06a1
llvm/lib/ExecutionEngine/Orc
|
@ -410,8 +410,8 @@ Error VSO::defineLazy(std::unique_ptr<MaterializationUnit> MU) {
|
||||||
for (auto &KV : UMII->Symbols) {
|
for (auto &KV : UMII->Symbols) {
|
||||||
auto I = Symbols.find(KV.first);
|
auto I = Symbols.find(KV.first);
|
||||||
|
|
||||||
assert(I == Symbols.end() ||
|
assert((I == Symbols.end() ||
|
||||||
!I->second.Flags.isMaterializing() &&
|
!I->second.Flags.isMaterializing()) &&
|
||||||
"Attempt to replace materializing symbol definition");
|
"Attempt to replace materializing symbol definition");
|
||||||
|
|
||||||
auto LinkageResult = compareLinkage(
|
auto LinkageResult = compareLinkage(
|
||||||
|
|
Loading…
Reference in New Issue