[llvm-branch-commits] [clang] [CUDA][HIP] fix virtual dtor host/device attr (PR #130126)

Yaxun Liu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Mar 19 11:22:07 PDT 2025


yxsamliu wrote:

> @yxsamliu (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

Fixed an issue about implicit device attributes of virtual destructors which causes undefined symbols for CUDA/HIP programs which use std::string as class members with C++20 and MSVC.

https://github.com/llvm/llvm-project/pull/130126


More information about the llvm-branch-commits mailing list