Skip to content
Commit f6f90474 authored by Noah Goldstein's avatar Noah Goldstein
Browse files

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: default avatarFlorian Weimer <fweimer@redhat.com>
Reviewed-by: default avatarSam James <sam@gentoo.org>
parent 89cddc8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment