[ELF] Change std::vector<InputSectionBase *> to SmallVector
authorFangrui Song <i@maskray.me>
Mon, 17 Jan 2022 18:25:07 +0000 (10:25 -0800)
committerFangrui Song <i@maskray.me>
Mon, 17 Jan 2022 18:25:07 +0000 (10:25 -0800)
commitac0986f88058b5d82559ca84c607c7a664827cbc
treef3e1aa0c822c39ed9d176cb650bf270e6f01351c
parent5acd6e05221574643feb8477ad07e89fd766ec53
[ELF] Change std::vector<InputSectionBase *> to SmallVector

There is no remaining std::vector<InputSectionBase> now. My x86-64 lld
executable is 2KiB small.
lld/ELF/LinkerScript.cpp
lld/ELF/SyntheticSections.cpp
lld/ELF/SyntheticSections.h
lld/ELF/Writer.cpp