[all-commits] [llvm/llvm-project] 277b68: [OpenMP] Add function tracing debugging to device RTL

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Sep 22 09:25:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 277b681edec2ee4394c7e62a118ad21b2cbbb227
      https://github.com/llvm/llvm-project/commit/277b681edec2ee4394c7e62a118ad21b2cbbb227
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/include/Configuration.h
    M openmp/libomptarget/DeviceRTL/include/Debug.h
    M openmp/libomptarget/DeviceRTL/src/Configuration.cpp
    M openmp/libomptarget/DeviceRTL/src/Debug.cpp

  Log Message:
  -----------
  [OpenMP] Add function tracing debugging to device RTL

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.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D110202




More information about the All-commits mailing list