llvm-project/lldb/source/Plugins
Pavel Labath 00539d8b64 [lldb/DWARF] Support the debug_str_offsets section in dwp files
Summary:
In dwp files a constant (from the debug_cu_index section) needs to be
added to each reference into the debug_str_offsets section.

I've tried to implement this to roughly match the llvm flow: I've
changed the DWARFormValue to stop resolving the indirect string
references directly -- instead, it calls into DWARFUnit, which resolves
this for it (similar to how it already resolves indirect range and
location list references). I've also done a small refactor of the string
offset base computation code in DWARFUnit in order to make it easier to
access the debug_cu_index base offset.

Reviewers: JDevlieghere, aprantl, clayborg

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74723
2020-02-18 11:02:34 +01:00
..
ABI [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
Architecture [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
Disassembler [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
DynamicLoader [lldb] Remove DataExtractor::GetPointer 2020-02-18 10:38:41 +01:00
ExpressionParser [lldb][NFC] Make all CompilerDeclContext parameters references instead of pointers 2020-02-18 08:58:36 +01:00
Instruction [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
InstrumentationRuntime [lldb][NFC] Make all CompilerDeclContext parameters references instead of pointers 2020-02-18 08:58:36 +01:00
JITLoader [lldb] Remove DataExtractor::GetPointer 2020-02-18 10:38:41 +01:00
Language [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
LanguageRuntime [lldb] Remove DataExtractor::GetPointer 2020-02-18 10:38:41 +01:00
MemoryHistory [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
ObjectContainer [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
ObjectFile [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
OperatingSystem [lldb/Plugins] Conditionally build OperatingSystemPython. 2020-02-17 21:22:37 -08:00
Platform [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
Process [lldb] Remove DataExtractor::GetPointer 2020-02-18 10:38:41 +01:00
ScriptInterpreter [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
StructuredData [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
SymbolFile [lldb/DWARF] Support the debug_str_offsets section in dwp files 2020-02-18 11:02:34 +01:00
SymbolVendor [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
SystemRuntime [lldb] Remove DataExtractor::GetPointer 2020-02-18 10:38:41 +01:00
TypeSystem [lldb] Remove DataExtractor::GetPointer 2020-02-18 10:38:41 +01:00
UnwindAssembly [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
CMakeLists.txt Revert "[lldb/CMake] Auto-generate the Initialize and Terminate calls for plugin" 2020-02-17 19:04:50 -08:00