Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions | Variables
snapshot_utils.cc File Reference
#include <memory>
#include "bin/snapshot_utils.h"
#include "bin/dartutils.h"
#include "bin/dfe.h"
#include "bin/elf_loader.h"
#include "bin/error_exit.h"
#include "bin/file.h"
#include "bin/platform.h"
#include "include/dart_api.h"
#include "platform/utils.h"

Go to the source code of this file.

Classes

class  dart::bin::DummySnapshot
 
class  dart::bin::MappedAppSnapshot
 

Namespaces

namespace  dart
 
namespace  dart::bin
 

Macros

#define LOG_SECTION_BOUNDARIES   false
 

Functions

static AppSnapshotdart::bin::TryReadAppSnapshotBlobs (const char *script_name, File *file)
 
static void dart::bin::WriteSnapshotFile (const char *filename, const uint8_t *buffer, const intptr_t size)
 
static bool dart::bin::WriteInt64 (File *file, int64_t size)
 
static void dart::bin::StreamingWriteCallback (void *callback_data, const uint8_t *buffer, intptr_t size)
 

Variables

static constexpr int64_t dart::bin::kAppSnapshotHeaderSize = 4 * kInt64Size
 
static constexpr int64_t dart::bin::kAppSnapshotPageSize = 16 * KB
 
static const char kMachOAppSnapshotNoteName[] dart::bin::DART_UNUSED = "__dart_app_snap"
 

Macro Definition Documentation

◆ LOG_SECTION_BOUNDARIES

#define LOG_SECTION_BOUNDARIES   false

Definition at line 24 of file snapshot_utils.cc.