llvm-project/lldb/source/Expression
Jason Molenda 6e56c4961a Decr pc when looking for DWARF loc list entry mid-stack
When looking for a variable location in a DWARF location list,
we search the list of ranges to find one that includes the pc.
With a function mid-stack, the "pc" is the return pc instead of
the call instruction, and in optimized code this can be another
function or a different basic block (with different variable
locations).  Back up the "pc" value mid-stack to find the correct
location list entry.

Differential Revision: https://reviews.llvm.org/D124597
rdar://63903416
2022-04-29 14:34:06 -07:00
..
CMakeLists.txt [lldb] Remove Expression's dependency on CPlusPlusLanguagePlugin 2021-09-29 11:39:09 -07:00
DWARFExpression.cpp Decr pc when looking for DWARF loc list entry mid-stack 2022-04-29 14:34:06 -07:00
DiagnosticManager.cpp
Expression.cpp
ExpressionVariable.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
FunctionCaller.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
IRExecutionUnit.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
IRInterpreter.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
IRMemoryMap.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
LLVMUserExpression.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
Materializer.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
REPL.cpp [lldb] Don't report progress in the REPL 2022-04-11 13:06:40 -07:00
UserExpression.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
UtilityFunction.cpp [lldb] Get rid of HAVE_SYS_TYPES_H 2021-08-03 22:14:56 +02:00