[ELF] ICF: change a dyn_cast<InputSection> to cast
authorFangrui Song <maskray@google.com>
Thu, 12 Sep 2019 16:46:19 +0000 (16:46 +0000)
committerFangrui Song <maskray@google.com>
Thu, 12 Sep 2019 16:46:19 +0000 (16:46 +0000)
commit2ad25a4aeeae6e070c9cb56cc15e82ba6e2231af
tree11d910da2e1a4df12b80e93474d0de0304cd82a8
parenta6e944b1731107c647df7aa2c9b026d6a9818c90
[ELF] ICF: change a dyn_cast<InputSection> to cast

ICF is performed after EhInputSections and MergeInputSections were
eliminated from inputSections. Every element of inputSections is an
InputSection.

llvm-svn: 371744
lld/ELF/ICF.cpp