[Lldb-commits] [PATCH] D62797: [Expression] Add PersistentExpressionState::SetCompilerTypeFromPersistentDecl
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Jun 2 16:44:40 PDT 2019
xiaobai created this revision.
xiaobai added reviewers: compnerd, davide, labath, JDevlieghere, aprantl, jingham.
Herald added a subscriber: mgorny.
PersistentStateExpressions (e.g. ClangPersistentVariables) have the
ability to define types using expressions that persist throughout the
debugging session. SetCompilerTypeFromPersistentDecl is a useful
operation to have if you need to use any of those persistently declared types,
like in CommandObjectMemory.
This decouples clang from CommandObjectMemory and decouples Plugins from
Commands in general.
https://reviews.llvm.org/D62797
Files:
include/lldb/Expression/ExpressionVariable.h
source/Commands/CMakeLists.txt
source/Commands/CommandObjectMemory.cpp
source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62797.202626.patch
Type: text/x-patch
Size: 5722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190602/7923bc42/attachment-0001.bin>
More information about the lldb-commits
mailing list