[Openmp-commits] [llvm] [openmp] [OpenMP] Add OpenMP extension API to dump mapping tables (PR #85381)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 15 13:53:15 PDT 2024


================
@@ -187,4 +189,13 @@ inline uint32_t getDebugLevel() {
     }                                                                          \
   } while (false)
 
+#define DUMP_INFO(always, _flags, _id, ...)                                    \
+  do {                                                                         \
+    if (always) {                                                              \
----------------
jhuber6 wrote:

Why do we need this? The old interface was always guarded by `if (get_info() == ...)` so why do we need this `always` field now?

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


More information about the Openmp-commits mailing list