[clang] [llvm] [OpenMP][clang] Register Vtables on device for indirect calls (PR #159856)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 22 12:51:25 PDT 2025


================
@@ -605,6 +605,9 @@ class CGOpenMPRuntime {
                           LValue PosLVal, const OMPTaskDataTy::DependData &Data,
                           Address DependenciesArray);
 
+  /// Keep track of VTable Declarations so we don't register duplicate VTable.
+  llvm::DenseMap<CXXRecordDecl*, const VarDecl*> VTableDeclMap;
----------------
Jason-VanBeusekom wrote:

Fixed in https://github.com/llvm/llvm-project/commit/3cd3157cd806df78a071bf294fd9cc653dc60298

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


More information about the cfe-commits mailing list