[cfe-dev] Optimize a specific function

Job Noorman jobnoorman at gmail.com
Tue Jun 28 00:50:09 PDT 2011


First of all, I'm not sure if this is the right place to ask this question so 
please point me another place if it isn't.

It seems that clang doesn't support GCC's syntax for optimizing a specific 
function. For example:

void __attribute__((optimize("omit-frame-pointer"))) foo() {}

Will this ever be supported or is there another way in clang to accomplish the 
same?

Job



More information about the cfe-dev mailing list