[Openmp-commits] [PATCH] D110202: [OpenMP] Add function tracing debugging to device RTL

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 27 09:58:56 PDT 2021


jhuber6 added inline comments.


================
Comment at: openmp/libomptarget/DeviceRTL/src/Debug.cpp:52
+    PRINTF("Line %u: Thread %u Entering %s:%u\n", Line,
+           mapping::getThreadIdInBlock(), Function);
+    Level++;
----------------
tianshilei1992 wrote:
> There are four placeholders but only three arguments. What is the last `%u`?
Fixed in D112002, but it hasn't been reviewed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110202/new/

https://reviews.llvm.org/D110202



More information about the Openmp-commits mailing list