[lld] r194671 - Terminate if there are un-mergeable duplicate atoms.

Rui Ueyama ruiu at google.com
Thu Nov 14 11:22:47 PST 2013


Added in r194722.


On Thu, Nov 14, 2013 at 7:21 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> is it possible to test this?
>
> On 14 November 2013 01:39, Rui Ueyama <ruiu at google.com> wrote:
> > Author: ruiu
> > Date: Thu Nov 14 00:39:31 2013
> > New Revision: 194671
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=194671&view=rev
> > Log:
> > Terminate if there are un-mergeable duplicate atoms.
> >
> > Modified:
> >     lld/trunk/lib/Core/SymbolTable.cpp
> >
> > Modified: lld/trunk/lib/Core/SymbolTable.cpp
> > URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/SymbolTable.cpp?rev=194671&r1=194670&r2=194671&view=diff
> >
> ==============================================================================
> > --- lld/trunk/lib/Core/SymbolTable.cpp (original)
> > +++ lld/trunk/lib/Core/SymbolTable.cpp Thu Nov 14 00:39:31 2013
> > @@ -234,6 +234,8 @@ void SymbolTable::addByName(const Atom &
> >      break;
> >    case NCR_Error:
> >      llvm::errs() << "SymbolTable: error while merging " << name << "\n";
> > +    llvm::report_fatal_error("duplicate symbol error");
> > +    break;
> >    }
> >
> >    if (useNew) {
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131114/ff2137e1/attachment.html>


More information about the llvm-commits mailing list