[all-commits] [llvm/llvm-project] 223f9d: [ELF] maybeCompress: replace vector<uint8_t> with ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Jan 25 22:15:56 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 223f9dea3d8b46847c635a1ce864917e48da01ae
https://github.com/llvm/llvm-project/commit/223f9dea3d8b46847c635a1ce864917e48da01ae
Author: Fangrui Song <i at maskray.me>
Date: 2022-01-25 (Tue, 25 Jan 2022)
Changed paths:
M lld/ELF/OutputSections.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list