[ELF] Remove redundant fillTrap and memset(*, 0, *). NFC
authorFangrui Song <i@maskray.me>
Mon, 17 Jan 2022 06:37:31 +0000 (22:37 -0800)
committerFangrui Song <i@maskray.me>
Mon, 17 Jan 2022 06:37:31 +0000 (22:37 -0800)
commita4c5db30be4e216834b44e31b47304ea1b92635f
tree46f73974fe0b5cf8ec93604b057e5096c13e2f92
parentd46054d75d1117f96269c12139ab412f2db1beac
[ELF] Remove redundant fillTrap and memset(*, 0, *). NFC

The new tests in build-id.s would catch problems if we made a mistake here.
lld/ELF/SyntheticSections.cpp
lld/ELF/Writer.cpp