From 70efa2f25195ca943b2b6b46d9db3db11cfb547f Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sat, 17 Sep 2016 02:34:50 +0000 Subject: [PATCH] Attempt to fix buildbot. llvm-svn: 281805 --- lld/ELF/LinkerScript.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index f5f85902ba33..142fd2a7670e 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 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 SectionPatterns; std::vector Sections; };