#include <stdlib.h>
#include "opjitconv.h"
Go to the source code of this file.
Functions | |
static void | free_jit_records (void) |
static void | free_jit_debug_line (void) |
int | op_jit_convert (struct op_jitdump_info file_info, char const *elffile, unsigned long long start_time, unsigned long long end_time) |
Convert a jit dump file to an ELF file
Copyright IBM Corporation 2008
Definition in file conversion.c.
static void free_jit_debug_line | ( | void | ) | [static] |
Definition at line 31 of file conversion.c.
References jitentry_debug_line_list, and jitentry_debug_line::next.
Referenced by op_jit_convert().
static void free_jit_records | ( | void | ) | [static] |
Definition at line 18 of file conversion.c.
References jitentry_list, jitentry::next, jitentry::sym_name_malloced, and jitentry::symbol_name.
Referenced by op_jit_convert().
int op_jit_convert | ( | struct op_jitdump_info | file_info, | |
char const * | elffile, | |||
unsigned long long | start_time, | |||
unsigned long long | end_time | |||
) |
Definition at line 42 of file conversion.c.
References create_arrays(), cur_bfd, disambiguate_symbol_names(), op_jitdump_info::dmp_file, op_jitdump_info::dmp_file_stat, entries_address_ascending, entries_symbols_ascending, entry_count, fill_sections(), finalize_debug_line_info(), free_jit_debug_line(), free_jit_records(), init_debug_line_info(), jitentry_debug_line_list, jitentry_list, max_entry_count, OP_JIT_CONV_FAIL, OP_JIT_CONV_NO_JIT_RECS_IN_DUMPFILE, OP_JIT_CONV_OK, open_elf(), parse_all(), partition_sections(), resolve_overlaps(), and syms.
Referenced by process_jit_dumpfile().