================
@@ -0,0 +1,31 @@
+#extend lldb::SBSaveCoreOptions {
+#ifdef SWIGPYTHON
+ %pythoncode% {
+ '''Add a thread to the SaveCoreOptions thread list, and follow it's
children N pointers deep, adding each memory region to the SaveCoreOptions
Memory region list.'''
+ def save_thread_with_heaps(self, thread, num_pointers_deep = 3):
+ self.AddThread(thread)
+ frame = thread.GetFrameAtIndex(0)
+ process = thread.GetProcess()
+ queue = []
+ for var in frame.locals:
+ if var.TypeIsPointerType():
----------------
jeffreytan81 wrote:
This API is deprecated per doc. You should use SBType::IsPointerType() and also
check reference type.
https://github.com/llvm/llvm-project/pull/111601
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits