diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2025-09-15 07:55:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 07:55:37 -0700 |
commit | 0cca9e4baa0073a5a6f46b1b09dbd6ed290ae619 (patch) | |
tree | c1fbc076767c7166bbd6090655b7ea474cb90bc5 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 32ab6ff9f95739cba9954e666479d30e126af53c (diff) | |
download | llvm-0cca9e4baa0073a5a6f46b1b09dbd6ed290ae619.zip llvm-0cca9e4baa0073a5a6f46b1b09dbd6ed290ae619.tar.gz llvm-0cca9e4baa0073a5a6f46b1b09dbd6ed290ae619.tar.bz2 |
[compiler-rt] Remove enable_execute_stack support on arm64 Darwin (#158386)
`enable_execute_stack` is not supported on arm64 Darwin because:
- It calls mprotect with `PROT_WRITE | PROT_EXEC`, which is rejected on
this platform.
- It assumes a fixed 4K page size, which is not guaranteed.
This change disables building `enable_execute_stack` on arm64 Darwin and
fixes the failing test:
`compiler-rt/test/builtins/Unit/enable_execute_stack_test.c`.
rdar://159705691
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions