[lldb-dev] Logging for multiple targets

Tatyana Krasnukha via lldb-dev lldb-dev at lists.llvm.org
Mon Nov 30 04:43:01 PST 2020

Hi lldb-dev,

Looking at a log produced by multiple targets I hardly can find out which message corresponds to which target. I find a way to distinct them, e.g. by prepending messages with "[target_id]". Putting an id to every message manually is not a choice obviously.

What do you think about having an optional target_id/execution_context inside the Log class or having an additional map with target-dependent logs? Maybe there are other options I missed?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20201130/0c89afbb/attachment-0001.html>

More information about the lldb-dev mailing list