[all-commits] [llvm/llvm-project] 4a3943: Alt mechanism to find the first loadable seg in a ...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Mon Feb 14 11:13:13 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a394367c124172dff26ef5042ecd6fa666a6e07
https://github.com/llvm/llvm-project/commit/4a394367c124172dff26ef5042ecd6fa666a6e07
Author: Jason Molenda <jason at molenda.com>
Date: 2022-02-14 (Mon, 14 Feb 2022)
Changed paths:
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Log Message:
-----------
Alt mechanism to find the first loadable seg in a Mach-O binary
ObjectFileMachO, for a couple of special binaries at the initial
launch, needs to find segment load addresses before the Target's
SectionLoadList has been initialized. The calculation to find
the first segment, which is at the same address as the mach header,
was not correct if the binary was in the Darwin shared cache.
Update the logic to handle that case.
Differential Revision: https://reviews.llvm.org/D119602
rdar://88802629
More information about the All-commits
mailing list