[Lldb-commits] [PATCH] D131328: [lldb] Support fetching symbols with dsymForUUID in the background

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 8 08:44:58 PDT 2022


labath added a comment.

In D131328#3706749 <https://reviews.llvm.org/D131328#3706749>, @JDevlieghere wrote:

> There was another approach I considered initially which might alleviate some of the issues Pavel raised. Instead of using the global thread pool, that plan consisted of a dedicated thread to fetch symbols in the background. That would allow us to add the symbol info synchronously. For example on every stop we could ask if there are any new symbol files to add instead of trying to add the symbol info as soon as it becomes available.

I kinda like that. Bonus points if you make that single thread download multiple files at the same time (using threads to paralelize downloading is not the best approach, since the task is not cpu-bound). :)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131328/new/

https://reviews.llvm.org/D131328



More information about the lldb-commits mailing list