augusto2112 wrote:

> > By profiling LLDB debugging a Swift application without a dSYM and a large 
> > amount of .o files, I identified that querying shared modules was the 
> > biggest bottleneck when running "frame variable", and Clang types need to 
> > be searched.
> 
> Could you elaborate why this is Swift specific? Is it because it's happening 
> down some Clang modules codepath?

This happens when doing a global `FindTypes` search looking for a specific 
Clang type, and there are lots of modules to search through. I'm not sure if 
this is Swift specific though, in theory this could happen anywhere that we do 
a global FindTypes search, and should speed up any queries to find shared 
modules.

https://github.com/llvm/llvm-project/pull/152054
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to