]> sourceware.org Git - glibc.git/commit
assert: Mark `__assert_fail` as `cold` master
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 26 Jul 2024 08:35:13 +0000 (16:35 +0800)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 26 Jul 2024 12:41:00 +0000 (20:41 +0800)
commitf6f904745942540c7ea99c403b75b695ee560035
tree743fcbeb72f90f348260f173ccab95d2e46957fc
parent89cddc8a7096f3d9225868304d2bc0a1aaf07d63
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>
assert/assert.h
This page took 0.041765 seconds and 5 git commands to generate.