Struct wasmtime_jit_debug::perf_jitdump::JitDumpFile
source · pub struct JitDumpFile { /* private fields */ }
Expand description
Interface for driving the creation of jitdump files
Implementations§
source§impl JitDumpFile
impl JitDumpFile
source§impl JitDumpFile
impl JitDumpFile
sourcepub fn get_time_stamp(&self) -> u64
pub fn get_time_stamp(&self) -> u64
Returns timestamp from a single source
sourcepub fn next_code_index(&mut self) -> u64
pub fn next_code_index(&mut self) -> u64
Returns the next code index
pub fn write_file_header(&mut self) -> Result<()>
pub fn write_code_load_record(
&mut self,
record_name: &str,
cl_record: CodeLoadRecord,
code_buffer: &[u8]
) -> Result<()>
sourcepub fn write_debug_info_record(
&mut self,
dir_record: DebugInfoRecord
) -> Result<()>
pub fn write_debug_info_record(
&mut self,
dir_record: DebugInfoRecord
) -> Result<()>
Write DebugInfoRecord to open jit dump file. Must be written before the corresponding CodeLoadRecord.
sourcepub fn write_debug_info_entries(
&mut self,
die_entries: Vec<DebugEntry>
) -> Result<()>
pub fn write_debug_info_entries(
&mut self,
die_entries: Vec<DebugEntry>
) -> Result<()>
Write DebugInfoRecord to open jit dump file. Must be written before the corresponding CodeLoadRecord.