[llvm] [MC] Make .note.GNU-stack explicit for the trampoline case (PR #151754)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 5 18:40:28 PDT 2025


arsenm wrote:

This is breaking the Mac build:
```
Undefined symbols for architecture arm64:
  "llvm::MCAsmInfoELF::getNonexecutableStackSection(llvm::MCContext&) const", referenced from:
      vtable for llvm::AVRMCAsmInfo in libLLVMAVRDesc.a[6](AVRMCAsmInfo.cpp.o)
      vtable for llvm::LoongArchMCAsmInfo in libLLVMLoongArchDesc.a[7](LoongArchMCAsmInfo.cpp.o)
      vtable for llvm::SparcELFMCAsmInfo in libLLVMSparcDesc.a[5](SparcMCAsmInfo.cpp.o)
      vtable for llvm::VEELFMCAsmInfo in libLLVMVEDesc.a[5](VEMCAsmInfo.cpp.o)
```

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


More information about the llvm-commits mailing list