[llvm] [offload] Fix build with debug libomptarget (PR #159144)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 16 11:27:22 PDT 2025


================
@@ -856,7 +856,7 @@ Error GenericDeviceTy::deinit(GenericPluginTy &Plugin) {
 }
 Expected<DeviceImageTy *> GenericDeviceTy::loadBinary(GenericPluginTy &Plugin,
                                                       StringRef InputTgtImage) {
-  DP("Load data from image " DPxMOD "\n", DPxPTR(InputTgtImage->ImageStart));
+  DP("Load data from image\n");
----------------
jhuber6 wrote:

This should work if we want to keep the debug message unique to the images loaded. Though honestly I think all of this debug handling should be torn out and redone.

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


More information about the llvm-commits mailing list