aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2021-12-22 13:58:43 +1100
committerLang Hames <lhames@gmail.com>2022-01-08 17:28:02 +1100
commit1d82e19f37df5958d2dfc24f75179ec077916cc4 (patch)
treec240825cb65944758354060e3a9d9af2b8a3f6f3 /lldb/source/Commands/CommandObjectScript.cpp
parent5b930691166cf4ea25aea84d89962d15495004f0 (diff)
downloadllvm-1d82e19f37df5958d2dfc24f75179ec077916cc4.zip
llvm-1d82e19f37df5958d2dfc24f75179ec077916cc4.tar.gz
llvm-1d82e19f37df5958d2dfc24f75179ec077916cc4.tar.bz2
[ORC-RT] Add debug logging macros.
Inspired by LLVM_DEBUG, but using environment variables rather than command line options. Code can use ORC_RT_DEBUG(...) (if ORC_RT_DEBUG_TYPE is set), or ORC_RT_DEBUG_WITH_TYPE(<type>, ...) (if ORC_RT_DEBUG_TYPE is not set. E.g. in headers). Debug logging is enabled in the executor by setting the ORC_RT_DEBUG environment variable. Debug logging can be restricted by type by setting the ORC_RT_DEBUG_TYPES environment variable to a comma separated list of types, e.g. ORC_RT_DEBUG_TYPES=macho_platform,sps. Differential Revision: https://reviews.llvm.org/D116139
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions