summaryrefslogtreecommitdiff
path: root/gcc/dwarfout.c
Commit message (Collapse)AuthorAgeFilesLines
* (output_type): The "base type" of a SET_TYPE is its DOMAIN_TYPE, notkenner1993-12-111-1/+1
| | | | | | | its TREE_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6210 138bc75d-0d04-0410-961f-82ee72b054a4
* (function_start_label): New function.rms1993-11-241-18/+25
| | | | | | | | (output_entry_point_die): Use it. (output_global_subroutine_die, output_local_subroutine_die): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6153 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_local_subroutine_die): Use the function namerms1993-11-231-1/+15
| | | | | | | from its symbol_ref, not DECL_ASSEMBLER_NAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6142 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_SOURCE_FILENAME): Quote special characters in file names.eggert1993-09-281-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5493 138bc75d-0d04-0410-961f-82ee72b054a4
* (dwarfout_init): Report failure of getpwd.rms1993-07-171-3/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4930 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_compile_unit_die): Add support for Ada.kenner1993-06-271-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4769 138bc75d-0d04-0410-961f-82ee72b054a4
* (type_main_variant): New function.rms1993-06-201-9/+29
| | | | | | | Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4704 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_decl): Check for DECL_INITIAL == NULL_TREE rather thankenner1993-04-251-16/+36
| | | | | | | | | | | DECL_EXTERNAL != 0 when trying to see if we have a mere function declaration rather than a function definition. (dwarfout_file_scope_decl): Likewise. Also, don't bother checking TREE_USED for file-scope functions, since it isn't 100% accurate until the end of compilation anyway. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4225 138bc75d-0d04-0410-961f-82ee72b054a4
* (location_or_const_value_attribute): Fixed to use DECL_INCOMING_RTLkenner1993-04-211-58/+99
| | | | | | | | for PARM_DECLs only when DECL_RTL isn't usable, and even then, only when it actually points to the right place. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4189 138bc75d-0d04-0410-961f-82ee72b054a4
* Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate.kenner1993-04-131-9/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4118 138bc75d-0d04-0410-961f-82ee72b054a4
* (type_attribute): Use the TYPE_MAIN_VARIANT of therms1993-04-041-1/+10
| | | | | | | given type when calling `user_def_type_attribute'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4005 138bc75d-0d04-0410-961f-82ee72b054a4
* # Fix misspellings in comments.eggert1993-01-101-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3181 138bc75d-0d04-0410-961f-82ee72b054a4
* Include "assert.h" instead of <assert.h>.wood1992-10-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2647 138bc75d-0d04-0410-961f-82ee72b054a4
* (dwarfout_file_scope_decl): Generate DIEs forwood1992-10-201-4/+13
| | | | | | | built-in non-fundamental types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2528 138bc75d-0d04-0410-961f-82ee72b054a4
* (dwarfout_init, dwarfout_finish): Don't output labelswood1992-10-081-0/+12
| | | | | | | | or .debug_aranges entries for .data1 and .rodata1 as these sections aren't currently used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2369 138bc75d-0d04-0410-961f-82ee72b054a4
* (dwarfout_{begin,end}_function): New functions.wood1992-10-071-6/+69
| | | | | | | | | (body_{begin,end}_attribute): New functions. (dwarf_attr_name): Print AT_body_begin and AT_body_end. (output_{local,global}_subroutine_die): Output the new attributes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2361 138bc75d-0d04-0410-961f-82ee72b054a4
* (hard-reg-set.h): Included to get decl of `reg_names'.rms1992-10-051-24/+44
| | | | | | | | | | | (PRINT_REG): Default definition added. (dwarf_last_decl): Variable declaration added. (output_reg_number): New function; handle -fverbose-asm reg printing. (output_mem_loc_descriptor, output_loc_descriptor): Call it. (output_decl): Set `dwarf_last_decl' each time this fn is called. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2325 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in last change.rms1992-10-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2319 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_mem_loc_descriptor, output_loc_descriptor):rms1992-10-031-8/+27
| | | | | | | | Catch cases of bogus DECL_RTL values involving pseudo-regs (for all target systems) and print an annoying message if we ever see such a case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2311 138bc75d-0d04-0410-961f-82ee72b054a4
* (location_attribute): If DECL_RTL looks like (MEM pseudo),rms1992-09-261-7/+33
| | | | | | | treat that variable as optimized away. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2253 138bc75d-0d04-0410-961f-82ee72b054a4
* (is_tagged_type): New function added.rms1992-07-241-28/+42
| | | | | | | | | | (member_attribute): Use it. (type_ok_for_scope): Rewritten to eliminate serious bugs. (output_type): Call `output_pending_types_for_scope' at the end of struct/union types (which are themselves scopes in C++). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1681 138bc75d-0d04-0410-961f-82ee72b054a4
* (is_body_block): Rewritten for greater saftey.rms1992-07-241-13/+22
| | | | | | | (output_block): Fixed to deal correctly with non-inlined blocks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1678 138bc75d-0d04-0410-961f-82ee72b054a4
* (pure_or_virtual_attribute):rms1992-07-171-29/+92
| | | | | | | | | | | | | Add #if 0 around use of DECL_ABSTRACT_VIRTUAL_P. (BLOCK_INLINE_FUNCTION): Obsolete definition deleted. (block_ultimate_origin): New function. (output_block): Local `have_significant_locals' renamed to `must_output_die'. (output_block): Handle abstract & concrete blocks in inline functions. (output_decls_for_scope): Don't bump `next_block_number' for abstract blocks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1601 138bc75d-0d04-0410-961f-82ee72b054a4
* Renamed TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL.rms1992-07-121-13/+13
| | | | | | | to DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1570 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_inlined_enumeration_type_die): New function.rms1992-07-081-358/+567
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (output_inlined_structure_type_die, output_inlined_union_type_die): New functions added. (output_entry_point_die, output_formal_parameter_die, output_global_subroutine_die, output_global_variable_die, output_label_die, output_lexical_block_die, output_inlined_subroutine_die, output_local_variable_die, output_local_subroutine_die): Fixed to handle inline abstract & concrete (i.e. inlined) instances. (output_inlined_subroutine_die): Deleted. (output_label_die): Don't permit the rtx associated with a named user-declared label to be marked as INSN_DELETED_P. (output_tagged_type_instantiation): New function added. (output_decl): Call `output_tagged_type_instantiation'. Don't generate a pubnames label for anything marked as DECL_ABSTRACT. (output_die): Generate the proper kind fo DIE for each of the four possible combination of {normal, inlined} {variable, parameter}. (dwarfout_file_scope_decl): Don't generate pubnames entries if strictly abstract. (ordering_attribute): Only def if USE_ORDERING_ATTRIBUTE is defined. (output_array_type_die): Only call ordering_attribute if it is defined. (name_and_src_coords_attributes): Don't make it inline. Do make it static linkage. (const_value_attribute): Catch invalid kinds of rtx nodes by aborting for the default case in switch. (output_ptr_to_mbr_type_die): Make it static linkage. (output_formal_types): Make sure that `formal_type' is initialized. (output_type): Add a default case for switch. (output_decl): Don't suppress DIEs for the initial (artificial) arguments for C++ static member functions. (ceiling, field_type, simple_type_align_in_bits, simple_type_size_in_bits, field_byte_offset): New functions added. (data_member_location_attribute): Use new routine `field_byte_offset' to calculate the offset value for the AT_location attribute. (byte_size_attribute): Use new routine `field_type' to get the actual type for any FIELD_DECL. Also, use `simple_type_size_in_bits' to avoid potential problems with ERROR_MARKs when computing the size of a FIELD_DECL. (bit_offset_attribute): Rewritten to use `field_byte_offset' when determining the start of the "containing object". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1531 138bc75d-0d04-0410-961f-82ee72b054a4
* entered into RCSrms1992-07-081-1/+84
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1526 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-07-081-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1525 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***kenner1992-07-061-6/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1473 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-07-061-6/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1464 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-07-051-8/+102
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1443 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***mrs1992-06-291-6/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1341 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-311-4/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1131 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-141-124/+213
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@982 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-071-8/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@930 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***wood1992-04-291-11/+29
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@858 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-04-251-273/+530
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@832 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***mrs1992-04-131-0/+43
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@739 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-03-291-142/+144
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@627 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-03-201-59/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@539 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionwood1992-03-031-0/+4511
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@383 138bc75d-0d04-0410-961f-82ee72b054a4