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

2016-08-17 Thread Greg Clayton via lldb-dev
nt: Tuesday, August 16, 2016 11:42 AM > To: Lei Kong > Cc: Lei Kong via lldb-dev > Subject: Re: [lldb-dev] Search C++ "virtual" objects > > > > On Aug 15, 2016, at 4:59 PM, Lei Kong wrote: > > > > Should I use lldb::SBTarget::GetModuleAtIndex() to ge

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

2016-08-17 Thread Lei Kong via lldb-dev
m> Cc: Lei Kong via lldb-dev<mailto:lldb-dev@lists.llvm.org> Subject: Re: [lldb-dev] Search C++ "virtual" objects > On Aug 15, 2016, at 4:59 PM, Lei Kong wrote: > > Should I use lldb::SBTarget::GetModuleAtIndex() to get all modules and then > lldb::SBModule

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

2016-08-16 Thread Greg Clayton via lldb-dev
> On Aug 15, 2016, at 4:59 PM, Lei Kong wrote: > > Should I use lldb::SBTarget::GetModuleAtIndex() to get all modules and then > lldb::SBModule::GetSymbolAtIndex() to go through all symbols? > Thanks. This is the only way right now as we don't have a SBModule::FindSymbols that takes a regular

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

2016-08-15 Thread Lei Kong via lldb-dev
org> Sent: Monday, August 15, 2016 04:44 PM To: Greg Clayton<mailto:gclay...@apple.com> Cc: lldb-dev@lists.llvm.org<mailto:lldb-dev@lists.llvm.org> Subject: Re: [lldb-dev] Search C++ "virtual" objects Thanks much for all the useful information! I was able to get all vtable info

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

2016-08-15 Thread Lei Kong via lldb-dev
lvm.org> Subject: Re: [lldb-dev] Search C++ "virtual" objects > On Aug 12, 2016, at 4:55 PM, Lei Kong via lldb-dev > wrote: > > On Linux, given a core dump file, an executable and its symbols, is it > possible to do the following in LLDB (maybe with a LLDB ext

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

2016-08-12 Thread Greg Clayton via lldb-dev
> On Aug 12, 2016, at 4:55 PM, Lei Kong via lldb-dev > wrote: > > On Linux, given a core dump file, an executable and its symbols, is it > possible to do the following in LLDB (maybe with a LLDB extension)? > > 1. Get the list of all C++ virtual types (classes with virtual function >