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,

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] 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

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

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