Skip to content

Provide an easy way to view AOT disassembly #45894

Closed
@vsmenon

Description

@vsmenon

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?

@jefflim-google

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.customer-google3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions