This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: DWARF debug tags for gfortran's OOP implementation


On 06/28/2011 11:36 AM, Tom Tromey wrote:
"Tobias" == Tobias Burnus<burnus@net-b.de> writes:

Tobias> The DWARF spec does not really tell the implications of the Tobias> accessibility tags, which makes it a tad more difficult to Tobias> understand what should be done.

That is ok -- the DWARF consumer will see that the CU is Fortran, and
will know to apply Fortran semantics.

Yes. DWARF attributes have to be interpreted in the context of the language they are describing.

DWARF describes the source language constructs and how they are translated
into object files, while generally avoiding defining precise semantics for
each attribute.  Since each language has slightly different semantics for
shared concepts like accessibility, if DWARF did define precise semantics,
it would have to define a different attribute for each language or minor
variation.  Worse, we might end up in the awkward position of a language
standard being revised so that the DWARF definition no longer matched.

--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]