diff options
author | Fangrui Song <i@maskray.me> | 2021-12-17 19:22:15 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-12-17 19:22:16 -0800 |
commit | 552d84414d2508731ecf2f079fec76b1447020b7 (patch) | |
tree | c8da8b29bd9b70ae99a1c0df7c6764fc91e54c02 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 212e6c99776f393e0af368ca2086eb8bae2ee1ed (diff) | |
download | llvm-552d84414d2508731ecf2f079fec76b1447020b7.zip llvm-552d84414d2508731ecf2f079fec76b1447020b7.tar.gz llvm-552d84414d2508731ecf2f079fec76b1447020b7.tar.bz2 |
[ELF] Use SmallVector for many SyntheticSections. NFC
This decreases struct sizes and usually decreases the lld executable
size (39KiB for my x86-64 executable) (unless in some cases smaller
SmallVector leads to more inlining, e.g. StringTableBuilder).
For --gdb-index, there may be memory usage saving.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions