Definition at line 52 of file snapshot_utils.cc.
◆ MappedAppSnapshot()
Definition at line 54 of file snapshot_utils.cc.
AppSnapshot(DartUtils::MagicNumber num)
const uint8_t * isolate_snapshot_data
const uint8_t * vm_snapshot_data
const uint8_t * vm_snapshot_instructions
const uint8_t * isolate_snapshot_instructions
◆ ~MappedAppSnapshot()
dart::bin::MappedAppSnapshot::~MappedAppSnapshot |
( |
| ) |
|
|
inline |
Definition at line 64 of file snapshot_utils.cc.
64 {
65 delete vm_data_mapping_;
66 delete vm_instructions_mapping_;
67 delete isolate_data_mapping_;
68 delete isolate_instructions_mapping_;
69 }
◆ SetBuffers()
void dart::bin::MappedAppSnapshot::SetBuffers |
( |
const uint8_t ** |
vm_data_buffer, |
|
|
const uint8_t ** |
vm_instructions_buffer, |
|
|
const uint8_t ** |
isolate_data_buffer, |
|
|
const uint8_t ** |
isolate_instructions_buffer |
|
) |
| |
|
inlinevirtual |
Implements dart::bin::AppSnapshot.
Definition at line 71 of file snapshot_utils.cc.
74 {
75 if (vm_data_mapping_ != nullptr) {
76 *vm_data_buffer =
77 reinterpret_cast<const uint8_t*
>(vm_data_mapping_->
address());
78 }
79 if (vm_instructions_mapping_ != nullptr) {
80 *vm_instructions_buffer =
81 reinterpret_cast<const uint8_t*
>(vm_instructions_mapping_->
address());
82 }
83 if (isolate_data_mapping_ != nullptr) {
84 *isolate_data_buffer =
85 reinterpret_cast<const uint8_t*
>(isolate_data_mapping_->
address());
86 }
87 if (isolate_instructions_mapping_ != nullptr) {
88 *isolate_instructions_buffer = reinterpret_cast<const uint8_t*>(
89 isolate_instructions_mapping_->
address());
90 }
91 }
The documentation for this class was generated from the following file: