[llvm-dev] Printing while developing on LLVM/Clang code

Deep Majumder via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 11 04:20:41 PST 2021


Hi everyone,
I have found that `print <expr>` often doesn't work while running a debug
build of clang in lldb. So I have to resort to print statements. Since
<iostream> is not used inside LLVM/Clang code, I have to include it in
manually and remember to remove it before committing. Is there a better way
to do this, either in lldb or insert print statements?
Warm regards,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210211/bd46cf27/attachment.html>


More information about the llvm-dev mailing list