llvm-project/lldb/source/Expression
Pavel Labath 5a8db84964 DWARFExpression: Fix/add support for (v4) debug_loc base address selection entries
The DWARFExpression is parsing the location lists in about five places.
Of those, only one actually had proper support for base address
selection entries.

Since r374600, llvm has started to produce location expressions with
base address selection entries more aggresively, which caused some tests
to fail.

This patch adds support for these entries to the places which had it
missing, fixing the failing tests. It also adds a targeted test for the
two of the three fixes, which should continue testing this functionality
even if the llvm output changes. I am not aware of a way to write a
targeted test for the third fix (DWARFExpression::Evaluate).

llvm-svn: 374769
2019-10-14 12:49:06 +00:00
..
CMakeLists.txt [Expression] Move IRDynamicChecks to ClangExpressionParser 2019-07-12 00:58:02 +00:00
DWARFExpression.cpp DWARFExpression: Fix/add support for (v4) debug_loc base address selection entries 2019-10-14 12:49:06 +00:00
DiagnosticManager.cpp [lldb][NFC] Use unique_ptr in DiagnosticManager to express ownership 2019-10-10 08:30:10 +00:00
Expression.cpp Fix an invalid static cast in ClangExpressionParser.cpp 2019-03-13 19:46:30 +00:00
ExpressionVariable.cpp Revert "[lldb] Move redundant persistent variable counter to ClangPersistentVariables" 2019-08-27 22:50:40 +00:00
FunctionCaller.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
IRExecutionUnit.cpp Remove the is_mangled flag from Mangled and Symbol 2019-10-09 16:22:14 +00:00
IRInterpreter.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
IRMemoryMap.cpp [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
LLVMUserExpression.cpp [Expression] Remove unused header from LLVMUserExpression 2019-09-09 23:59:54 +00:00
Materializer.cpp [CompilerType] Pass an ExecutionContextScope to GetTypeBitAlign. 2019-08-12 21:49:54 +00:00
REPL.cpp remove a smattering of isolated, unnecessary uses of FILE* 2019-10-09 21:50:52 +00:00
UserExpression.cpp Detect HAVE_SYS_TYPES_H in lldb 2019-08-07 06:15:01 +00:00
UtilityFunction.cpp Detect HAVE_SYS_TYPES_H in lldb 2019-08-07 06:15:01 +00:00