llvm-project/lldb/source
Zequan Wu 71d778f33e [LLDB][NativePDB] Switch to use DWARFLocationList.
Before, NativePDB uses scoped range as a workaround for value range, that causes
problems (e.g. a variable's value can only have one range, but usually a
variable's value is located at different address ranges, each at different
locations, in optimized build).
This patch let NativePDB switch to DWARFLocationList so a variable's value can
be described at multiple non-overlapped address ranges and each range maps to a
location.
Because overlapping ranges exists, here's peference when choosing ranges:
1. Always prefer whole value locations. Suppose a variable size is 8 bytes, one record is that for range [1, 5) first 4 bytes is at ecx, and another record is that for range [2, 8) the 8 bytes value is at rdx. This results: [1, 2) has first 4 bytes at ecx, [2, 8) has the whole value at rdx.
2. Always prefer the locations parsed later. Suppose first record is that for range [1, 5) value is at ecx, second record is that for range [2, 6) value is at eax. This results: [1, 2) -> ecx, [2, 6) -> eax.

Differential Revision: https://reviews.llvm.org/D130796
2022-08-17 13:37:13 -07:00
..
API [lldb] Automatically unwrap parameter packs in template argument accessors 2022-08-16 18:10:14 -07:00
Breakpoint Implement better path matching in FileSpecList::FindCompatibleIndex(...). 2022-08-08 15:20:38 -07:00
Commands [LLDB][NFC] Fix optons parsing and misc. reliability in CommandObjectThread 2022-08-17 12:20:10 -07:00
Core [lldb] Fetching symbols in the background with dsymForUUID 2022-08-15 17:57:24 -07:00
DataFormatters Move FormattersMatchCandidate flags to a struct. 2022-08-09 10:48:49 -07:00
Expression [LLDB] Add basic floating point ops to IR interpreter 2022-08-10 16:34:52 +03:00
Host [lldb] Fix warning: comparison of integers of different signs 2022-08-15 11:25:46 -07:00
Initialization [lldb] Remove FileSystem::Initialize from FileCollector 2022-03-03 13:22:38 -08:00
Interpreter [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:31:49 -07:00
Plugins [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
Symbol [lldb] Automatically unwrap parameter packs in template argument accessors 2022-08-16 18:10:14 -07:00
Target Use llvm::all_of (NFC) 2022-08-14 16:25:36 -07:00
Utility [LLDB][JIT] Set processor for ARM architecture 2022-08-17 09:10:21 +03:00
Version
CMakeLists.txt