[PATCH] D122734: [CUDA][HIP] Fix mangling number for local struct

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 12:27:43 PDT 2022


yaxunl updated this revision to Diff 422001.
yaxunl retitled this revision from "[HIP] Fix mangling number for local struct" to "[CUDA][HIP] Fix mangling number for local struct".
yaxunl edited the summary of this revision.
yaxunl added a comment.
Herald added a subscriber: carlosgalvezp.

Use Itaninium mangling number for mangling device side name
in host compilation only. Keep host name mangling consistent
with C++ programs.


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

https://reviews.llvm.org/D122734

Files:
  clang/include/clang/AST/ASTContext.h
  clang/lib/AST/ASTContext.cpp
  clang/lib/AST/MicrosoftCXXABI.cpp
  clang/lib/CodeGen/CGCUDANV.cpp
  clang/test/CodeGenCUDA/struct-mangling-number.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122734.422001.patch
Type: text/x-patch
Size: 4977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220411/d95b5cfe/attachment-0001.bin>


More information about the cfe-commits mailing list