[lld] r278914 - Attemp to fix linux build bot after r278911 ("[ELF] - linkerscript AT keyword (in output section description) implemented.")

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 01:16:57 PDT 2016


Author: grimar
Date: Wed Aug 17 03:16:57 2016
New Revision: 278914

URL: http://llvm.org/viewvc/llvm-project?rev=278914&view=rev
Log:
Attemp to fix linux build bot after r278911 ("[ELF] - linkerscript AT keyword (in output section description) implemented.")

http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/26289/steps/build_Lld/logs/stdio



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=278914&r1=278913&r2=278914&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Wed Aug 17 03:16:57 2016
@@ -504,7 +504,7 @@ ArrayRef<uint8_t> LinkerScript<ELFT>::ge
   return {};
 }
 
-template <class ELFT> typename Expr LinkerScript<ELFT>::getLma(StringRef Name) {
+template <class ELFT> Expr LinkerScript<ELFT>::getLma(StringRef Name) {
   for (const std::unique_ptr<BaseCommand> &Base : Opt.Commands)
     if (auto *Cmd = dyn_cast<OutputSectionCommand>(Base.get()))
       if (Cmd->LmaExpr && Cmd->Name == Name)




More information about the llvm-commits mailing list