Re: [lldb-dev] Search C++ "virtual" objects

2016-08-17 Thread Lei Kong via lldb-dev
I’d like to add FindSymbolsByRegex, please let me know what I need to do. Thanks. Sent from Mail for Windows 10 From: Greg Clayton Sent: Tuesday, August 16, 2016 11:42 AM To: Lei Kong Cc: Lei Kong v

Re: [lldb-dev] Breakpoint + callback performance ... Can it be faster?

2016-08-17 Thread Pavel Labath via lldb-dev
Hello Benjamin, all, the lldb-server implementation in linux works exactly the same way as debugserver does on osx -- it runs out of process and uses sockets to communicate with the client. The socketpair() optimization that Jim is talking about is not enabled there yet - I want to do some benchma

Re: [lldb-dev] Code Coverage with GCOV

2016-08-17 Thread Ravitheja Addepally via lldb-dev
Hello, I added the following lines to the lldb-server and lldb CMakeLists.txt set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage") I am able to get the lldb-server gcov files when I start

[lldb-dev] showing CPU register flags

2016-08-17 Thread Giusti, Valentina via lldb-dev
Hi everyone, I am currently implementing the support for the Intel MPX registers in LLDB. This register set includes 2 registers, BNDSTATUS and BNDCFGU, which store information about the status and configuration of the MPX feature in several fields. I think that it would be useful for the user

Re: [lldb-dev] Code Coverage with GCOV

2016-08-17 Thread Vedant Kumar via lldb-dev
Is it possible that the files are written to an unexpected directory? Have you tried running the program under strace/dtruss to conclusively determine whether or not the files are being written? Could you try running lldb-server in lldb and setting a breakpoint on `llvm_gcda_start_file'? vedant >

Re: [lldb-dev] showing CPU register flags

2016-08-17 Thread Jim Ingham via lldb-dev
We've talked about providing a more natural view of registers that are logically made of subfields, as you describe, but I don't think any work has been done on that front. The ValueObjectRegister has a couple of ways to implement this display. The ValueObjectRegisters can be given a type, and

Re: [lldb-dev] Search C++ "virtual" objects

2016-08-17 Thread Greg Clayton via lldb-dev
You should add it to both SBModule and SBTarget. To add new APIs you need to: - add function prototype to include/lldb/API/SBModule.h and include/lldb/API/SBTarget.h - add function body to source/API/SBModule.cpp and source/API/SBTarget.cpp - add function prototype to Swig interface files script

Re: [lldb-dev] showing CPU register flags

2016-08-17 Thread Greg Clayton via lldb-dev
> On Aug 17, 2016, at 8:17 AM, Giusti, Valentina via lldb-dev > wrote: > > Hi everyone, > > I am currently implementing the support for the Intel MPX registers in LLDB. > This register set includes 2 registers, BNDSTATUS and BNDCFGU, which store > information about the status and configurati