================ @@ -321,6 +302,27 @@ bool Variable::IsInScope(StackFrame *frame) { return false; } +bool Variable::IsInScope(Block &block, Address addr) { ---------------- felipepiovezan wrote:
>Like >[std::shared_ptr](https://en.cppreference.com/w/cpp/memory/shared_ptr.html), a >typical implementation of weak_ptr stores two pointers: a pointer to the control block; and the stored pointer of the shared_ptr it was constructed from. Seems like it is cheap? https://github.com/llvm/llvm-project/pull/143572 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits