llvm-project/lldb/include/lldb
Adrian Prantl b51804e0d8 DWARFExpression: Convert file addresses to load addresses early on.
This is a change that only affects Swift and is NFC for the language
plugins on llvm.org. In Swift, we can have global variables with a
location such as DW_OP_addr <addr> DW_OP_deref. The DWARF expression
evaluator doesn't know how to apply a DW_OP_deref to a file address,
but at the very end we convert the file address into a load address.

This patch moves the file->load address conversion to right after the
result of the DW_OP_addr is pushed onto the stack so that a subsequent
DW_OP_deref (and potentially other operations) can be interpreted.

rdar://problem/39767528

Differential revision: https://reviews.llvm.org/D46362

llvm-svn: 331492
2018-05-03 23:32:47 +00:00
..
API Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Breakpoint Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
Core DWARFExpression: Convert file addresses to load addresses early on. 2018-05-03 23:32:47 +00:00
DataFormatters Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
Host Remove the timed_out out-argument from Predicate::WaitForValueEqualTo 2018-05-03 15:33:41 +00:00
Initialization *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Interpreter Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
Symbol lldb-test symbols: Add ability to do name-based lookup 2018-05-03 10:57:16 +00:00
Target Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
Utility Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
lldb-defines.h Actually use = delete to mark constructors and operators we want to not exist. Just declaring them as private works, but it can confuse certain tools as it doesn't actually declare intent, and the C++11 way is more expressive anyway, so this is pure win 2016-10-26 18:12:52 +00:00
lldb-enumerations.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
lldb-forward.h Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
lldb-private-defines.h Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
lldb-private-enumerations.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
lldb-private-forward.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
lldb-private-interfaces.h Change the ABI class to have a weak pointer to its Process; 2017-06-29 02:57:03 +00:00
lldb-private-types.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
lldb-private.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb-public.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb-types.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
lldb-versioning.h Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00