hanchenye-llvm-project/lldb/source/Expression
Ted Woodward 7071c5fd64 Fix bug with function resolution when using IR Interpreter
Summary: Recent changes to the expression parser broke function name resolution when using the IR interpreter instead of JIT. This patch changes the IRMemoryMap ivar in InterpreterStackFrame to an IRExecutionUnitSP (which is a subclass), allowing InterpreterStackFrame::ResolveConstantValue() to call FindSymbol() on the name of the Value when it's a FunctionVal. It also changes IRExecutionUnit::FindInSymbols() to call GetFileAddress() on the symball if ResolveCallableAddress() fails and there is no valid Process.

Reviewers: spyffe

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D17745

llvm-svn: 262407
2016-03-01 21:53:26 +00:00
..
CMakeLists.txt Create an expression parser for Go. 2015-11-02 19:30:40 +00:00
DWARFExpression.cpp DWARFExpression: Don't resolve load address in DW_OP_plus 2016-03-01 15:01:05 +00:00
Expression.cpp This patch makes Clang-independent base classes for all the expression types that lldb currently vends. 2015-09-15 21:13:50 +00:00
ExpressionSourceCode.cpp Take 2: Use an artifical namespace so that member vars do not hide local vars. 2016-02-05 19:10:04 +00:00
ExpressionVariable.cpp Now persistent expression data no longer lives with the Target, but rather with 2015-09-30 19:57:57 +00:00
FunctionCaller.cpp Moved more Clang-specific parts of the expression parser into the Clang plugin. 2015-09-25 20:35:58 +00:00
IRDynamicChecks.cpp Removed many JIT workarounds from IRForTarget. 2016-02-13 00:01:46 +00:00
IRExecutionUnit.cpp Fix bug with function resolution when using IR Interpreter 2016-03-01 21:53:26 +00:00
IRInterpreter.cpp Fix bug with function resolution when using IR Interpreter 2016-03-01 21:53:26 +00:00
IRMemoryMap.cpp Fix all of the unannotated switch cases to annotate the fall through or do the right thing and break. 2016-02-26 01:20:20 +00:00
LLVMUserExpression.cpp Fix bug with function resolution when using IR Interpreter 2016-03-01 21:53:26 +00:00
Materializer.cpp Revert "Fix bug with register values byte order in expression evaluation." 2016-02-27 22:48:50 +00:00
REPL.cpp Add -Wimplicit-fallthrough command line option to clang in 2016-02-16 04:14:33 +00:00
UserExpression.cpp Add the ability to pass an EvaluateExpressionOptions when you make a UserExpression. This 2015-11-03 02:11:24 +00:00
UtilityFunction.cpp Reduce header inclusion in Expression. 2015-10-07 17:22:54 +00:00