Re: [lldb-dev] Difficulty in using target.source-map to map source files

2017-08-28 Thread karnajit wangkhem via lldb-dev
Thanks for the info. I will keep that in mind. On Mon, Aug 28, 2017 at 11:05 PM, Jim Ingham wrote: > That will be great! Last time we were more aggressive about normalizing > paths we caused a decent performance regression by normalizing all the > paths every time we did a file-name compare for

Re: [lldb-dev] Difficulty in using target.source-map to map source files

2017-08-28 Thread Jim Ingham via lldb-dev
That will be great! Last time we were more aggressive about normalizing paths we caused a decent performance regression by normalizing all the paths every time we did a file-name compare for setting breakpoints. If you look at FileSpec::Equal we added some "is it worth doing this work" prepara

Re: [lldb-dev] Difficulty in using target.source-map to map source files

2017-08-28 Thread karnajit wangkhem via lldb-dev
Thanks Jim for the help. I would definitely like to work on this PR soon. Filed the PR here https://bugs.llvm.org/show_bug.cgi?id=34341 Regards, Karan On Thu, Aug 24, 2017 at 11:17 PM, Jim Ingham wrote: > > > On Aug 24, 2017, at 10:06 AM, karnajit wangkhem > wrote: > > > > Hi Jim, > > > > Tha

Re: [lldb-dev] Difficulty in using target.source-map to map source files

2017-08-24 Thread Jim Ingham via lldb-dev
> On Aug 24, 2017, at 10:06 AM, karnajit wangkhem wrote: > > Hi Jim, > > Thanks for the valuable reply. Please find my comments inline. > > Regards, > Karan > > On Wed, Aug 23, 2017 at 12:32 AM, Jim Ingham wrote: > > > On Aug 21, 2017, at 12:02 PM, karnajit wangkhem via lldb-dev > > wrote

Re: [lldb-dev] Difficulty in using target.source-map to map source files

2017-08-24 Thread karnajit wangkhem via lldb-dev
Hi Jim, Thanks for the valuable reply. Please find my comments inline. Regards, Karan On Wed, Aug 23, 2017 at 12:32 AM, Jim Ingham wrote: > > > On Aug 21, 2017, at 12:02 PM, karnajit wangkhem via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > > > > Hi All, > > > > Below is a sample example, wh

Re: [lldb-dev] Difficulty in using target.source-map to map source files

2017-08-22 Thread Jim Ingham via lldb-dev
> On Aug 21, 2017, at 12:02 PM, karnajit wangkhem via lldb-dev > wrote: > > Hi All, > > Below is a sample example, where target.source-map seems to have a > limitation. The limitation seems to be because > 1. lldb does not have an equivalent command like directory in gdb The gdb "dir" comma

[lldb-dev] Difficulty in using target.source-map to map source files

2017-08-21 Thread karnajit wangkhem via lldb-dev
Hi All, Below is a sample example, where target.source-map seems to have a limitation. The limitation seems to be because 1. lldb does not have an equivalent command like directory in gdb 2. target.source-map does not accept multiple mapping entries. I checked this only with freebsd. (lldb) setti