Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
em_dwarf.h File Reference
#include <dwarf.h>
#include <libdwarf.h>
#include "srcpos.h"
#include "targ_em_dwarf.h"
Include dependency graph for em_dwarf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Dwarf_P_Debug Em_Dwarf_Begin (BOOL is_64bit, BOOL dwarf_trace, BOOL is_cplus)
void Em_Dwarf_Write_Scns (void)
void Em_Dwarf_End (void)
pSCNINFO Em_Dwarf_Find_Dwarf_Scn (size_t scndx)
pSCNINFO Em_Dwarf_Find_Dwarf_Scn_By_Name (char *name)
INT Em_Dwarf_Prepare_Output (void)
void Em_Dwarf_Add_Line_Entry (INT code_address, SRCPOS srcpos)
void Em_Dwarf_Add_Include (UINT16 incl_idx, char *name)
void Em_Dwarf_Add_File (UINT16 file_idx, char *name, UINT16 incl_idx, Dwarf_Unsigned modification_time, Dwarf_Unsigned file_size)
void Em_Dwarf_File_Index_To_Name (INT file_index, char **filename, char **path)
void Em_Dwarf_Process_PU (Dwarf_Unsigned begin_label, Dwarf_Unsigned end_label, INT32 begin_offset, INT32 end_offset, Dwarf_P_Die PU_die, Dwarf_P_Fde fde, Elf64_Word eh_symindex, INT eh_offset)
void Em_Dwarf_Start_Text_Region (pSCNINFO scninfo, INT start_offset)
void Em_Dwarf_Start_Text_Region_Semi_Symbolic (pSCNINFO, INT, Dwarf_Unsigned, Dwarf_Addr)
void Em_Dwarf_End_Text_Region (pSCNINFO scninfo, INT end_offset)
void Em_Dwarf_End_Text_Region_Semi_Symbolic (pSCNINFO, INT, Dwarf_Unsigned, Dwarf_Addr)

Variables

INT data_alignment_factor

Function Documentation

void Em_Dwarf_Add_File ( UINT16  file_idx,
char *  name,
UINT16  incl_idx,
Dwarf_Unsigned  modification_time,
Dwarf_Unsigned  file_size 
)

Definition at line 224 of file em_dwarf.cxx.

References dw_dbg, dw_error, dwarf_add_file_decl(), FNAME::dwarf_idx, FNAME::filename, FNAME::incl_idx, Increase_File_Table_Size(), and name.

Here is the call graph for this function:

void Em_Dwarf_Add_Include ( UINT16  incl_idx,
char *  name 
)

Definition at line 189 of file em_dwarf.cxx.

References dw_dbg, dw_error, dwarf_add_directory_decl(), INCL::dwarf_idx, Increase_Incl_Table_Size(), name, and INCL::path.

Here is the call graph for this function:

void Em_Dwarf_Add_Line_Entry ( INT  code_address,
SRCPOS  srcpos 
)

Definition at line 478 of file em_dwarf.cxx.

References dw_dbg, dw_error, dwarf_add_line_entry(), USRCPOS_bb_begin, USRCPOS_column, USRCPOS_filenum, USRCPOS_linenum, USRCPOS_srcpos, and USRCPOS_stmt_begin.

Here is the call graph for this function:

Dwarf_P_Debug Em_Dwarf_Begin ( BOOL  is_64bit,
BOOL  dwarf_trace,
BOOL  is_cplus 
)

Definition at line 286 of file em_dwarf.cxx.

References Em_Dwarf_Begin(), and NULL.

Here is the call graph for this function:

void Em_Dwarf_End ( void  )

Definition at line 471 of file em_dwarf.cxx.

References dw_dbg, dw_error, and dwarf_producer_finish().

Here is the call graph for this function:

void Em_Dwarf_End_Text_Region ( pSCNINFO  scninfo,
INT  end_offset 
)

Definition at line 565 of file em_dwarf.cxx.

References Em_Dwarf_End_Text_Arange(), and Em_Dwarf_End_Text_Lines().

Here is the call graph for this function:

Definition at line 572 of file em_dwarf.cxx.

References Em_Dwarf_End_Text_Arange_Symbolic(), and Em_Dwarf_End_Text_Lines().

Here is the call graph for this function:

void Em_Dwarf_File_Index_To_Name ( INT  file_index,
char **  filename,
char **  path 
)

Definition at line 141 of file em_dwarf.cxx.

References Em_Get_Section_Index(), NULL, and num_dwarf_scns.

Referenced by Em_Dwarf_Write_Scns().

Here is the call graph for this function:

Definition at line 152 of file em_dwarf.cxx.

References Em_Get_Section_Name(), NULL, and num_dwarf_scns.

Here is the call graph for this function:

Definition at line 460 of file em_dwarf.cxx.

References dw_dbg, DW_DLV_NOCOUNT, dw_error, dwarf_transform_to_disk_form(), exit(), fprintf(), and section_count.

Here is the call graph for this function:

void Em_Dwarf_Process_PU ( Dwarf_Unsigned  begin_label,
Dwarf_Unsigned  end_label,
INT32  begin_offset,
INT32  end_offset,
Dwarf_P_Die  PU_die,
Dwarf_P_Fde  fde,
Elf64_Word  eh_symindex,
INT  eh_offset 
)

Definition at line 582 of file em_dwarf.cxx.

References cie_index, DW_AT_high_pc, DW_AT_low_pc, dw_dbg, DW_DLX_NO_EH_OFFSET, dw_error, dwarf_add_AT_targ_address_b(), dwarf_add_frame_fde_b(), dwarf_add_frame_info_b(), and NULL.

Here is the call graph for this function:

void Em_Dwarf_Start_Text_Region ( pSCNINFO  scninfo,
INT  start_offset 
)

Definition at line 520 of file em_dwarf.cxx.

References Em_Dwarf_Start_Text_Lines().

Here is the call graph for this function:

void Em_Dwarf_Write_Scns ( void  )

Definition at line 454 of file em_dwarf.cxx.

References Em_Dwarf_Write_Scns(), and NULL.

Here is the call graph for this function:


Variable Documentation

Definition at line 55 of file em_dwarf.cxx.

Referenced by Em_Dwarf_Begin(), and Em_Dwarf_Write_Scns().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines