diff options
author | Mingming Liu <mingmingl@google.com> | 2025-07-23 08:29:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-23 08:29:17 -0700 |
commit | 7dcd90df454e47a8db17c5ec956222e6b7858945 (patch) | |
tree | 168953c840c86b616223b2a0e451f4c6bde2e25a /llvm/lib/FileCheck/FileCheck.cpp | |
parent | dbc63f1e3724b6f2348c431dc1216537d9c042e8 (diff) | |
download | llvm-7dcd90df454e47a8db17c5ec956222e6b7858945.zip llvm-7dcd90df454e47a8db17c5ec956222e6b7858945.tar.gz llvm-7dcd90df454e47a8db17c5ec956222e6b7858945.tar.bz2 |
[lld][ELF] Allow `data.rel.ro.hot` and `.data.rel.ro.unlikely` to be RELRO (#148920)
https://discourse.llvm.org/t/rfc-profile-guided-static-data-partitioning/83744
proposes to partition a static data section (like `.data.rel.ro`) into
two sections, one grouping the cold ones and the other grouping the
rest.
lld requires all relro sections to be contiguous. To place
`.data.rel.ro.unlikely` in the middle of all relro sections, this change
proposes to add `.data.rel.ro.unlikely` explicitly as RELRO section.
---------
Co-authored-by: Sam Elliott <quic_aelliott@quicinc.com>
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions