diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
| commit | e2fd426bdafe9f5c10066d3926ece6e342184a67 (patch) | |
| tree | bfbbb5fd38554e6b8988b7a217e9fd0623728d7d /ELF/LinkerScript.h | |
| parent | 84c4061b34e048f47e5eb4fbabc1558495e8157c (diff) | |
Notes
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) {} |
