Definition at line 53 of file snapshot_utils.cc.
◆ MappedAppSnapshot()
Definition at line 55 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 65 of file snapshot_utils.cc.
65 {
66 delete vm_data_mapping_;
67 delete vm_instructions_mapping_;
68 delete isolate_data_mapping_;
69 delete isolate_instructions_mapping_;
70 }
◆ 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 72 of file snapshot_utils.cc.
75 {
76 if (vm_data_mapping_ != nullptr) {
77 *vm_data_buffer =
78 reinterpret_cast<const uint8_t*
>(vm_data_mapping_->
address());
79 }
80 if (vm_instructions_mapping_ != nullptr) {
81 *vm_instructions_buffer =
82 reinterpret_cast<const uint8_t*
>(vm_instructions_mapping_->
address());
83 }
84 if (isolate_data_mapping_ != nullptr) {
85 *isolate_data_buffer =
86 reinterpret_cast<const uint8_t*
>(isolate_data_mapping_->
address());
87 }
88 if (isolate_instructions_mapping_ != nullptr) {
89 *isolate_instructions_buffer = reinterpret_cast<const uint8_t*>(
90 isolate_instructions_mapping_->
address());
91 }
92 }
The documentation for this class was generated from the following file: