[llvm] [Offload] Debug message update part 1 (PR #171672)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 04:46:17 PST 2025


================
@@ -738,12 +744,12 @@ EXTERN void *omp_get_mapped_ptr(const void *Ptr, int DeviceNum) {
                                                    /*UpdateRefCount=*/false,
                                                    /*UseHoldRefCount=*/false);
   if (!TPR.isPresent()) {
-    DP("Ptr " DPxMOD "is not present on device %d, returning nullptr.\n",
-       DPxPTR(Ptr), DeviceNum);
+    ODBG(ODT_Interface) << "Ptr " << Ptr
+                        << "is not present on device %d, returning nullptr";
----------------
adurang wrote:

```suggestion
                        << "is not present on device %d, returning nullptr.";
```

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


More information about the llvm-commits mailing list