llvm-project/lldb/source/Plugins
Zachary Turner 6e66512758 Introduce DWARFContext.
LLVM's DWARF parsing library has a class called DWARFContext which holds
all of the various DWARF data sections and lots of other information.
LLDB's on the other hand stores all of this directly in SymbolFileDWARF
/ SymbolFileDWARFDwo and passes this interface around through the
parsing library. Obviously this is incompatible with a world where the
low level interface does not depend on the high level interface, so we
need to move towards a model similar to LLVM's - i.e. all of the context
needed for low level parsing should be in a single class, and that class
gets passed around.

This patch is a small incremental step towards achieving this. The
interface and internals deviate from LLVM's for technical reasons, but
the high level idea is the same. The goal is, eventually, to remove all
occurrences of SymbolFileDWARF from the low level parsing code.

For now I've chosen a very simple section - the .debug_aranges section
to move into DWARFContext while leaving everything else unchanged. In
the short term this is a bit confusing because now the information you
need might come from either of 2 different locations. But it's a huge
refactor to do this all at once and runs a much higher risk of breaking
things. So I think it would be wise to do this in very small pieces.

TL;DR - No functional change

Differential Revision: https://reviews.llvm.org/D59562

llvm-svn: 356612
2019-03-20 20:49:25 +00:00
..
ABI Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
Architecture Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Disassembler When disassembling Aarch64 target and vendor Apple, set the cpu to 2019-03-07 03:16:45 +00:00
DynamicLoader Reorder the operations in 2019-03-13 23:34:20 +00:00
ExpressionParser Improve error handling for Clang module imports. 2019-03-19 15:38:26 +00:00
Instruction Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
InstrumentationRuntime Use std::make_shared in LLDB (NFC) 2019-02-11 23:13:08 +00:00
JITLoader Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Language [ObjCLanguage] Remove LLDB_DISABLE_PYTHON markers from the formatters. 2019-03-14 22:12:59 +00:00
LanguageRuntime Delete type_sp member from TypePair 2019-03-15 14:02:35 +00:00
MemoryHistory Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjectContainer Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ObjectFile Bring Doxygen comment syntax in sync with LLVM coding style. 2019-03-11 17:09:29 +00:00
OperatingSystem Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
Platform Add ability to import std module into expression parser to improve C++ debugging 2019-03-12 17:09:33 +00:00
Process Fix UUID decoding from minidump files 2019-03-20 16:50:17 +00:00
ScriptInterpreter [ScriptInterpreterPython] Remove dead code. 2019-03-19 17:35:40 +00:00
StructuredData Bring Doxygen comment syntax in sync with LLVM coding style. 2019-03-11 17:09:29 +00:00
SymbolFile Introduce DWARFContext. 2019-03-20 20:49:25 +00:00
SymbolVendor Try again to fix OSX compilation failure. 2019-03-06 19:14:41 +00:00
SystemRuntime Bring Doxygen comment syntax in sync with LLVM coding style. 2019-03-11 17:09:29 +00:00
UnwindAssembly Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
CMakeLists.txt Move StopInfoOverride callback to the new architecture plugin 2017-10-25 21:05:31 +00:00