Terminate if there are un-mergeable duplicate atoms.

llvm-svn: 194671
This commit is contained in:
Rui Ueyama 2013-11-14 06:39:31 +00:00
parent 9410f77b9f
commit 9310e01ea9
1 changed files with 2 additions and 0 deletions

View File

@ -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) {