Re: [lldb-dev] LLDB Evolution

2016-08-15 Thread Pavel Labath via lldb-dev
I've sampled the python code from the llvm repository, and it seems to be using a mixture of 4-, 2-, and even 8- character indent, with 4 being the most prevalent. So, I think we can safely stay with status quo. It will take some editor tweaking to make it use the correct indent for different

Re: [lldb-dev] LLDB Evolution

2016-08-15 Thread David Jones via lldb-dev
On Mon, Aug 15, 2016 at 2:36 AM, Pavel Labath via lldb-dev < lldb-dev@lists.llvm.org> wrote: > I've sampled the python code from the llvm repository, and it seems to > be using a mixture of 4-, 2-, and even 8- character indent, with 4 > being the most prevalent. So, I think we can safely stay

[lldb-dev] [Bug 28989] New: lldb not sending SIGINT to inferior process

2016-08-15 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=28989 Bug ID: 28989 Summary: lldb not sending SIGINT to inferior process Product: lldb Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal

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

2016-08-15 Thread Lei Kong via lldb-dev
Thanks much for all the useful information! I was able to get all vtable information with the following command, but is there an API I could use in an extension? I have checked the obvious ones “SBSymbol*”, they do not seem to have functions for iterating/searching symbols. image lookup -A -r

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

2016-08-15 Thread Lei Kong via lldb-dev
Should I use lldb::SBTarget::GetModuleAtIndex() to get all modules and then lldb::SBModule::GetSymbolAtIndex() to go through all symbols? Thanks. Sent from Mail for Windows 10 From: Lei Kong via lldb-dev Sent:

Re: [lldb-dev] LLDB Evolution

2016-08-15 Thread Chris Lattner via lldb-dev
> On Aug 15, 2016, at 8:50 AM, David Jones via lldb-dev > wrote: > > On Mon, Aug 15, 2016 at 2:36 AM, Pavel Labath via lldb-dev > > wrote: > I've sampled the python code from the llvm repository, and it seems to