4774141425
Previously when --save-debugging-info=<...> was used when not compiling to ELF, we generated the requested snapshot format and the separate debugging information as two separate snapshot generation passes. However, we want to avoid this, to remove the assumption that instruction snapshot serialization must be deterministic. Fixes https://github.com/dart-lang/sdk/issues/39803. Also allows --strip to be used with --snapshot-kind=app-aot-assembly, so that DWARF sections are not output in the generated assembly code. Fixes https://github.com/dart-lang/sdk/issues/37560. Change-Id: Ibdf1f5c771bae21870af252b38e64250fde53603 Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-android-release-arm64-try,vm-kernel-precomp-mac-release-simarm64-try,vm-kernel-precomp-win-release-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128735 Commit-Queue: Teagan Strickland <sstrickl@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>