diff options
Diffstat (limited to 'ELF/LinkerScript.h')
| -rw-r--r-- | ELF/LinkerScript.h | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/ELF/LinkerScript.h b/ELF/LinkerScript.h index 3b790dd4669f..51161981efc8 100644 --- a/ELF/LinkerScript.h +++ b/ELF/LinkerScript.h @@ -30,12 +30,13 @@ namespace lld {  namespace elf {  class Defined; -class Symbol; -class InputSectionBase;  class InputSection; -class OutputSection;  class InputSectionBase; +class InputSectionBase; +class OutputSection;  class SectionBase; +class Symbol; +class ThunkSection;  // This represents an r-value in the linker script.  struct ExprValue { @@ -145,7 +146,9 @@ struct MemoryRegion {  // Also it may be surrounded with SORT() command, so contains sorting rules.  struct SectionPattern {    SectionPattern(StringMatcher &&Pat1, StringMatcher &&Pat2) -      : ExcludedFilePat(Pat1), SectionPat(Pat2) {} +      : ExcludedFilePat(Pat1), SectionPat(Pat2), +        SortOuter(SortSectionPolicy::Default), +        SortInner(SortSectionPolicy::Default) {}    StringMatcher ExcludedFilePat;    StringMatcher SectionPat; @@ -153,7 +156,6 @@ struct SectionPattern {    SortSectionPolicy SortInner;  }; -class ThunkSection;  struct InputSectionDescription : BaseCommand {    InputSectionDescription(StringRef FilePattern)        : BaseCommand(InputSectionKind), FilePat(FilePattern) {}  | 
