Skip to content

Mark log and assertion functions with gnu::cold. #362

@duarten

Description

@duarten

Macros like LOG_THROW_IF can be used to check invariants in code that's executed often. They generate a lot of code, which can pollute the i-cache. Similarly for log statements.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions