[lld] r281805 - Attempt to fix buildbot.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 06:46:32 PDT 2016


Which bots were failing? MSVC? If so it might be sufficient to add an
explicit move constructor to SectionPattern.

Cheers,
Rafael


On 16 September 2016 at 22:34, Rui Ueyama via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: ruiu
> Date: Fri Sep 16 21:34:50 2016
> New Revision: 281805
>
> URL: http://llvm.org/viewvc/llvm-project?rev=281805&view=rev
> Log:
> Attempt to fix buildbot.
>
> Modified:
>     lld/trunk/ELF/LinkerScript.h
>
> Modified: lld/trunk/ELF/LinkerScript.h
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/
> LinkerScript.h?rev=281805&r1=281804&r2=281805&view=diff
> ============================================================
> ==================
> --- lld/trunk/ELF/LinkerScript.h (original)
> +++ lld/trunk/ELF/LinkerScript.h Fri Sep 16 21:34:50 2016
> @@ -114,8 +114,11 @@ struct InputSectionDescription : BaseCom
>    SortSectionPolicy SortOuter = SortSectionPolicy::Default;
>    SortSectionPolicy SortInner = SortSectionPolicy::Default;
>
> -  // Pairs of section regex and files excluded.
> -  std::vector<SectionPattern> SectionPatterns;
> +  // Input sections that matches at lesat one of SectionPatterns
> +  // will be associated with this InputSectionDescription.
> +  // We use std::list instead of std::vector because SectionPattern
> +  // do not support move assignment.
> +  std::list<SectionPattern> SectionPatterns;
>
>    std::vector<InputSectionData *> Sections;
>  };
>
>
> _______________________________________________
> 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/20160919/440a29ca/attachment.html>


More information about the llvm-commits mailing list