[llvm] [aarch64] Mix the frame pointer with the stack cookie when protecting the stack (PR #161114)
Leandro Lupori via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 30 04:53:56 PST 2025
luporl wrote:
Hi. This PR broke Windows on ARM builders:
- https://lab.llvm.org/buildbot/#/builders/161/builds/9433
NOTE: this PR was in the previous build, but the failures appeared only in 9433 because it triggered a clean build.
- https://lab.llvm.org/buildbot/#/builders/124/builds/1750
The failures are all similar to the one below:
```
# executed command: env 'LLVM_PROFILE_FILE=C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\build\runtimes\runtimes-bins\compiler-rt\test\profile\Profile-aarch64\Windows\Output\coverage-weak-lld.cpp.tmp.profraw' 'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\build\runtimes\runtimes-bins\compiler-rt\test\profile\Profile-aarch64\Windows\Output\coverage-weak-lld.cpp.tmp1'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000409
```
0xc0000409 is STATUS_STACK_BUFFER_OVERRUN (Security check failure or stack buffer overrun).
The backtrace points to `__report_gsfailure`, which seems to be invoked when a stack cookie check fails.
https://github.com/llvm/llvm-project/pull/161114
More information about the llvm-commits
mailing list