[Lldb-commits] [lldb] r248970 - Changed PersistentExpressionState to allow symbol lookups. Clang doesn't
Sean Callanan via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 30 17:38:06 PDT 2015
Author: spyffe
Date: Wed Sep 30 19:38:06 2015
New Revision: 248970
URL: http://llvm.org/viewvc/llvm-project?rev=248970&view=rev
Log:
Changed PersistentExpressionState to allow symbol lookups. Clang doesn't
report any (yet).
Modified:
lldb/trunk/include/lldb/Expression/ExpressionVariable.h
lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
Modified: lldb/trunk/include/lldb/Expression/ExpressionVariable.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/ExpressionVariable.h?rev=248970&r1=248969&r2=248970&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Expression/ExpressionVariable.h (original)
+++ lldb/trunk/include/lldb/Expression/ExpressionVariable.h Wed Sep 30 19:38:06 2015
@@ -291,6 +291,10 @@ public:
virtual void
RemovePersistentVariable (lldb::ExpressionVariableSP variable) = 0;
+
+ virtual lldb::addr_t
+ LookupSymbol (const ConstString &name) = 0;
+
private:
LLVMCastKind m_kind;
};
Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h?rev=248970&r1=248969&r2=248970&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h Wed Sep 30 19:38:06 2015
@@ -69,6 +69,9 @@ public:
void
RemovePersistentVariable (lldb::ExpressionVariableSP variable) override;
+
+ lldb::addr_t
+ LookupSymbol (const ConstString &name) override { return LLDB_INVALID_ADDRESS; }
void
RegisterPersistentType (const ConstString &name,
More information about the lldb-commits
mailing list