[PATCH] D116139: [ORC-RT] Add debug logging macros.
Lang Hames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 26 16:55:54 PST 2021
lhames updated this revision to Diff 396245.
lhames added a comment.
Use relaxed memory order.
Merge ORC_RT_DEBUG_TYPES functionality into the ORC_RT_DEBUG environment
variable: the empty string or '1' will be interpreted as "log everything",
otherwise the string will be interpreted as a comma-separated list of types
to log.
Add a printdbg function with printf-like behavior. Currently equivalent to
fprintf(stderr, format, ...), this is intended to make it easy to find and
replace the logging calls if/when we update the logging mechanism.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116139/new/
https://reviews.llvm.org/D116139
Files:
compiler-rt/lib/orc/CMakeLists.txt
compiler-rt/lib/orc/debug.cpp
compiler-rt/lib/orc/debug.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116139.396245.patch
Type: text/x-patch
Size: 4769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211227/e5d55f08/attachment.bin>
More information about the llvm-commits
mailing list