Attempt to fix buildbot.
authorRui Ueyama <ruiu@google.com>
Sat, 17 Sep 2016 02:34:50 +0000 (02:34 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 17 Sep 2016 02:34:50 +0000 (02:34 +0000)
llvm-svn: 281805

lld/ELF/LinkerScript.h

index f5f8590..142fd2a 100644 (file)
@@ -114,8 +114,11 @@ struct InputSectionDescription : BaseCommand {
   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;
 };