[cfe-dev] limiting inlining

Roman Divacky rdivacky at freebsd.org
Thu Sep 24 12:18:03 PDT 2009


hi

I need clang to support --param max-inline-insns* (mostly max-inline-insns-single)
to be able to compile FreeBSD loader (or.. to be able to compile it under some
limited size). I was looking in llvm and I found "inline-threshold" but
I dont know how this is invoked.

can you help me shed some light on how this is done so I can provide a patch?

thank you!

roman




More information about the cfe-dev mailing list