[HIP] Fix device stub name for Windows
authorYaxun (Sam) Liu <yaxun.liu@amd.com>
Mon, 8 Nov 2021 21:20:22 +0000 (16:20 -0500)
committerYaxun (Sam) Liu <yaxun.liu@amd.com>
Tue, 23 Nov 2021 17:03:49 +0000 (12:03 -0500)
commit38211bbab1d949f682271abba0171424a5a335ab
tree57cfaa86bcbeb8c4ef3dc01dca5d749d1109acbd
parent5c77aa2b917c5b21b3f9c6d355ca2f9a0a81b95d
[HIP] Fix device stub name for Windows

This is a follow up of https://reviews.llvm.org/D68578
where device stub name is changed for Itanium
mangling but not Microsoft mangling.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D113491
clang/include/clang/AST/GlobalDecl.h
clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenCUDA/kernel-stub-name.cu