Type Alias ittapi_sys::iJIT_Method_Load
source · pub type iJIT_Method_Load = _iJIT_Method_Load;
Expand description
@brief Description of a JIT-compiled method @details When you use the iJIT_Method_Load structure to describe the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED as an event type to report it.
Aliased Type§
struct iJIT_Method_Load {
pub method_id: u32,
pub method_name: *mut i8,
pub method_load_address: *mut c_void,
pub method_size: u32,
pub line_number_size: u32,
pub line_number_table: *mut _LineNumberInfo,
pub class_id: u32,
pub class_file_name: *mut i8,
pub source_file_name: *mut i8,
}
Fields§
§method_id: u32
<\brief Unique method ID. Cannot be 0. You must either use the API function iJIT_GetNewMethodID to get a valid and unique method ID, or else manage ID uniqueness and correct range by yourself.\n You must use the same method ID for all code regions of the same method, otherwise different method IDs specify different methods.
method_name: *mut i8
<\brief The name of the method. It can be optionally prefixed with its class name and appended with its complete signature. Can’t be NULL.
method_load_address: *mut c_void
<\brief The start virtual address of the method code region. If NULL, data provided with event are not accepted.
method_size: u32
<\brief The code size of the method in memory. If 0, then data provided with the event are not accepted.
line_number_size: u32
<\brief The number of entries in the line number table.0 if none.
line_number_table: *mut _LineNumberInfo
<\brief Pointer to the line numbers info array. Can be NULL if line_number_size is 0. See LineNumberInfo Structure for a description of a single entry in the line number info array
class_id: u32
<\brief This field is obsolete.
class_file_name: *mut i8
<\brief Class name. Can be NULL.
source_file_name: *mut i8
<\brief Source file name. Can be NULL.