llvm-project/lldb/test/API/lang/c
Jason Molenda 0c2b7fa869 Leave DW_OP_addr addresses as load addresses in DWARFExpression
DWARFExpression::Evaluate will convert DW_OP_addr addresses in
a DWARF expression into load addresses on the expression stack
when there is a StackFrame in the ExecutionContext, this from
a change in 2018 in https://reviews.llvm.org/D46362.  At the
time this was handling a case that came up in swift programs,
and is no longer necessary.  I generalized this conversion to
a load address when a Target is available in
https://reviews.llvm.org/D137682 to make a test case possible;
this change broke a use case that Ted reported.

This change removes my test case, and removes this conversion
of a DW_OP_addr into a load address in some instances.

Differential Revision: https://reviews.llvm.org/D139226
2022-12-02 14:45:02 -08:00
..
anonymous [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
array_types [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
bitfields [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
blocks [lldb] Remove unused "import unittest2" statements 2022-08-11 19:11:01 -07:00
builtin-types [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
calling-conventions [lldb] Re-enable TestCCallingConventions on Apple Silicon 2022-08-03 20:50:05 -07:00
complex [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
complex_int [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
conflicting-symbol [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
const_variables [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
cpp_keyword_identifiers [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
enum_types [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
find_struct_type [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
flexible-array-members [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
forward [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
fpeval [lldb] Rewrite to assertEqual/assertNotEqual (NFC) 2022-11-11 17:03:02 -08:00
full_lto_stepping [lldb] Skip TestFullLtoStepping in older clangs 2022-10-24 12:12:36 -07:00
function_types [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
global_variables [lldb] Skip target variable tests on Darwin because of chained fixups 2022-08-12 10:23:15 -07:00
inlines
local_types [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
local_variables [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
modules [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
offsetof
record_decl_in_expr [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
recurse
register_variables [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
set_values [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
shared_lib [lldb] Remove unused "import unittest2" statements 2022-08-11 19:11:01 -07:00
shared_lib_stripped_symbols [lldb] Remove unused "import unittest2" statements 2022-08-11 19:11:01 -07:00
sizeof [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
step-target [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
step_over_no_deadlock [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
stepping [lldb] Rewrite to assertEqual/assertNotEqual (NFC) 2022-11-11 17:03:02 -08:00
strings [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
struct_types [lldb] Remove a wrong assert in TestStructTypes that checks that empty structs in C always have size 0 2021-07-22 16:56:50 +02:00
tls_globals [lldb] Remove unused "import unittest2" statements 2022-08-11 19:11:01 -07:00
typedef [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
unicode [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
unions [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
vla [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00