[ELF] maybeCompress: replace vector<uint8_t> with unique_ptr<uint8_t[]>. NFC
authorFangrui Song <i@maskray.me>
Wed, 26 Jan 2022 06:15:44 +0000 (22:15 -0800)
committerFangrui Song <i@maskray.me>
Wed, 26 Jan 2022 06:15:44 +0000 (22:15 -0800)
commit223f9dea3d8b46847c635a1ce864917e48da01ae
tree036c83d250672210285cc7e4c5b6ae7d48f579b5
parent8597458278027047c06a1a81579893335e761a33
[ELF] maybeCompress: replace vector<uint8_t> with unique_ptr<uint8_t[]>. NFC

And mention that it is zero-initialized. I do not notice a speed-up if
changed to be uninitialized by forcing the zero filler in writeTo.
lld/ELF/OutputSections.cpp