mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
Option to enable showOffsets in dump.dart.
R=johnniwinther@google.com Review-Url: https://codereview.chromium.org/2931073002 .
This commit is contained in:
parent
da25a49215
commit
39ec420753
|
@ -7,5 +7,6 @@ import 'package:kernel/kernel.dart';
|
|||
|
||||
main(args) {
|
||||
var binary = loadProgramFromBinary(args[0]);
|
||||
writeProgramToText(binary, path: args[1]);
|
||||
writeProgramToText(binary,
|
||||
path: args[1], showOffsets: const bool.fromEnvironment("showOffsets"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue