[all-commits] [llvm/llvm-project] 73f55f: [ELF] Reorder Symbol members to improve access loc...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Feb 5 17:07:01 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 73f55fba7651e4a08e95ed7153e30b6eeaab2ab7
https://github.com/llvm/llvm-project/commit/73f55fba7651e4a08e95ed7153e30b6eeaab2ab7
Author: Fangrui Song <i at maskray.me>
Date: 2022-02-05 (Sat, 05 Feb 2022)
Changed paths:
M lld/ELF/SymbolTable.cpp
M lld/ELF/Symbols.h
Log Message:
-----------
[ELF] Reorder Symbol members to improve access locality. NFC
* partition and isPreemptible are frequently used. Move it to the front
* move used beside isUsedInRegularObj. They are similar and accessed together in .symtab finalizing
* move auxIdx/dynsymIndex/verdefIndex to the end.
This decreases code size.
More information about the All-commits
mailing list