Skip to content

[clang] [outliner] Make nooutline accessible from clang #144135

Open
@thughes

Description

@thughes

When LTO is enabled, outlining is performed. Right now the outliner is all-or-nothing, which is not always desirable. For example, consider an ASSERT macro that has instructions to generate a processor exception. We may not want this code to be outlined, since that would result in the PC reported by the exception handler to be inside the outlined function, rather than the function calling the ASSERT.

Can we make nooutline accessible from clang to disable specific statements/functions from being outlined?

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangClang issues not falling into any other category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions