aboutsummaryrefslogtreecommitdiffstats
path: root/ELF/LinkerScript.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-02 18:31:09 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-02 18:31:09 +0000
commit274c9ff5404582ff22769d9599ab10ed216ceec3 (patch)
tree8eccb2d5ca32dbec2ab6a1a3b8ac6a593f0e1b6f /ELF/LinkerScript.h
parente06a19b85dfce9ea18be97247d4ca315963edc5c (diff)
downloadsrc-274c9ff5404582ff22769d9599ab10ed216ceec3.tar.gz
src-274c9ff5404582ff22769d9599ab10ed216ceec3.zip
Vendor import of lld trunk r301939:vendor/lld/lld-trunk-r301939
Notes
Notes: svn path=/vendor/lld/dist/; revision=317690 svn path=/vendor/lld/lld-trunk-r301939/; revision=317691; tag=vendor/lld/lld-trunk-r301939
Diffstat (limited to 'ELF/LinkerScript.h')
-rw-r--r--ELF/LinkerScript.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ELF/LinkerScript.h b/ELF/LinkerScript.h
index 61942b2db357..dd96d335a660 100644
--- a/ELF/LinkerScript.h
+++ b/ELF/LinkerScript.h
@@ -228,7 +228,6 @@ protected:
MemoryRegion *findMemoryRegion(OutputSectionCommand *Cmd);
void switchTo(OutputSection *Sec);
- void flush();
void output(InputSection *Sec);
void process(BaseCommand &Base);
@@ -242,9 +241,6 @@ protected:
OutputSection *CurOutSec = nullptr;
MemoryRegion *CurMemRegion = nullptr;
- llvm::DenseSet<OutputSection *> AlreadyOutputOS;
- llvm::DenseSet<InputSectionBase *> AlreadyOutputIS;
-
public:
bool hasPhdrsCommands() { return !Opt.PhdrsCommands.empty(); }
uint64_t getDot() { return Dot; }
@@ -271,6 +267,7 @@ public:
void assignOffsets(OutputSectionCommand *Cmd);
void placeOrphanSections();
void processNonSectionCommands();
+ void synchronize();
void assignAddresses(std::vector<PhdrEntry> &Phdrs);
int getSectionIndex(StringRef Name);