23b1f38981
1. Disable copying of executable for SDK binary signing 2. Fixes for ASAN memory leak in executable TEST=runtime/tests/vm/dart_2/analyze_snapshot_binary_test.dart This is a reland of5d7d8a377dOriginal change's description: > Reland "Reland "[vm] Add analyze_snapshot tool for AOT snapshot inspection"" > > This is a reland of8d1eedca64> > Disable builds for Fuchsia > > TEST=runtime/tests/vm/dart_2/analyze_snapshot_binary_test.dart > Original change's description: > > Reland "[vm] Add analyze_snapshot tool for AOT snapshot inspection" > > > > This is a reland of19e5749308> > > > TEST=runtime/tests/vm/dart/analyze_snapshot_binary_test.dart > > > > Original change's description: > > > [vm] Add analyze_snapshot tool for AOT snapshot inspection > > > > > > Current skeleton to allow for instrumentation snapshots that can be > > > built alongside Dart compilation artifacts and easily referenced for > > > specific versions between Snapshot hash <-> DartSDK <-> Flutter Engine > > > > > > TEST=runtime/tests/vm/dart/analyze_snapshot_binary_test.dart > > > > > > Change-Id: Ie3757a265bbf457506c72fb62a625fea7bedcb68 > > > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221087 > > > Reviewed-by: Slava Egorov <vegorov@google.com> > > > Commit-Queue: Slava Egorov <vegorov@google.com> > > > > Change-Id: Ia1ea0071d30818440ae48484ff6c406236af5a4e > > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/224526 > > Reviewed-by: Slava Egorov <vegorov@google.com> > > Commit-Queue: Slava Egorov <vegorov@google.com> > > Change-Id: I769ced4cbe6eb926b8df36a15ca13c3145632082 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233890 > Reviewed-by: Slava Egorov <vegorov@google.com> > Commit-Queue: Chris Evans <cmevans@google.com> Change-Id: I1e6e57dda56f1710cc3a52e35d4067910930a701 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/234500 Reviewed-by: Slava Egorov <vegorov@google.com> Reviewed-by: Chris Evans <cmevans@google.com> Commit-Queue: Chris Evans <cmevans@google.com>
28 lines
905 B
C++
28 lines
905 B
C++
/*
|
|
* Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
|
|
* for details. All rights reserved. Use of this source code is governed by a
|
|
* BSD-style license that can be found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef RUNTIME_INCLUDE_ANALYZE_SNAPSHOT_API_H_
|
|
#define RUNTIME_INCLUDE_ANALYZE_SNAPSHOT_API_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace dart {
|
|
namespace snapshot_analyzer {
|
|
typedef struct {
|
|
const uint8_t* vm_snapshot_data;
|
|
const uint8_t* vm_snapshot_instructions;
|
|
const uint8_t* vm_isolate_data;
|
|
const uint8_t* vm_isolate_instructions;
|
|
} Dart_SnapshotAnalyzerInformation;
|
|
|
|
void Dart_DumpSnapshotInformationAsJson(char** buffer,
|
|
intptr_t* buffer_length,
|
|
Dart_SnapshotAnalyzerInformation* info);
|
|
} // namespace snapshot_analyzer
|
|
} // namespace dart
|
|
|
|
#endif // RUNTIME_INCLUDE_ANALYZE_SNAPSHOT_API_H_
|