forked from OSchip/llvm-project
Terminate if there are un-mergeable duplicate atoms.
llvm-svn: 194671
This commit is contained in:
parent
9410f77b9f
commit
9310e01ea9
|
@ -234,6 +234,8 @@ void SymbolTable::addByName(const Atom & newAtom) {
|
|||
break;
|
||||
case NCR_Error:
|
||||
llvm::errs() << "SymbolTable: error while merging " << name << "\n";
|
||||
llvm::report_fatal_error("duplicate symbol error");
|
||||
break;
|
||||
}
|
||||
|
||||
if (useNew) {
|
||||
|
|
Loading…
Reference in New Issue