[lld] [LLD][ELF] Add `-z execute-only-report` that checks PURECODE section flags (PR #128883)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 08:54:21 PST 2025


================
@@ -323,6 +324,7 @@ template <class ELFT> void Writer<ELFT>::run() {
   // finalizeSections does that.
   finalizeSections();
   checkExecuteOnly();
+  checkExecuteOnlyReport();
----------------
MaskRay wrote:

move into `checkExecuteOnly`

https://github.com/llvm/llvm-project/pull/128883


More information about the llvm-commits mailing list