[Lldb-commits] [PATCH] D12658: Search variables based on clang::DeclContext and clang::Decl tree
Paul Herman via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 14 17:35:17 PDT 2015
paulherman added a comment.
I just ran a grep through the source. It seems that everywhere it is created as a shared_ptr. In a previous attempt I tried storing it in the TypeSystem map from decl to object as Variable* instead of VariableSP and it seemed like at some point between launching a query and getting the value of a variable there were no references so the pointer got deleted. Hence, I guess it is kinda needed here.
More information about the lldb-commits