[ELF] Delete SectionBase::assigned
authorFangrui Song <maskray@google.com>
Tue, 24 Sep 2019 11:48:46 +0000 (11:48 +0000)
committerFangrui Song <maskray@google.com>
Tue, 24 Sep 2019 11:48:46 +0000 (11:48 +0000)
commite447d5afd37228125bca280ad96c1a191b0b4169
treefcc1f5833bb586e91f5f355163b4cefc7519a512
parente47bbd28f8e9dfea4e019e27e9d371c144c3302e
[ELF] Delete SectionBase::assigned

D67504 removed uses of `assigned` from OutputSection::addSection, which
makes `assigned` purely used in processSectionCommands() and its
callees. By replacing its references with `parent`, we can remove
`assigned`.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D67531

llvm-svn: 372735
lld/ELF/InputSection.h
lld/ELF/LinkerScript.cpp