[libcxx-commits] [libcxx] [libc++] Protect the libc++ implementation from CUDA SDK's `__noinline__` macro (PR #73838)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 1 11:32:14 PST 2023


philnik777 wrote:

> > There can be basically any string after the `::` that clang has to accept
> 
> But then it wouldn't have the desired noinline effect, right?

Yes, but TBH I don't think that's a huge problem. We've had the functions inlined for a few releases and not that many people seemed to care. I think it's fair to say "our code works with cuda, but please complain to the cuda sdk people that they shouldn't break `__noinline__` for everybody".

https://github.com/llvm/llvm-project/pull/73838


More information about the libcxx-commits mailing list