diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-07-26 16:35:13 +0800 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-07-26 20:41:00 +0800 |
commit | f6f904745942540c7ea99c403b75b695ee560035 (patch) | |
tree | 743fcbeb72f90f348260f173ccab95d2e46957fc /linuxthreads/sysdeps/unix | |
parent | 89cddc8a7096f3d9225868304d2bc0a1aaf07d63 (diff) | |
download | glibc-f6f904745942540c7ea99c403b75b695ee560035.tar.gz glibc-f6f904745942540c7ea99c403b75b695ee560035.tar.xz glibc-f6f904745942540c7ea99c403b75b695ee560035.zip |
assert: Mark `__assert_fail` as `cold`
This helps compilers split the codegen for setting up the arguments (`__expression`, `__filename`, etc...) from the potentially hot cold where the `assert` is to a presumably cold region on the assertion failure path. Reviewed-by: Florian Weimer <fweimer@redhat.com> Reviewed-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'linuxthreads/sysdeps/unix')
0 files changed, 0 insertions, 0 deletions