[PATCH] D125904: [Cuda] Use fallback method to mangle externalized decls if no CUID given

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 09:47:31 PDT 2022


jhuber6 updated this revision to Diff 431702.
jhuber6 added a comment.

Adding extra commentto mention the hidden requirement that the driver shuold not define a different `-D` option for the host and device.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125904/new/

https://reviews.llvm.org/D125904

Files:
  clang/lib/CodeGen/CGCUDANV.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenModule.h
  clang/test/CodeGenCUDA/device-fun-linkage.cu
  clang/test/CodeGenCUDA/static-device-var-rdc.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125904.431702.patch
Type: text/x-patch
Size: 7498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220524/8625b660/attachment-0001.bin>


More information about the cfe-commits mailing list