[openmp] [clang] [llvm] [OpenMP] Rework handling of global ctor/dtors in OpenMP (PR #71739)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 09:32:01 PST 2023


================
@@ -313,12 +313,18 @@ static void registerGlobalCtorsDtorsForImage(__tgt_bin_desc *Desc,
         DP("Adding ctor " DPxMOD " to the pending list.\n",
            DPxPTR(Entry->addr));
         Device.PendingCtorsDtors[Desc].PendingCtors.push_back(Entry->addr);
+        MESSAGE("Calling deprecated constructor for entry %s will be removed "
----------------
jdoerfert wrote:

Add "WARNING: ", or similar.

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


More information about the llvm-commits mailing list