[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

Miro Bucko via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 12 10:21:24 PDT 2024


================
@@ -0,0 +1,31 @@
+import lldb
+
+SINGLE_INSTANCE_PATTERN = "there_is_only_one_of_me"
+DOUBLE_INSTANCE_PATTERN = "there_is_exactly_two_of_me"
+
+
+def GetAddressRanges(test_base):
----------------
mbucko wrote:

Why not just store them all on stack and only use one region to search through?

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


More information about the lldb-commits mailing list