================ @@ -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): ---------------- clayborg wrote:
Here you can just get the current thread's stack pointer for "there_is_only_one_of_me" and then get its region, and using the SBValue for "str1" and "str2" (see changes to the test program below), you can extract the pointer to the heap copy, and then use that address region. https://github.com/llvm/llvm-project/pull/95007 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits