[all-commits] [llvm/llvm-project] c31217: StackProtector: Use RuntimeLibcalls to query libca...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Jul 15 02:35:57 PDT 2025
Branch: refs/heads/users/arsenm/stack-protector/use-runtime-libcalls-for-libcall-names
Home: https://github.com/llvm/llvm-project
Commit: c312171fab37ce55ceed897d12b2b4217eda604e
https://github.com/llvm/llvm-project/commit/c312171fab37ce55ceed897d12b2b4217eda604e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-07-15 (Tue, 15 Jul 2025)
Changed paths:
M llvm/include/llvm/IR/RuntimeLibcalls.td
M llvm/lib/CodeGen/StackProtector.cpp
M llvm/lib/IR/RuntimeLibcalls.cpp
A llvm/test/CodeGen/NVPTX/no-stack-protector-libcall-error.ll
Log Message:
-----------
StackProtector: Use RuntimeLibcalls to query libcall names
The compiler should not introduce calls to arbitrary strings
that aren't defined in RuntimeLibcalls. Previously OpenBSD was
disabling the default __stack_chk_fail, but there was no record
of the alternative __stack_smash_handler function it emits instead.
This also avoids a random triple check in the pass.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list