[Lldb-commits] [PATCH] D17745: Fix bug with function resolution when using IR Interpreter

Ted Woodward via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 29 17:17:08 PST 2016

ted created this revision.
ted added a reviewer: spyffe.
ted added a subscriber: lldb-commits.

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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17745.49436.patch
Type: text/x-patch
Size: 12912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160301/5021285b/attachment.bin>

More information about the lldb-commits mailing list