[ELF] Optimize replaceCommonSymbols
authorFangrui Song <i@maskray.me>
Sat, 25 Dec 2021 03:01:50 +0000 (19:01 -0800)
committerFangrui Song <i@maskray.me>
Sat, 25 Dec 2021 03:01:51 +0000 (19:01 -0800)
commit40fae4d8fcbd6224f16fdf3ba84a0d89b713e7d5
treee15e3cdb8c68e4719ba469097b78763dfe1e6dd1
parent745420d3f4b050282e65cdf7893050fc90bf9c8a
[ELF] Optimize replaceCommonSymbols

This decreases the 0.2% time (no debug info) to nearly no.
lld/ELF/Driver.cpp
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h