[lldb-dev] DEBUG_PRINTF() macro

Zachary Turner via lldb-dev lldb-dev at lists.llvm.org
Wed Mar 13 09:39:17 PDT 2019


Apparently we have a macro called DEBUG_PRINTF() which, if you compile LLDB
with a special pre-processor setting enabled, will cause certain messages
to be printed to stdout while running LLDB.

Does anyone use this?  This seems like a kind of hacky alternative to
tracepoints and/or pretty printers, and in some cases is causing otherwise
dead code to be compiled into the binary, so there's some benefit to
removing it.

Is anyone opposed to removing all of this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190313/68e276c5/attachment.html>


More information about the lldb-dev mailing list