Remove return after report_fatal_error which has noreturn attribute.
llvm-svn: 234204
This commit is contained in:
parent
02b5a800c5
commit
230d2ec75f
|
@ -153,7 +153,6 @@ void Resolver::maybeAddSectionGroupOrGnuLinkOnce(const DefinedAtom &atom) {
|
||||||
llvm::errs() << "SymbolTable: error while merging " << atom.name()
|
llvm::errs() << "SymbolTable: error while merging " << atom.name()
|
||||||
<< "\n";
|
<< "\n";
|
||||||
llvm::report_fatal_error("duplicate symbol error");
|
llvm::report_fatal_error("duplicate symbol error");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const Reference *r : atom) {
|
for (const Reference *r : atom) {
|
||||||
|
|
Loading…
Reference in New Issue