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"
Include dependency graph for debug_line.c:

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.

Remarks:
Copyright 2007 OProfile authors
Read the file COPYING
Author:
Philippe Elie

Typedef Documentation

typedef int8_t sbyte
typedef int16_t shalf
typedef int32_t sword
typedef uint8_t ubyte
typedef uint16_t uhalf
typedef uint32_t uword

Enumeration Type Documentation

enum dw_at
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 
enum dw_form
Enumerator:
DW_FORM_data4 
enum dw_tag
Enumerator:
DW_TAG_compile_unit 
enum lne_opcode
Enumerator:
DW_LNE_end_sequence 
DW_LNE_set_address 
DW_LNE_define_file 
enum lns_opcode
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  ) 

Variable Documentation


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1