Re: [Dwarf-Discuss] Proposal to add DW_AT_alignment

2014-06-02 Thread Joel Brobecker
> Thanks, I didn't know that. The proposal was certainly written with the > above and the description C11 in mind. One thing I wanted to make clear > was that a producer only needs to add the alignment if it is different > from the default alignment as used for the language and abi. And that > the

Re: [Dwarf-Discuss] Proposal to add DW_AT_alignment

2014-06-02 Thread Mark Wielaard
On Wed, 2014-05-28 at 16:33 -0700, Joel Brobecker wrote: > Very interesting proposal! Thanks for putting it together. Thanks. BTW part of the reason to propose this was the new gcc/gdb expression support for C as recently posted to the gcc and gdb lists: https://gcc.gnu.org/ml/gcc-patches/2014-05/

Re: [Dwarf-Discuss] Proposal to add DW_AT_alignment

2014-05-28 Thread Joel Brobecker
Hi Mark, > I saw the submission deadline has officially passed, but I wanted to put > up a formal proposal anyway. If not accepted to DWARF5 I will first > implement it as a GNU extensions. But of course even in that case I > would like feedback to make sure the extension is as close as possible >

Re: [Dwarf-Discuss] Proposal to add DW_AT_alignment

2014-05-28 Thread Mark Wielaard
On Thu, 2014-05-15 at 15:29 +0200, Mark Wielaard wrote: > Another thing added in C11 is the _Alignas specifier through which a > user can request to have a type or object that is stricter than the > default alignment for the type of object. Existing compilers like GCC > already allow users to speci

[Dwarf-Discuss] Proposal to add DW_AT_alignment

2014-05-15 Thread Mark Wielaard
Hi, Another thing added in C11 is the _Alignas specifier through which a user can request to have a type or object that is stricter than the default alignment for the type of object. Existing compilers like GCC already allow users to specify the alignment of types and variables through implementat