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
|
@ -410,8 +410,8 @@ Error VSO::defineLazy(std::unique_ptr<MaterializationUnit> MU) {
|
|||
for (auto &KV : UMII->Symbols) {
|
||||
auto I = Symbols.find(KV.first);
|
||||
|
||||
assert(I == Symbols.end() ||
|
||||
!I->second.Flags.isMaterializing() &&
|
||||
assert((I == Symbols.end() ||
|
||||
!I->second.Flags.isMaterializing()) &&
|
||||
"Attempt to replace materializing symbol definition");
|
||||
|
||||
auto LinkageResult = compareLinkage(
|
||||
|
|
Loading…
Reference in New Issue