[all-commits] [llvm/llvm-project] 417cd2: [ELF] SymbolTable: change some vector<Symbol *> to...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Dec 23 16:49:50 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 417cd2e5c5e0ef0a3c8161298b7690f7911ce7ed
https://github.com/llvm/llvm-project/commit/417cd2e5c5e0ef0a3c8161298b7690f7911ce7ed
Author: Fangrui Song <i at maskray.me>
Date: 2021-12-23 (Thu, 23 Dec 2021)
Changed paths:
M lld/ELF/SymbolTable.cpp
M lld/ELF/SymbolTable.h
Log Message:
-----------
[ELF] SymbolTable: change some vector<Symbol *> to SmallVector
The generated assembly for Symbol::insert is much shorter (std::vector resize is
inefficient) and enables some inlining.
More information about the All-commits
mailing list