Re: [lldb-dev] lldb command like gdb's "set auto-solib-add off"

2017-05-23 Thread Tamas Berghammer via lldb-dev
vation Center, Inc. is a member of Code Aurora Forum, a > Linux Foundation Collaborative Project > > > -Original Message- > > From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Jim > > Ingham via lldb-dev > > Sent: Monday, May 22, 2017 5:02 PM &

Re: [lldb-dev] lldb command like gdb's "set auto-solib-add off"

2017-05-22 Thread Ted Woodward via lldb-dev
a Linux Foundation Collaborative Project > -Original Message- > From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Jim > Ingham via lldb-dev > Sent: Monday, May 22, 2017 5:02 PM > To: Chunseok Lee > Cc: lldb-dev > Subject: Re: [lldb-dev] lldb command li

Re: [lldb-dev] lldb command like gdb's "set auto-solib-add off"

2017-05-22 Thread Jim Ingham via lldb-dev
In general, if lldb can find host-side copies of binaries that match the ones it finds on the device, it will do all symbol reading against the host copies. In the case of an OS X host debugging iOS, lldb uses Spotlight and a few other tricks to find the host-side binaries. You can also use "a

Re: [lldb-dev] lldb command like gdb's "set auto-solib-add off"

2017-05-22 Thread Chunseok Lee via lldb-dev
Thank you for your help. It would be really helpful to me. The reason behind the question is exactly what you mentioned. I am wokring on debugging in devices and it seems that shared library loading(I do not know lldb loads symbols lazyly) runs very slowly since my testing program depends on

Re: [lldb-dev] lldb command like gdb's "set auto-solib-add off"

2017-05-22 Thread Jim Ingham via lldb-dev
We designed lldb to be as lazy as possible in loading symbol information from the shared libraries as they get loaded. If this is causing you problems, the first thing to do is to figure out why lldb is pulling in more information than you need. For instance, it looks like on Linux the gdb JIT

[lldb-dev] lldb command like gdb's "set auto-solib-add off"

2017-05-22 Thread Chunseok Lee via lldb-dev
Hello. In gdb, I can toggle auto symbol loading using "set auto-solib-add off" command. I wonder that lldb has similar command for disabling auto shared library symbol loading? If not, where is the good starting point to review the source code to implement this feature? BR, Chunseok Lee__