[all-commits] [llvm/llvm-project] 1bec6e: Add support for firmware/standalone LC_NOTE "main ...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Fri Sep 25 15:19:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1bec6eb3f5cba594698bae5b2789744e0c8ee5f2
https://github.com/llvm/llvm-project/commit/1bec6eb3f5cba594698bae5b2789744e0c8ee5f2
Author: Jason Molenda <jason at molenda.com>
Date: 2020-09-25 (Fri, 25 Sep 2020)
Changed paths:
M lldb/include/lldb/Symbol/ObjectFile.h
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
A lldb/test/API/macosx/lc-note/firmware-corefile/Makefile
A lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py
A lldb/test/API/macosx/lc-note/firmware-corefile/bout.mk
A lldb/test/API/macosx/lc-note/firmware-corefile/create-empty-corefile.cpp
A lldb/test/API/macosx/lc-note/firmware-corefile/main.c
Log Message:
-----------
Add support for firmware/standalone LC_NOTE "main bin spec" corefiles
When a Mach-O corefile has an LC_NOTE "main bin spec" for a
standalone binary / firmware, with only a UUID and no load
address, try to locate the binary and dSYM by UUID and if
found, load it at offset 0 for the user.
Add a test case that tests a firmware/standalone corefile
with both the "kern ver str" and "main bin spec" LC_NOTEs.
<rdar://problem/68193804>
Differential Revision: https://reviews.llvm.org/D88282
More information about the All-commits
mailing list