[llvm] [MC][BPF] Avoid generating .note.GNU-stack section (PR #159960)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 22 07:32:52 PDT 2025
yonghong-song wrote:
> Alternatively, change MCAsmInfoELF::getNonexecutableStackSection . It already has a Ctx.getTargetTriple().isOSSolaris() check.
I thought about this as well. But ultimately I think allowing backend to override is a better choice as it will avoid adding arch specific checks in generic MCAsmInfoELF.
https://github.com/llvm/llvm-project/pull/159960
More information about the llvm-commits
mailing list