[lld] [LLD][ELF] Add `-z execute-only-report` that checks PURECODE section flags (PR #128883)
Csanád Hajdú via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 02:17:57 PST 2025
================
@@ -323,6 +324,7 @@ template <class ELFT> void Writer<ELFT>::run() {
// finalizeSections does that.
finalizeSections();
checkExecuteOnly();
+ checkExecuteOnlyReport();
----------------
Il-Capitano wrote:
I didn't do this yet, because I think that `checkExecuteOnly` and `checkExecuteOnlyReport` aside from the similar naming do different things and they should be separate.
https://github.com/llvm/llvm-project/pull/128883
More information about the llvm-commits
mailing list