[all-commits] [llvm/llvm-project] 66ddc9: [OFFLOAD] Add support for more fine grained debug ...

Alex Duran via All-commits all-commits at lists.llvm.org
Thu Nov 20 09:40:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66ddc9b3e7e22a0c2464c54d96bc30c53ab9cbd1
      https://github.com/llvm/llvm-project/commit/66ddc9b3e7e22a0c2464c54d96bc30c53ab9cbd1
  Author: Alex Duran <alejandro.duran at intel.com>
  Date:   2025-11-20 (Thu, 20 Nov 2025)

  Changed paths:
    M offload/include/Shared/Debug.h
    M offload/libomptarget/OffloadRTL.cpp
    M offload/libomptarget/PluginManager.cpp
    M offload/plugins-nextgen/host/src/rtl.cpp

  Log Message:
  -----------
  [OFFLOAD] Add support for more fine grained debug messages control (#165416)

This PR introduces new debug macros that allow a more fined control of
which debug message to output and introduce C++ stream style for debug
messages.

Changing existing messages (except a few that I changed for testing)
will come in subsequent PRs.

I also think that we should make debug enabling OpenMP agnostic but, for
now, I prioritized maintaing the current libomptarget behavior for now,
and we might need more changes further down the line as we we decouple
libomptarget.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list