Support universal Mach-O binaries with a fat64 header. After D146879, dsymutil can now generate such binaries when the offsets would otherwise overflow the 32-bit offsets in the regular fat header.
rdar://107289570
Paths
| Differential D147012
[lldb] Support Universal Mach-O binaries with a fat64 header ClosedPublic Authored by JDevlieghere on Mar 27 2023, 4:21 PM.
Details Summary Support universal Mach-O binaries with a fat64 header. After D146879, dsymutil can now generate such binaries when the offsets would otherwise overflow the 32-bit offsets in the regular fat header. rdar://107289570
Diff Detail Event TimelineJDevlieghere added a parent revision: D146879: [dsymutil] Add the ability to generate universal binaries with a fat64 header.
JDevlieghere added inline comments.
JDevlieghere added inline comments.
This revision is now accepted and ready to land.Mar 28 2023, 3:07 PM Closed by commit rGfda53ad9374b: [lldb] Support Universal Mach-O binaries with a fat64 header (authored by JDevlieghere). · Explain WhyMar 28 2023, 3:46 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 508835 lldb/packages/Python/lldbsuite/test/make/Makefile.rules
lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h
lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
lldb/test/API/macosx/universal64/Makefile
lldb/test/API/macosx/universal64/TestUniversal64.py
|
Should this use AddOverflow?
https://llvm.org/doxygen/MathExtras_8h.html