Thread overview
Dwarf tag for D type qualifiers
Oct 05, 2015
deadalnix
Oct 05, 2015
deadalnix
Oct 05, 2015
deadalnix
Oct 05, 2015
deadalnix
Oct 05, 2015
Iain Buclaw
Oct 05, 2015
Dicebot
Oct 05, 2015
Iain Buclaw
October 05, 2015
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 ?
October 05, 2015
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.

October 05, 2015
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


October 05, 2015
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
October 05, 2015
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 ?

October 05, 2015
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.

October 05, 2015
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.


October 05, 2015
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. :-)