summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-09-17 02:34:50 +0000
committerRui Ueyama <ruiu@google.com>2016-09-17 02:34:50 +0000
commit70efa2f25195ca943b2b6b46d9db3db11cfb547f (patch)
treeb1875111e1dfbd9746c4e39cbd859b5fd0598456
parent0ab39359de822411ea8775a9f69450ea1e3622f7 (diff)
downloadbcm5719-llvm-70efa2f25195ca943b2b6b46d9db3db11cfb547f.tar.gz
bcm5719-llvm-70efa2f25195ca943b2b6b46d9db3db11cfb547f.zip
Attempt to fix buildbot.
llvm-svn: 281805
-rw-r--r--lld/ELF/LinkerScript.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h
index f5f85902ba3..142fd2a7670 100644
--- a/lld/ELF/LinkerScript.h
+++ b/lld/ELF/LinkerScript.h
@@ -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;
};
OpenPOWER on IntegriCloud