[cfe-dev] Varying per function optimisation based on include path?

Jon Chesterfield via cfe-dev cfe-dev at lists.llvm.org
Mon Aug 19 08:33:40 PDT 2019


Hello Clang,

There's a proposal in SG15 (http://wg21.link/p1832) with a suggestion to
more aggressively inline functions included via isystem when building for
-Og. The goal is to improve runtime performance for debug builds that make
heavy use of the STL.

Does clang already set various attributes based on whether a function was
found via -i or -isystem, and if not, does that seem a reasonable extension?

Thanks,

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190819/77d7ea27/attachment.html>


More information about the cfe-dev mailing list