[all-commits] [llvm/llvm-project] 393ada: [BOLT] Mark BOLTReserved segment executable (#181606)
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Thu Feb 19 15:08:12 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 393adaac1d3af51238315260b148e3383ff58412
https://github.com/llvm/llvm-project/commit/393adaac1d3af51238315260b148e3383ff58412
Author: Amir Ayupov <aaupov at fb.com>
Date: 2026-02-19 (Thu, 19 Feb 2026)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
A bolt/test/bolt-reserved.test
Log Message:
-----------
[BOLT] Mark BOLTReserved segment executable (#181606)
Summary:
When .bolt_reserved section is defined in the linker script, there's
no way to mark the containing segment executable other than via PHDRS
command which overrides program headers entirely which is impractical.
Since .bolt_reserved contains executable code, mark segment executable
in BOLT.
Test Plan: bolt-reserved.test
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list