Open
Description
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?