[all-commits] [llvm/llvm-project] 73daeb: [CUDA] Make sure <string.h> is included with origi...

Artem Belevich via All-commits all-commits at lists.llvm.org
Fri Oct 22 00:40:30 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 73daeb3d507f7c8da52a35311ec1799f161ac7a5
      https://github.com/llvm/llvm-project/commit/73daeb3d507f7c8da52a35311ec1799f161ac7a5
  Author: Artem Belevich <tra at google.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M clang/lib/Headers/__clang_cuda_runtime_wrapper.h

  Log Message:
  -----------
  [CUDA] Make sure <string.h> is included with original __THROW defined.

Otherwise we may end up with an inconsistent redeclarations of the standard
library functions if _FORTIFY_SOURCE is in effect.

https://bugs.llvm.org/show_bug.cgi?id=47869

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

(cherry picked from commit 29e00b29f76adb15a51c1ccd6c1fdb6fce5f4d7b)




More information about the All-commits mailing list