Re: [Lldb-commits] Prevent type canonization when dereferencing

2021-06-02 Thread Lasse Folger via lldb-commits
ctually > changing the result value of `GetChildCompilerTypeAtIndex`. It looks like > the return value for pointer types is computed independently from > `parent_qual_type` without any canonicalization. > > Cheers, > - Raphael > > On 2 Jun 2021, at 11:39, Lasse Folger via lldb-commits

[Lldb-commits] Prevent type canonization when dereferencing

2021-06-02 Thread Lasse Folger via lldb-commits
Hi lldb devs, I prepared a small patch to improve the type consistency when dereferencing values in lldb. The problem I'm trying to solve is that the type of a value is canonized (in clang) when the value is dereferenced. Without the patch the test I added would return the type TTuple instead of

Re: [Lldb-commits] Performing ManualDWARFIndex::Index() async during ManualDWARFIndex::Preload()

2021-02-07 Thread Lasse Folger via lldb-commits
te: > On 29/01/2021 16:25, Lasse Folger via lldb-commits wrote: > > Hi lldb devs, > > > > We experienced some issues when debugging large binaries. > > The startup time of lldb for large binaries is long (tens of seconds). > > One of the reasons is that the

Re: [Lldb-commits] Performing ManualDWARFIndex::Index() async during ManualDWARFIndex::Preload()

2021-01-29 Thread Lasse Folger via lldb-commits
. > Refactoring the code to not having to reaquire a contested global lock for > every DIE might help with improving startup time. > > Cheers, > - Raphael > > On 29 Jan 2021, at 16:25, Lasse Folger via lldb-commits < > lldb-commits@lists.llvm.org> wrote: > > Hi lldb

[Lldb-commits] Performing ManualDWARFIndex::Index() async during ManualDWARFIndex::Preload()

2021-01-29 Thread Lasse Folger via lldb-commits
Hi lldb devs, We experienced some issues when debugging large binaries. The startup time of lldb for large binaries is long (tens of seconds). One of the reasons is that the *ManualDWARFIndex::Index()* function is executed synchronously and thus blocks during startup. We would like to change this