www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Dwarf tag for D type qualifiers

reply deadalnix <deadalnix gmail.com> writes:
It doesn't looks like we have Dwarf attribute for type qualifier. 
Is there a non standard way to code theses ? Do someone know the 
procedure to get these in the standard ?
Oct 04 2015
next sibling parent reply deadalnix <deadalnix gmail.com> writes:
On Monday, 5 October 2015 at 01:35:23 UTC, deadalnix wrote:
 It doesn't looks like we have Dwarf attribute for type 
 qualifier. Is there a non standard way to code theses ? Do 
 someone know the procedure to get these in the standard ?
Ok got it : http://dwarfstd.org/Comment.php Andrei, Walter, one of you care to do it ? I do think the request would carry more weight if it comes from you guys.
Oct 04 2015
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 10/5/15 3:39 AM, deadalnix wrote:
 On Monday, 5 October 2015 at 01:35:23 UTC, deadalnix wrote:
 It doesn't looks like we have Dwarf attribute for type qualifier. Is
 there a non standard way to code theses ? Do someone know the
 procedure to get these in the standard ?
Ok got it : http://dwarfstd.org/Comment.php Andrei, Walter, one of you care to do it ? I do think the request would carry more weight if it comes from you guys.
Thanks. Just sent this: "The D programming language (http://dlang.org) defines three type qualifiers: const, immutable, and shared. They are similar in effect on types to the qualifiers in other languages (such as const in C++). Adding attributes for these type qualifiers to DWARF would improve inspection and debugging of D programs." Andrei
Oct 04 2015
next sibling parent deadalnix <deadalnix gmail.com> writes:
On Monday, 5 October 2015 at 06:23:17 UTC, Andrei Alexandrescu 
wrote:
 On 10/5/15 3:39 AM, deadalnix wrote:
 On Monday, 5 October 2015 at 01:35:23 UTC, deadalnix wrote:
 It doesn't looks like we have Dwarf attribute for type 
 qualifier. Is
 there a non standard way to code theses ? Do someone know the
 procedure to get these in the standard ?
Ok got it : http://dwarfstd.org/Comment.php Andrei, Walter, one of you care to do it ? I do think the request would carry more weight if it comes from you guys.
Thanks. Just sent this: "The D programming language (http://dlang.org) defines three type qualifiers: const, immutable, and shared. They are similar in effect on types to the qualifiers in other languages (such as const in C++). Adding attributes for these type qualifiers to DWARF would improve inspection and debugging of D programs." Andrei
And inout ?
Oct 05 2015
prev sibling next sibling parent deadalnix <deadalnix gmail.com> writes:
On Monday, 5 October 2015 at 06:23:17 UTC, Andrei Alexandrescu 
wrote:
 On 10/5/15 3:39 AM, deadalnix wrote:
 On Monday, 5 October 2015 at 01:35:23 UTC, deadalnix wrote:
 It doesn't looks like we have Dwarf attribute for type 
 qualifier. Is
 there a non standard way to code theses ? Do someone know the
 procedure to get these in the standard ?
Ok got it : http://dwarfstd.org/Comment.php Andrei, Walter, one of you care to do it ? I do think the request would carry more weight if it comes from you guys.
Thanks. Just sent this: "The D programming language (http://dlang.org) defines three type qualifiers: const, immutable, and shared. They are similar in effect on types to the qualifiers in other languages (such as const in C++). Adding attributes for these type qualifiers to DWARF would improve inspection and debugging of D programs." Andrei
Anyway, keep us posted about how it goes. I have no idea how the standardization process works. I'm available to help if that is needed.
Oct 05 2015
prev sibling parent Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 5 October 2015 at 08:23, Andrei Alexandrescu via Digitalmars-d <
digitalmars-d puremagic.com> wrote:

 On 10/5/15 3:39 AM, deadalnix wrote:

 On Monday, 5 October 2015 at 01:35:23 UTC, deadalnix wrote:

 It doesn't looks like we have Dwarf attribute for type qualifier. Is
 there a non standard way to code theses ? Do someone know the
 procedure to get these in the standard ?
Ok got it : http://dwarfstd.org/Comment.php Andrei, Walter, one of you care to do it ? I do think the request would carry more weight if it comes from you guys.
Thanks. Just sent this: "The D programming language (http://dlang.org) defines three type qualifiers: const, immutable, and shared. They are similar in effect on types to the qualifiers in other languages (such as const in C++). Adding attributes for these type qualifiers to DWARF would improve inspection and debugging of D programs."
If it gets accepted, I'll likely be the one implemented it, giving my new title over in GDB. :-)
Oct 05 2015
prev sibling parent reply Dicebot <public dicebot.lv> writes:
On Monday, 5 October 2015 at 01:35:23 UTC, deadalnix wrote:
 It doesn't looks like we have Dwarf attribute for type 
 qualifier. Is there a non standard way to code theses ? Do 
 someone know the procedure to get these in the standard ?
Should be CC Iain methinks
Oct 05 2015
parent Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 5 October 2015 at 09:20, Dicebot via Digitalmars-d <
digitalmars-d puremagic.com> wrote:

 On Monday, 5 October 2015 at 01:35:23 UTC, deadalnix wrote:

 It doesn't looks like we have Dwarf attribute for type qualifier. Is
 there a non standard way to code theses ? Do someone know the procedure to
 get these in the standard ?
Should be CC Iain methinks
I was also meaning to get round to requesting that import declarations have an optional DW_AT_accessibility tag associated with them. So we are able to distinguish between public and private imports.
Oct 05 2015