Commit Graph

180 Commits

Author SHA1 Message Date
Richard Stallman
0591b9c628 (type_attribute): Use the TYPE_MAIN_VARIANT of the
given type when calling `user_def_type_attribute'.

From-SVN: r4005
1993-04-04 20:28:11 +00:00
Paul Eggert
8008b22801 # Fix misspellings in comments.
From-SVN: r3181
1993-01-10 20:12:31 +00:00
Tom Wood
e316696427 Include "assert.h" instead of <assert.h>.
From-SVN: r2647
1992-10-29 10:50:35 +00:00
Tom Wood
e6d9804cef (dwarfout_file_scope_decl): Generate DIEs for
built-in non-fundamental types.

From-SVN: r2528
1992-10-20 20:49:26 +00:00
Tom Wood
1396372010 (dwarfout_init...
(dwarfout_init, dwarfout_finish): Don't output labels
	or .debug_aranges entries for .data1 and .rodata1 as these
	sections aren't currently used.

From-SVN: r2369
1992-10-08 10:42:19 +00:00
Tom Wood
2a819d04bc (dwarfout_{begin,end}_function): New functions.
(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.

From-SVN: r2361
1992-10-07 20:24:33 +00:00
Richard Stallman
7f7429ca2c (hard-reg-set.h): Included to get decl of `reg_names'.
(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.

From-SVN: r2325
1992-10-05 08:04:57 +00:00
Richard Stallman
8c24a2ce8c Fix typo in last change.
From-SVN: r2319
1992-10-04 23:10:06 +00:00
Richard Stallman
52cdd5e580 (output_mem_loc_descriptor, output_loc_descriptor):
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.

From-SVN: r2311
1992-10-03 02:30:30 +00:00
Richard Stallman
28b039e302 (location_attribute): If DECL_RTL looks like (MEM pseudo),
treat that variable as optimized away.

From-SVN: r2253
1992-09-26 20:40:25 +00:00
Richard Stallman
c7d6dca22e (is_tagged_type): New function added.
(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++).

From-SVN: r1681
1992-07-24 21:13:11 +00:00
Richard Stallman
3abacf0289 (is_body_block): Rewritten for greater saftey.
(output_block):  Fixed to deal correctly with non-inlined blocks.

From-SVN: r1678
1992-07-24 03:30:02 +00:00
Richard Stallman
ece0ca60b8 Add #if 0 around use of DECL_ABSTRACT_VIRTUAL_P.
(pure_or_virtual_attribute):
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.

From-SVN: r1601
1992-07-17 04:12:51 +00:00
Richard Stallman
0924ddefb6 Renamed TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL.
to DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL.

From-SVN: r1570
1992-07-12 03:06:32 +00:00
Richard Stallman
d4d4c5a87d (output_inlined_enumeration_type_die): New function.
(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".

From-SVN: r1531
1992-07-08 22:37:48 +00:00
Richard Stallman
cb712ad45a entered into RCS
From-SVN: r1526
1992-07-08 18:18:26 +00:00
Richard Stallman
b083f44d94 *** empty log message ***
From-SVN: r1525
1992-07-08 18:17:42 +00:00
Richard Kenner
906c4e36c6 *** empty log message ***
From-SVN: r1473
1992-07-06 16:04:13 -04:00
Richard Stallman
a9f95fb696 *** empty log message ***
From-SVN: r1464
1992-07-06 19:49:10 +00:00
Richard Stallman
04077c530d *** empty log message ***
From-SVN: r1443
1992-07-05 19:41:17 +00:00
Mike Stump
3f7cc57ab8 *** empty log message ***
From-SVN: r1341
1992-06-29 19:15:14 +00:00
Richard Stallman
8ac9cb56c4 *** empty log message ***
From-SVN: r1131
1992-05-31 05:08:49 +00:00
Richard Stallman
648ebe7bd0 *** empty log message ***
From-SVN: r982
1992-05-14 22:43:01 +00:00
Richard Stallman
6dc42e49d3 *** empty log message ***
From-SVN: r930
1992-05-07 06:41:23 +00:00
Tom Wood
75791cee29 *** empty log message ***
From-SVN: r858
1992-04-29 10:28:21 +00:00
Richard Stallman
9a631e8e94 *** empty log message ***
From-SVN: r832
1992-04-25 01:51:43 +00:00
Mike Stump
d6c667b45a *** empty log message ***
From-SVN: r739
1992-04-13 22:20:35 +00:00
Richard Stallman
85595d1af1 *** empty log message ***
From-SVN: r627
1992-03-29 22:59:36 +00:00
Richard Stallman
2e494f7040 *** empty log message ***
From-SVN: r539
1992-03-20 22:22:14 +00:00
Tom Wood
340ccaabe2 Initial revision
From-SVN: r383
1992-03-03 20:36:53 +00:00