llvm-project/lldb/source/Plugins/SymbolFile/NativePDB
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
..
CMakeLists.txt [lldb][PDB] Add ObjectFile PDB plugin 2020-10-26 10:28:48 -07:00
CodeViewRegisterMapping.cpp [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
CodeViewRegisterMapping.h [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
CompileUnitIndex.cpp [lldb] Fix use-after-move in SymbolFile/NativePDB 2022-02-14 11:03:26 -08:00
CompileUnitIndex.h Revert "Revert "[LLDB][NativePDB] Add support for inlined functions"" 2022-01-13 14:00:24 -08:00
DWARFLocationExpression.cpp [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
DWARFLocationExpression.h [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
PdbAstBuilder.cpp [LLDB][NativePDB] Add nullptr checking. 2022-08-16 09:59:09 -07:00
PdbAstBuilder.h [LLDB][NativePDB] Create inline function decls 2022-04-01 10:06:31 -07:00
PdbFPOProgramToDWARFExpression.cpp Cleanup LLVMDebugInfoCodeView headers 2022-02-08 16:00:36 +01:00
PdbFPOProgramToDWARFExpression.h
PdbIndex.cpp [LLDB][NativePDB] Return LLDB_INVALID_ADDRESS in PdbIndex::MakeVirtualAddress when input is invalid due to missing address info in symbol/public records. 2022-06-30 14:34:20 -07:00
PdbIndex.h [LLDB][NativePDB] Return LLDB_INVALID_ADDRESS in PdbIndex::MakeVirtualAddress when input is invalid due to missing address info in symbol/public records. 2022-06-30 14:34:20 -07:00
PdbSymUid.cpp
PdbSymUid.h
PdbUtil.cpp [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
PdbUtil.h [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
SymbolFileNativePDB.cpp [LLDB][NativePDB] Switch to use DWARFLocationList. 2022-08-17 13:37:13 -07:00
SymbolFileNativePDB.h Re-submit "[lldb] Filter DIEs based on qualified name where possible" 2022-08-04 15:52:27 -07:00
UdtRecordCompleter.cpp Don't use Optional::hasValue (NFC) 2022-06-20 20:17:57 -07:00
UdtRecordCompleter.h [LLDB][NativePDB] Fix function decl creation for class methods 2021-12-07 10:41:28 -08:00