noinlining in clang/llvm

Chandler Carruth at a CppCon/NWCPP talk said that Clang will not
respect the noinline gcc attribute (or clang attribute).

Sometimes it is needed for semantic correctness that a method not be
inlined (e.g. for GC lifetime visibility etc.)

Is this true?

Video: CppCon 2017 - Optimizing Code Speed and Space with Build Time Switches - YouTube

My understanding is that the portion of the talk you’ve linked to, is in the context of profiling hints (e.g. if profiling detects just a single callsite for a specific function, always inline its code, that sort of thing).

The noinline attribute works just fine.