[Lldb-commits] [lldb] [lldb] Add 'FindInMemory()' overload for PostMortemProcess. (PR #102536)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 14 12:28:32 PDT 2024


labath wrote:

> The purpose of this it to make the `find memory` faster for post mortem processes. This patch gives us nearly 100x speed up based on my tests.

I see. And do you have an idea of how load-bearing that number is? For example, would you settle for a 18x speedup? That's what I got from #104193, with the advantage that it also works for live processes (with a ~6x speedup) and requires no new APIs.

With the addition of a copy-free ReadMemory API it could be made even faster (probably up to your 100x).

https://github.com/llvm/llvm-project/pull/102536


More information about the lldb-commits mailing list