[all-commits] [llvm/llvm-project] 3deb82: [ELF] Adjust getOutputSectionName prefix order
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Dec 15 00:19:10 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3deb82cd072bd4bb6172ece5e6d01ea6600dc3a8
https://github.com/llvm/llvm-project/commit/3deb82cd072bd4bb6172ece5e6d01ea6600dc3a8
Author: Fangrui Song <i at maskray.me>
Date: 2021-12-15 (Wed, 15 Dec 2021)
Changed paths:
M lld/ELF/LinkerScript.cpp
Log Message:
-----------
[ELF] Adjust getOutputSectionName prefix order
Sorting the prefixes by decreasing frequency can improve performance.
.gcc_except_table is relatively frequent, so move it ahead.
.ctors and .dtors mostly disappear and should be the last.
More information about the All-commits
mailing list