diff options
author | Nick Desaulniers <nickdesaulniers@users.noreply.github.com> | 2023-12-19 11:05:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 11:05:12 -0800 |
commit | 315a5cce89d8f15da5c47d85abbc8155b9c0f0b0 (patch) | |
tree | 14be834af68c522fe0cd28c8ce0cb15a44a91825 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 0768253c20402c8a7a357210923c6867efc0ef5c (diff) | |
download | llvm-315a5cce89d8f15da5c47d85abbc8155b9c0f0b0.zip llvm-315a5cce89d8f15da5c47d85abbc8155b9c0f0b0.tar.gz llvm-315a5cce89d8f15da5c47d85abbc8155b9c0f0b0.tar.bz2 |
[libc] move __stack_chk_fail to src/ from startup/ (#75863)
__stack_chk_fail should be provided by libc.a, not startup files.
Add __stack_chk_fail to existing linux and arm entrypoints. On Windows
(when
not targeting MinGW), it seems that the corresponding function
identifier is
__security_check_cookie, so no entrypoint is added for Windows.
Baremetal
targets also ought to be compileable with `-fstack-protector*`
There is no common header for this prototype, since calls to
__stack_chk_fail
are meant to be inserted by the compiler upon function return when
compiled
`-fstack-protector*`.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions