[lld] r281805 - Attempt to fix buildbot.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 16 19:34:50 PDT 2016
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;
};
More information about the llvm-commits
mailing list