[lld] r276789 - Attemp to fix build bot:

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 11:50:00 PDT 2016


It should be llvm_unreachable since it is not reachable if there's no bug.

On Tue, Jul 26, 2016 at 11:41 AM, George Rimar via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: grimar
> Date: Tue Jul 26 13:41:06 2016
> New Revision: 276789
>
> URL: http://llvm.org/viewvc/llvm-project?rev=276789&view=rev
> Log:
> Attemp to fix build bot:
>
> http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/25329/steps/build_Lld
>
> Modified:
>     lld/trunk/ELF/LinkerScript.cpp
>
> Modified: lld/trunk/ELF/LinkerScript.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=276789&r1=276788&r2=276789&view=diff
>
> ==============================================================================
> --- lld/trunk/ELF/LinkerScript.cpp (original)
> +++ lld/trunk/ELF/LinkerScript.cpp Tue Jul 26 13:41:06 2016
> @@ -774,6 +774,8 @@ static uint64_t getSymbolValue(StringRef
>      if (SymbolBody *B = Symtab<ELF64BE>::X->find(S))
>        return B->getVA<ELF64BE>();
>      break;
> +  default:
> +    fatal("unsupported target");
>    }
>    error("symbol not found: " + S);
>    return 0;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160726/11e1e0bf/attachment.html>


More information about the llvm-commits mailing list