This patch adds support for an RAII struct that will print function
traces when placed inside of a function declaration. Each successive
call will increase the indentation to make it easier to visually
inspect.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/DeviceRTL/include/Debug.h | ||
---|---|---|
32 | Wasn't sure what to call it, could be like FunctionTrace or something. |
Comment Actions
LG, one nit.
openmp/libomptarget/DeviceRTL/src/Debug.cpp | ||
---|---|---|
42 | This needs to be in shared memory. static works fine, no namespace needed. |
Comment Actions
Changing to shared, removing FILE because it includes the whole path and takes up a lot of space.
openmp/libomptarget/DeviceRTL/src/Debug.cpp | ||
---|---|---|
52 | There are four placeholders but only three arguments. What is the last %u? |