Closed
Description
Today:
dart -disassemble foo.dart
provides a convenient way to view disassembled code, but only for JIT mode.
AFAIK, you need a checked SDK to view AOT disassembled code (which is more useful) - e.g.,:
.../dart/sdk/pkg/vm/tool/precompiler2 --disassemble foo.dart foo.aot
Is there a way to integrate that into the Dart cli?