[all-commits] [llvm/llvm-project] d8879f: Allow firmware binaries to be specified only by lo...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Tue Aug 2 13:49:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d8879fba8825b9799166ba0ea552d4027bfb8ad1
https://github.com/llvm/llvm-project/commit/d8879fba8825b9799166ba0ea552d4027bfb8ad1
Author: Jason Molenda <jason at molenda.com>
Date: 2022-08-02 (Tue, 02 Aug 2022)
Changed paths:
M lldb/docs/lldb-gdb-remote.txt
M lldb/include/lldb/Target/DynamicLoader.h
M lldb/source/Core/DynamicLoader.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
A lldb/test/API/macosx/lc-note/multiple-binary-corefile/Makefile
A lldb/test/API/macosx/lc-note/multiple-binary-corefile/TestMultipleBinaryCorefile.py
A lldb/test/API/macosx/lc-note/multiple-binary-corefile/create-multibin-corefile.cpp
A lldb/test/API/macosx/lc-note/multiple-binary-corefile/main.c
A lldb/test/API/macosx/lc-note/multiple-binary-corefile/one.c
A lldb/test/API/macosx/lc-note/multiple-binary-corefile/two.c
Log Message:
-----------
Allow firmware binaries to be specified only by load address
Add support to Mach-O corefiles and to live gdb remote serial protocol
connections for the corefile/remote stub to provide a list of load
addresses of binaries that should be found & loaded by lldb, and nothing
else. lldb will try to parse the binary out of memory, and if it can
find a UUID, try to find a binary & its debug information based on the
UUID, falling back to using the memory image if it must.
A bit of code unification from three parts of lldb that were loading
individual binaries already, so there is a shared method in
DynamicLoader to handle all of the variations they were doing.
Differential Revision: https://reviews.llvm.org/D130813
rdar://94249937
rdar://94249384
More information about the All-commits
mailing list