[LLVMdev] Could I explicitly tell clang not inline some functions?

Óscar Fuentes ofv at wanadoo.es
Wed Jan 30 16:39:29 PST 2013


Linhai <songlh at cs.wisc.edu> writes:

>    I am wondering whether there are some ways I can tell clang not
> inline some or all functions.

Maybe

__attribute__ ((noinline)) int foo(int x) {
  return x+x;
}

Clang has its own mailing list, where most clang experts are. See
http://clang.llvm.org/




More information about the llvm-dev mailing list