GCC Middle and Back End API Reference
|
Data Structures | |
struct | xcoff_type_number |
Functions | |
static void | xcoffout_block (tree, int, tree) |
static void | xcoffout_source_file (FILE *, const char *, int) |
int | xcoff_assign_fundamental_type_number () |
int | stab_to_sclass () |
static void | xcoffout_source_file () |
void | xcoffout_source_line (unsigned int line, const char *filename, int discriminator, bool is_stmt) |
static void | xcoffout_block () |
void | xcoffout_begin_block () |
void | xcoffout_end_block () |
void | xcoffout_declare_function () |
void | xcoffout_begin_prologue (unsigned int line, const char *file) |
void | xcoffout_end_function () |
void | xcoffout_end_epilogue (unsigned int line, const char *file) |
Variables | |
static int | xcoff_begin_function_line = -1 |
static int | xcoff_inlining = 0 |
const char * | xcoff_current_include_file |
static const char * | xcoff_current_function_file |
char * | xcoff_bss_section_name |
char * | xcoff_private_data_section_name |
char * | xcoff_tls_data_section_name |
char * | xcoff_tbss_section_name |
char * | xcoff_read_only_section_name |
const char * | xcoff_lastfile |
static struct xcoff_type_number | xcoff_type_numbers [] |
static int | do_block = 0 |
int stab_to_sclass | ( | ) |
Conversion routine from BSD stabs to AIX storage classes.
int xcoff_assign_fundamental_type_number | ( | ) |
Returns an XCOFF fundamental type number for DECL (assumed to be a TYPE_DECL), or 0 if dbxout.c should assign a type number normally.
References int_size_in_bytes(), xcoff_type_number::name, and xcoff_type_number::number.
void xcoffout_begin_block | ( | ) |
Describe the beginning of an internal block within a function. Also output descriptions of variables defined in this block. N is the number of the block, by order of beginning, counting from 1, and not counting the outermost (function top-level) block. The blocks match the BLOCKs in DECL_INITIAL (current_function_decl), if the count starts at 0 for the outermost one.
References asm_out_file, current_function_decl, do_block, and xcoffout_block().
void xcoffout_begin_prologue | ( | unsigned int | line, |
const char * | file | ||
) |
Called at beginning of function body (at start of prologue). Record the function's starting line number, so we can output relative line numbers for the other lines. Record the file name that this function is contained in.
References asm_out_file, current_function_decl, dbxout_parms(), do_block, and xcoffout_block().
Referenced by xcoffout_begin_block(), xcoffout_begin_prologue(), and xcoffout_block().
|
static |
References dbxout_reg_parms(), dbxout_syms(), DINFO_LEVEL_TERSE, do_block, and xcoffout_block().
void xcoffout_declare_function | ( | ) |
Called at beginning of function (before prologue). Declare function as needed for debugging.
References dbxout_symbol(), len, memcpy(), strlen(), and xcoffout_source_file().
void xcoffout_end_block | ( | ) |
Describe the end line-number of an internal block within a function.
References asm_out_file.
void xcoffout_end_epilogue | ( | unsigned int | line, |
const char * | file | ||
) |
Output xcoff info for the absolute end of a function. Called after the epilogue is output.
References asm_out_file, and current_function_decl.
void xcoffout_end_function | ( | ) |
Called at end of function (before epilogue). Describe end of outermost block.
References asm_out_file.
|
static |
Referenced by xcoffout_declare_function(), and xcoffout_source_line().
|
static |
Output debugging info to FILE to switch to sourcefile FILENAME. INLINE_P is true if this is from an inlined function.
References output_quoted_string(), remap_debug_filename(), xcoff_current_include_file, xcoff_inlining, and xcoff_lastfile.
void xcoffout_source_line | ( | unsigned int | line, |
const char * | filename, | ||
int | discriminator, | ||
bool | is_stmt | ||
) |
Output a line number symbol entry for location (FILENAME, LINE).
References asm_out_file, xcoff_begin_function_line, xcoff_current_function_file, and xcoffout_source_file().
|
static |
Output the symbols defined in block number DO_BLOCK. This function works by walking the tree structure of blocks, counting blocks until it finds the desired block.
Referenced by xcoffout_begin_block(), xcoffout_begin_prologue(), and xcoffout_block().
|
static |
@verbatim Output xcoff-format symbol table information from GNU compiler.
Copyright (C) 1992-2013 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.
Output xcoff-format symbol table data. The main functionality is contained in dbxout.c. This file implements the sdbout-like parts of the xcoff interface. Many functions are very similar to their counterparts in sdbout.c.
This defines the C_* storage classes.
Line number of beginning of current function, minus one. Negative means not in a function or not using xcoff.
Referenced by xcoffout_source_line().
char* xcoff_bss_section_name |
Names of bss and data sections. These should be unique names for each compilation unit.
|
static |
Name of the current function file. This is the file the `.bf' is emitted from. In case a line is emitted from a different file, (by including that file of course), then the line number will be absolute.
Referenced by xcoffout_source_line().
const char* xcoff_current_include_file |
Name of the current include file.
Referenced by xcoffout_source_file().
|
static |
Referenced by xcoffout_source_file().
const char* xcoff_lastfile |
Last source file name mentioned in a NOTE insn.
Referenced by xcoffout_source_file().
char* xcoff_private_data_section_name |
char* xcoff_read_only_section_name |
char* xcoff_tbss_section_name |
char* xcoff_tls_data_section_name |
|
static |