From mjw@redhat.com  Tue Dec  2 11:46:26 2014
From: mjw@redhat.com (Mark Wielaard)
Date: Tue, 02 Dec 2014 12:46:26 +0100
Subject: [Dwarf-Discuss] C++14 and C++03 (vs C++98)
In-Reply-To: <5475F371.6080401@eagercon.com>
References: <1412765862.5534.8.camel@bordewijk.wildebeest.org>
	<54352A6C.3070206@redhat.com>
	<1416919745.4954.15.camel@bordewijk.wildebeest.org>
	<5474A62A.6020209@eagerm.com> <87tx1n46b9.fsf@tromey.com>
	<1416997401.4954.19.camel@bordewijk.wildebeest.org>
	<5475F371.6080401@eagercon.com>
Message-ID: <1417520786.4954.80.camel@bordewijk.wildebeest.org>

On Wed, 2014-11-26 at 07:36 -0800, Michael Eager wrote:
> On 11/26/14 02:23, Mark Wielaard wrote:
> > Looks like Tom's reply never made the dwarf mailinglist.
> > So here it is to make the archive on this issue complete.
> >
> > On Tue, 2014-11-25 at 09:02 -0700, Tom Tromey wrote:
> >> Michael> Issue 120628.1 mentions a need to distinguish between C++03 and other
> >> Michael> versions of C++.  If you believe that DW_LANG_C_plus_plus_03 is not
> >> Michael> necessary, I suggest that you discuss this with the submitter, Tom
> >> Michael> Tromey, to understand why he believes that this is required.
> >>
> >> Mark & I discussed it and I couldn't remember any reason that this was
> >> needed.
> >>
> >> Tom
> 
> Please submit a comment to remove the language code:
> http://dwarfstd.org/Comment.php

I don't believe Tom uses that email address anymore. I have CCed the
address he tried to use to post to the list. Just in case Tom didn't
yet, I have added a clarification request (see below). But didn't get a
issue number yet. Note that Jakub also said he added a request for
Fortran language version constants that also hasn't shown up on the
website.

BTW. That page says it is for DWARF Version 4 Standard issues. Not for
DWARFv5 drafts. I have been using the following draft for prototyping
some new things http://www.dwarfstd.org/doc/dwarf5.20141029.pdf
I don't know if that is the latest version. Or when the committee
expects feedback on the DWARFv5 draft document. I haven't had time to
read the whole document yet. It would be nice to have a date/deadline
before when feedback on the DWARFv5 draft should be given.

Thanks,

Mark

Subject:  DW_LANG_C_plus_plus_03 clarification
Name:  Mark Wielaard
Email:  mjw at redhat.com
Section:  3.1.1  Page:  57
Type:  Clarification

The DWARFv5 draft document
http://www.dwarfstd.org/doc/dwarf5.20141029.pdf in Section 3.1.1, Normal
and Partial Compilation Unit Entries, contains Table 3.1: Language names
which has an entry for DW_LANG_C_plus_plus_03 ISO C++:2003. The same
constant can be found in 7.12 Source Languages as Table 7.17: Language
encodings.

As discussed on the DWARF mailinglist
http://thread.gmane.org/gmane.comp.standards.dwarf/218 it is unclear
when a DWARF producer should use that language constant, or what a DWARF
consumer can expect when that language constant is used since C++03 does
not change the language in any way from C++98 represented by
DW_LANG_c_plus_plus.

Is DW_LANG_c_plus_plus_03 constant is actually needed? And if adopted by
DWARFv5, how should a producer and consumer need to interpret it?


From eager@eagercon.com  Fri Dec  5 19:17:26 2014
From: eager@eagercon.com (Michael Eager)
Date: Fri, 05 Dec 2014 11:17:26 -0800
Subject: [Dwarf-Discuss] C++14 and C++03 (vs C++98)
In-Reply-To: <1417520786.4954.80.camel@bordewijk.wildebeest.org>
References: <1412765862.5534.8.camel@bordewijk.wildebeest.org>		<54352A6C.3070206@redhat.com>		<1416919745.4954.15.camel@bordewijk.wildebeest.org>		<5474A62A.6020209@eagerm.com>
	<87tx1n46b9.fsf@tromey.com>	
	<1416997401.4954.19.camel@bordewijk.wildebeest.org>	
	<5475F371.6080401@eagercon.com>
	<1417520786.4954.80.camel@bordewijk.wildebeest.org>
Message-ID: <548204C6.8050002@eagercon.com>

On 12/02/14 03:46, Mark Wielaard wrote:

>
> BTW. That page says it is for DWARF Version 4 Standard issues. Not for
> DWARFv5 drafts. I have been using the following draft for prototyping
> some new things http://www.dwarfstd.org/doc/dwarf5.20141029.pdf
> I don't know if that is the latest version. Or when the committee
> expects feedback on the DWARFv5 draft document. I haven't had time to
> read the whole document yet. It would be nice to have a date/deadline
> before when feedback on the DWARFv5 draft should be given.

The web page is correct.  We have solicited comments and suggestions
for changes to the DWARF Version 4 standard.  The deadline for comments
was several months ago.

We anticipate publishing a public comment draft of the DWARF Version 5
Standard in April or May, 2015.

I repeatedly request that DWARF Committee members not redistribute internal
drafts of the standard.  Anyone in receipt of such a draft should also
not redistribute it.  Anyone relying on an internal draft does so at his
own risk.  This is a work in progress and we neither solicit nor accept
any comments based on an internal, unreleased document.


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


From pmachata@redhat.com  Wed Dec 10 15:41:08 2014
From: pmachata@redhat.com (Petr Machata)
Date: Wed, 10 Dec 2014 16:41:08 +0100
Subject: [Dwarf-Discuss] Announcing dwgrep 0.1
Message-ID: <m2vbljv7fv.fsf@redhat.com>

I am happy to announce the first release of dwgrep, a tool for querying
Dwarf graphs.

Dwgrep is useful for looking up particular patterns in Dwarf files.
They might be nonsensical or sub-optimal constructs produced as a result
of a compiler bug, rare constructs, or some sort of relationship that
you are interested in.  E.g. it is fairly straghtforward to write a
few-liner to generate class inheritance information, to find underlying
type of typedefs, to find functions that pass structure parameters by
value, etc.

For more information, documentation and a tutorial, please visit:

	http://pmachata.github.io/dwgrep/index.html

Current release tarball is available here:

	https://github.com/pmachata/dwgrep/archive/0.1/dwgrep-0.1.tar.gz

Dwgrep contains a C API, but it should be considered experimental.
Correspondingly there's no documentation.  This is only 0.1 after all.

There is no mailing list.  Please contact me directly at
pmachata@{redhat,gmail}.com, or file issues at github issue tracker:

	https://github.com/pmachata/dwgrep/issues

Thank you,
Petr


