ClangExpressionVariable previously was not capable of
handling multiple clients. However, occasionally an expression must be run in the service of another expression, and in this case two parsers need to access the same list of persistent variables. To allow this, persistent variables now provide state for multiple parsers, and parsers must allocate, access, and deallocate this state by providing their own ID (at the moment, simply the value of the "this" pointer). <rdar://problem/12914539> llvm-svn: 172573
Showing
- lldb/include/lldb/Expression/ClangExpressionDeclMap.h 10 additions, 0 deletionslldb/include/lldb/Expression/ClangExpressionDeclMap.h
- lldb/include/lldb/Expression/ClangExpressionVariable.h 51 additions, 20 deletionslldb/include/lldb/Expression/ClangExpressionVariable.h
- lldb/source/Expression/ClangExpressionDeclMap.cpp 117 additions, 84 deletionslldb/source/Expression/ClangExpressionDeclMap.cpp
Loading
Please register or sign in to comment