[all-commits] [llvm/llvm-project] 140850: [ELF] Name MergeSyntheticSection using an input se...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue May 2 09:35:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1408504564f2ecc6020eb1b2735d441b3292ea27
https://github.com/llvm/llvm-project/commit/1408504564f2ecc6020eb1b2735d441b3292ea27
Author: Fangrui Song <i at maskray.me>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M lld/ELF/OutputSections.cpp
M lld/test/ELF/merge-entsize.s
M lld/test/ELF/merge-string-align.s
Log Message:
-----------
[ELF] Name MergeSyntheticSection using an input section instead of the output section
In a link map, the input section name gives more information. See the updated
merge-entsize.s for an example. The output file is unchanged.
Compiler generated input sections with the SHF_MERGE flag have names such as
.rodata.str1.1 and .rodata.cstN, and are not affected by -fdata-sections.
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D149466
More information about the All-commits
mailing list