llvm-project/lldb/source/Core
Jason Molenda 92bd2e443e Add mach-o corefile support for platform binaries
Add support for recognizing a platform binary in the ObjectFileMachO
method that parses the "load binary" LC_NOTEs in a corefile.

A bit of reorganization to ProcessMachCore::DoLoadCore to separate
all of the unrelated things being done in that method into their own
separate methods, as well as small fixes to improve the handling of
a corefile with multiple kernel images in the corefile.

Differential Revision: https://reviews.llvm.org/D133680
rdar://98754861
2022-09-13 15:46:18 -07:00
..
Address.cpp [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:31:49 -07:00
AddressRange.cpp [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:31:49 -07:00
AddressResolver.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
AddressResolverFileLine.cpp [lldb] Use value_or instead of getValueOr (NFC) 2022-06-19 09:12:01 -07:00
CMakeLists.txt [lldb] [Core] Split read thread support into ThreadedCommunication 2022-09-06 13:09:42 +02:00
Communication.cpp [lldb] [Core] Split read thread support into ThreadedCommunication 2022-09-06 13:09:42 +02:00
CoreProperties.td [lldb] Fetching symbols in the background with dsymForUUID 2022-08-15 17:57:24 -07:00
DataFileCache.cpp Change the meaning of a UUID with all zeros for data. 2022-08-30 10:17:58 -07:00
Debugger.cpp [lldb] Fetching symbols in the background with dsymForUUID 2022-08-15 17:57:24 -07:00
DebuggerEvents.cpp [lldb] Fetching symbols in the background with dsymForUUID 2022-08-15 17:57:24 -07:00
Declaration.cpp [lldb] Move and clean-up the Declaration class (NFC) 2021-05-04 16:34:44 +00:00
Disassembler.cpp [lldb] Silence a GCC warning about missing returns after a fully covered switch. NFC. 2022-08-02 10:57:33 +03:00
DumpDataExtractor.cpp Remove redundant initialization of Optional (NFC) 2022-08-20 21:18:28 -07:00
DumpRegisterValue.cpp [lldb] Always use APFloat for FP dumping 2022-07-27 14:30:35 +02:00
DynamicLoader.cpp Add mach-o corefile support for platform binaries 2022-09-13 15:46:18 -07:00
EmulateInstruction.cpp Remove ConstString from DynamicLoader, JITLoader and Instruction plugin names 2021-10-25 10:32:35 +02:00
FileLineResolver.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
FileSpecList.cpp Implement better path matching in FileSpecList::FindCompatibleIndex(...). 2022-08-08 15:20:38 -07:00
FormatEntity.cpp [Formatters][NFCI] Replace 'is_regex' arguments with an enum. 2022-09-13 12:50:55 -07:00
Highlighter.cpp
IOHandler.cpp Don't use Optional::getValue (NFC) 2022-06-20 23:35:53 -07:00
IOHandlerCursesGUI.cpp [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
Mangled.cpp [demangler] Rust demangler buffer return 2022-04-13 08:50:04 -07:00
Module.cpp [lldb] Fetching symbols in the background with dsymForUUID 2022-08-15 17:57:24 -07:00
ModuleChild.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ModuleList.cpp [lldb] Fetching symbols in the background with dsymForUUID 2022-08-15 17:57:24 -07:00
Opcode.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
PluginManager.cpp [lldb] Teach LLDB about Mach-O filesets 2022-08-25 15:24:51 -07:00
Progress.cpp Add a progress class that can track long running operations in LLDB. 2021-03-24 12:58:13 -07:00
RichManglingContext.cpp [lldb] Use Any::has_value instead of ANy::hasValue (NFC) 2022-08-20 07:28:06 -07:00
SearchFilter.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
Section.cpp [lldb] Fix modernize-use-equals-default warnings (NFC) 2022-06-17 15:08:02 -07:00
SourceLocationSpec.cpp [lldb] Use value_or instead of getValueOr (NFC) 2022-06-19 09:12:01 -07:00
SourceManager.cpp Check that a FileSpec has a Directory component before using 2022-05-26 11:12:37 -07:00
StreamAsynchronousIO.cpp [lldb] Print diagnostic prefixes (error, warning) in color 2022-04-12 20:28:29 -07:00
StreamFile.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadedCommunication.cpp [lldb] Fix ThreadedCommunication races 2022-09-09 15:10:38 +02:00
UserSettingsController.cpp Add SBDebugger::GetSetting() public APIs 2022-09-11 20:50:03 -07:00
Value.cpp [lldb] Use =default in the ValueList class 2022-03-30 09:12:59 +02:00
ValueObject.cpp [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:31:49 -07:00
ValueObjectCast.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectChild.cpp Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
ValueObjectConstResult.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectConstResultCast.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectConstResultChild.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectConstResultImpl.cpp Remove unused variable. 2021-11-18 15:58:20 -08:00
ValueObjectDynamicValue.cpp [lldb] Change back LLDBLog::Commands->Types in a couple more places 2022-03-16 15:46:17 +01:00
ValueObjectList.cpp
ValueObjectMemory.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectRegister.cpp [lldb] Change back LLDBLog::Commands->Types in a couple more places 2022-03-16 15:46:17 +01:00
ValueObjectSyntheticFilter.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ValueObjectUpdater.cpp [lldb][NFC] Rename the second ValueObjectManager to ValueObjectUpdater and remove the dead code 2021-02-24 13:58:01 +01:00
ValueObjectVariable.cpp Reland "[LLDB][NFC] Decouple dwarf location table from DWARFExpression." 2022-07-12 10:54:24 -07:00