[Lldb-commits] [PATCH] D80448: [lldb/Test] Add a trace method to replace (commented out) print statements.
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 22 10:43:26 PDT 2020
JDevlieghere created this revision.
JDevlieghere added reviewers: labath, teemperor, aprantl.
Herald added a subscriber: abidh.
While debugging replay failures I noticed that a lot of tests have print statements, sometimes commented out, which half of the time don't show up in the terminal anyway because dotest swallows the output.
We already have a good mechanism for these kind of things: the `-t` flag to enable tracing. I've added a `trace` method to replace these print statements. In this patch I've only updated the ones that are commented out, but I feel all the print statements in the API tests should be replaced by this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11626 bytes
Desc: not available
More information about the lldb-commits