[LTO]: PATCH: Handle DW_AT_inline

Mark Mitchell mark@codesourcery.com
Sun Aug 5 23:53:00 GMT 2007


This patch makes the DWARF reader handle DW_AT_inline.  (We get errors
when entries in this table are not filled in; Kenny ran into one of
the unimplemented cases.)

I'm going to seeabout filling in the entire table so we don't hit more
such problems.

Committed to LTO branch.

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713

2007-08-05  Mark Mitchell  <mark@codesourcery.com>

	* lto.c (lto_read_form): Add entry for DW_AT_inline.

Index: lto.c
===================================================================
--- lto.c	(revision 127226)
+++ lto.c	(working copy)
@@ -744,7 +744,7 @@ lto_read_form (lto_info_fd *info_fd, 
     DW_cl_error, /* containing_type */
     DW_cl_error, /* default_value */
     DW_cl_error, /* padding */
-    DW_cl_error, /* inline */
+    DW_cl_constant, /* inline */
     DW_cl_error, /* is_optional */
     DW_cl_block | DW_cl_constant | DW_cl_reference, /* lower_bound */
     DW_cl_error, /* padding */



More information about the Gcc-patches mailing list