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

stdlib: Mark `abort` as `cold`



This helps HotColdSplitting in GCC/LLVM.

Thought about doing `exit` as well since its only called once per
process, but since its easy to imagine a hot path leading into
`exit(0)`, its less clear if its profitable.

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 11ad033e
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