debug_line.c File Reference
DWARF 2 debug line info creation helper.
More...
#include "config.h"
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <stdio.h>
#include <bfd.h>
#include <limits.h>
#include "opjitconv.h"
#include "jitdump.h"
#include "opagent.h"
#include "op_libiberty.h"
#include "op_growable_buffer.h"
Classes |
| struct | debug_line_header |
| struct | compilation_unit_header |
Typedefs |
| typedef uint32_t | uword |
| typedef uint16_t | uhalf |
| typedef int32_t | sword |
| typedef int16_t | shalf |
| typedef uint8_t | ubyte |
| typedef int8_t | sbyte |
Enumerations |
| enum | lns_opcode {
DW_LNS_copy = 1,
DW_LNS_advance_pc,
DW_LNS_advance_line,
DW_LNS_set_file,
DW_LNS_set_column,
DW_LNS_negate_stmt,
DW_LNS_set_basic_block,
DW_LNS_const_add_pc,
DW_LNS_fixed_advance_pc,
DW_LNS_max_opcode
} |
| enum | lne_opcode { DW_LNE_end_sequence = 1,
DW_LNE_set_address,
DW_LNE_define_file
} |
| enum | dw_tag { DW_TAG_compile_unit = 0x11
} |
| enum | dw_at {
DW_AT_name = 0x03,
DW_AT_stmt_list = 0x10,
DW_AT_low_pc,
DW_AT_high_pc,
DW_AT_language,
DW_AT_compdir = 0x1b,
DW_AT_producer = 0x25
} |
| enum | dw_children { DW_CHILDREN_no,
DW_CHILDREN_yes
} |
| enum | dw_form { DW_FORM_data4 = 0x06
} |
Functions |
| int | init_debug_line_info (bfd *abfd) |
| int | finalize_debug_line_info (bfd *abfd) |
Variables |
| struct debug_line_header | packed |
Detailed Description
DWARF 2 debug line info creation helper.
- Author:
- Philippe Elie
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
| DW_AT_name |
|
| DW_AT_stmt_list |
|
| DW_AT_low_pc |
|
| DW_AT_high_pc |
|
| DW_AT_language |
|
| DW_AT_compdir |
|
| DW_AT_producer |
|
- Enumerator:
| DW_CHILDREN_no |
|
| DW_CHILDREN_yes |
|
- Enumerator:
| DW_LNE_end_sequence |
|
| DW_LNE_set_address |
|
| DW_LNE_define_file |
|
- Enumerator:
| DW_LNS_copy |
|
| DW_LNS_advance_pc |
|
| DW_LNS_advance_line |
|
| DW_LNS_set_file |
|
| DW_LNS_set_column |
|
| DW_LNS_negate_stmt |
|
| DW_LNS_set_basic_block |
|
| DW_LNS_const_add_pc |
|
| DW_LNS_fixed_advance_pc |
|
| DW_LNS_max_opcode |
|
Function Documentation
| int finalize_debug_line_info |
( |
bfd * |
abfd |
) |
|
| int init_debug_line_info |
( |
bfd * |
abfd |
) |
|
References jr_code_debug_info::code_addr, create_section(), jitentry_debug_line::data, options::debug_info, debug_line_info::filename, init_buffer(), jitentry_debug_line_list, debug_line_info::lineno, jitentry_debug_line::next, jr_code_debug_info::nr_entry, growable_buffer::size, and debug_line_info::vma.
Referenced by op_jit_convert().
Variable Documentation