mehdi_amini added a comment.

Also note that @chandlerc in r290398 made clang adding "noinline" on every 
function at O0 by default, which seems very similar to what I'm doing here.

We're still waiting for @rsmith to comment whether it'd be better to `have a 
LangOpts flag that basically means "pragma clang optimize off is always in 
effect."` and `Have Sema pretend the pragma is in effect at all times, at -O0`.


https://reviews.llvm.org/D28404



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to