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

llvm-svn: 278914
This commit is contained in:
George Rimar 2016-08-17 08:16:57 +00:00
parent 71b43c5c1d
commit 206fffa192
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ ArrayRef<uint8_t> LinkerScript<ELFT>::getFiller(StringRef Name) {
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)