[all-commits] [llvm/llvm-project] cee05e: [lldb] Warn when Mach-O files have overlapping seg...
Alex via All-commits
all-commits at lists.llvm.org
Wed Feb 22 13:22:46 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cee05eed2f478630b5435070bdefe06156dc5035
https://github.com/llvm/llvm-project/commit/cee05eed2f478630b5435070bdefe06156dc5035
Author: Alex Langford <alangford at apple.com>
Date: 2023-02-22 (Wed, 22 Feb 2023)
Changed paths:
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Log Message:
-----------
[lldb] Warn when Mach-O files have overlapping segments
I recently came across a binary that for some reason had overlapping
sections. When debugging it, LLDB was able to get information about one
of the sections but not the other because SectionLoadList assumes that
each address maps to exactly one section. We have the capability to warn
about this, but it was not turned on.
rdar://105751700
Differential Revision: https://reviews.llvm.org/D144528
More information about the All-commits
mailing list