mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-27 01:31:10 +00:00
!951 Add dump raw heap to binary file
Merge pull request !951 from Yellow-Sky-Proton/OpenHarmony-5.0.1-Release
This commit is contained in:
commit
421d1dd89e
@ -42,7 +42,10 @@ group("unittest_packages") {
|
||||
|
||||
group("ets_runtime") {
|
||||
deps = [
|
||||
"$js_root:js_type_metadata",
|
||||
"$js_root:libark_jsruntime",
|
||||
"$js_root/ecmascript/dfx/hprof:ark_js_heap_snapshot_tool",
|
||||
"$js_root/ecmascript/dfx/hprof/rawheap_translate:rawheap_translator",
|
||||
"$js_root/ecmascript/js_vm:ark_js_vm",
|
||||
"$js_root/ecmascript/quick_fix:quick_fix",
|
||||
]
|
||||
|
@ -143,6 +143,10 @@ private:
|
||||
frontend_->AddHeapSnapshotChunk(data, size);
|
||||
return true;
|
||||
}
|
||||
bool WriteBinBlock(char *data, int32_t size) override
|
||||
{
|
||||
return WriteChunk(data, size);
|
||||
}
|
||||
bool Good() override
|
||||
{
|
||||
return frontend_ != nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user