On 7 May 2015 at 01:03, Vince Harron <[email protected]> wrote:
> Okay, I don't know what I was thinking.
>
> Debugger.cpp:1317
> It's re-using an existing stream if the filename is identical.
>
> The stomping that Ed is seeing might be solvable by using the -t flag as Jim
> suggests.
Possibly - I only looked into this when I was first getting started
with LLDB and enabled a large set of log channels to try to understand
how everything worked. I distinctly recall that log entries were
completely missing though, not just "interweaved" as the help for -t
suggests.
Ah, this seems a bit bizarre:
if (log_options == 0)
log_options = LLDB_LOG_OPTION_PREPEND_THREAD_NAME |
LLDB_LOG_OPTION_THREADSAFE;
so by default we get the thread name and threadsafe logging, but if
any options are set then they are not automatically set.
Oh, but I don't see anywhere LLDB_LOG_OPTION_THREADSAFE is checked.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev