[ELF] Use SmallVector for some global variables (*Files and *Sections). NFC
authorFangrui Song <i@maskray.me>
Thu, 23 Dec 2021 06:30:07 +0000 (22:30 -0800)
committerFangrui Song <i@maskray.me>
Thu, 23 Dec 2021 06:30:08 +0000 (22:30 -0800)
commitba948c5a9c524b46e6c1f31090f0b85275947867
treed2c57fbb451fa49422dc6be3a95dc6d8962a5c24
parent856550ca79ba558fe776adc8777a4b7264b66dc8
[ELF] Use SmallVector for some global variables (*Files and *Sections). NFC

My lld executable is 26+KiB smaller.
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/ELF/InputSection.cpp
lld/ELF/InputSection.h
lld/ELF/OutputSections.cpp
lld/ELF/OutputSections.h
lld/ELF/Writer.cpp