summaryrefslogtreecommitdiff
path: root/libc/src/compiler
AgeCommit message (Collapse)Author
2025-07-23[libc][NFC] Add stdint.h proxy header to fix dependency issue with ↵lntue
<stdint.h> includes. (#150303) https://github.com/llvm/llvm-project/issues/149993
2024-12-31[libc] fix generic __stack_check_fail for fuchsia (#121401)Tristan Ross
2024-12-31[libc] add __stack_chk_guard to generic (#121121)Tristan Ross
2024-07-28[NFC] add newline after stack smashing message (#100958)Schrodinger ZHU Yifan
<img width="662" alt="smash newline" src="https://github.com/user-attachments/assets/99625bcb-efd6-4733-aa01-2a2167ee686f">
2023-12-19[libc] remove unnecessary dependency on assert from __stack_check_fail (#75985)Nick Desaulniers
2023-12-19[libc] __stack_chk_fail post submit test failures (#75962)Nick Desaulniers
Use a size smaller than the smallest supported page size so that we don't clobber over any guard pages, which may result in a segfault before __stack_chk_fail can be called. Also, move __stack_chk_fail outside of our namespace.
2023-12-19[libc] move __stack_chk_fail to src/ from startup/ (#75863)Nick Desaulniers
__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*`.