[all-commits] [llvm/llvm-project] a50e54: [CUDA] Temporarily undefine __noinline__ when incl...

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon May 1 16:27:56 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a50e54fbeb48fb8a218a2914d827e1087bae2f8d
  Author: Artem Belevich <tra at google.com>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/cuda_wrappers/bits/shared_ptr_base.h

  Log Message:
  [CUDA] Temporarily undefine __noinline__ when including bits/shared_ptr_base.h

This avoid CUDA compilation errors caused by CUDA headers defining __noinline__
and conflicting with __noinline__ use in libstdc++.

Differential Revision: https://reviews.llvm.org/D149364

More information about the All-commits mailing list