mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![]() * Move parsing functions to static methods of the classes that represent the data being parsed. * Move calculations for adjusting offsets in load commands into the corresponding classes. * Make function to insert a new payload segment an instance method of MachOFile. * Remove unnecessary abstractions and definitions for MachO load commands that we don't need to parse. These refactorings are being done to make later changes easier to review, by first lifting the initial refactorings out into a separate CL. Issue: https://github.com/dart-lang/sdk/issues/49783 Change-Id: I133eb368cbb9ee0d8e4f3998ba1a0bbe8555b8aa Cq-Include-Trybots: luci.dart.try:analyzer-mac-release-try,dart-sdk-mac-arm64-try,dart-sdk-mac-try,pkg-mac-release-arm64-try,pkg-mac-release-try,vm-kernel-precomp-mac-product-x64-try,vm-kernel-precomp-nnbd-mac-release-arm64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/256821 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> |
||
---|---|---|
.. | ||
dart2native.dart | ||
dart2native_macho.dart | ||
dart2native_pe.dart | ||
generate.dart | ||
macho.dart | ||
macho_utils.dart |