[lld] r194671 - Terminate if there are un-mergeable duplicate atoms.
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Nov 14 07:21:23 PST 2013
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
More information about the llvm-commits
mailing list