Re: [lldb-dev] RFC: libtrace

2018-06-27 Thread Pavel Labath via lldb-dev
On Wed, 27 Jun 2018 at 01:14, Zachary Turner via lldb-dev wrote: > > Yes that’s what I’ve been thinking about as well. > > One thing I’ve been giving a lot of thought to is whether to serialize the > handling of trace events. I want to balance the “this is a library and you > should be able to

[lldb-dev] Add LLDB Repository to Phabricator

2018-06-27 Thread Jonas Devlieghere via lldb-dev
Hi, It’s currently not possible to set the correct repository for lldb code reviews. Could someone with the right privileges add LLDB to the list of active repositories? (https://reviews.llvm.org/diffusion/) Thanks, Jonas ___ lldb-dev mailing list lld

[lldb-dev] [Bug 37950] New: ExecutionContext::GetByteOrder() always returns endian::InlHostByteOrder()

2018-06-27 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=37950 Bug ID: 37950 Summary: ExecutionContext::GetByteOrder() always returns endian::InlHostByteOrder() Product: lldb Version: unspecified Hardware: PC OS: Linux

[lldb-dev] Support of a lookup of variables values with PDB

2018-06-27 Thread Aleksandr Urakov via lldb-dev
Hello! We want to add to LLDB a support of a lookup of variables values with PDB. Now SymbolFilePDB::ParseVariableForPDBData function uses an empty location for variables, so e.g. `fr v` prints values as ''. Symbol location information is available in a PDB (through PDBSymbolData::getLocationTyp

Re: [lldb-dev] RFC: libtrace

2018-06-27 Thread Zachary Turner via lldb-dev
suppose process A (single threaded) is tracing process B (2 threads). If trace events happen on both threads of B, then the second thread can’t continue until both threads’ trace events have been fully handled, synchronously. If process A has a second thread though, the tracer thread can enqueue wo

Re: [lldb-dev] RFC: libtrace

2018-06-27 Thread Pavel Labath via lldb-dev
On Wed, 27 Jun 2018 at 14:11, Zachary Turner wrote: > > suppose process A (single threaded) is tracing process B (2 threads). If > trace events happen on both threads of B, then the second thread can’t > continue until both threads’ trace events have been fully handled, > synchronously. If proc

Re: [lldb-dev] Support of a lookup of variables values with PDB

2018-06-27 Thread Greg Clayton via lldb-dev
> On Jun 27, 2018, at 5:25 AM, Aleksandr Urakov via lldb-dev > wrote: > > Hello! > > We want to add to LLDB a support of a lookup of variables values with PDB. > > Now SymbolFilePDB::ParseVariableForPDBData function uses an empty location > for variables, so e.g. `fr v` prints values as ''.

Re: [lldb-dev] RFC: libtrace

2018-06-27 Thread Jim Ingham via lldb-dev
> On Jun 26, 2018, at 5:14 PM, Zachary Turner wrote: > > Yes that’s what I’ve been thinking about as well. > > One thing I’ve been giving a lot of thought to is whether to serialize the > handling of trace events. I want to balance the “this is a library and you > should be able to get it to

Re: [lldb-dev] RFC: libtrace

2018-06-27 Thread Jim Ingham via lldb-dev
The major difference between the way lldb works now and what a simple tracer library is going to want w.r.t. reporting events is that lldb currently assumes either (a)control gets returned to the user with the process stopped and they will examine it at their leisure (b) that the user restart

[lldb-dev] building only lldb with debug symbols

2018-06-27 Thread Adrian Harris via lldb-dev
Hi Everyone, I'm writing a gdb-server for a new architecture and need to be able to debug lldb to track down issues. Unfortunately disk space is tight here and the llvm debug build consumes north of 40Gb with debug symbols. Is there any way to build *only* lldb with debug symbols (and no optimi