This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
Hi,
As explained in PR40659 a simple struct member offset doesn't need a full dwarf location expression, but can just encode the DW_AT_data_member_location as a constant offset according to the Dwarf standard. This saves a little space (one byte per struct field member) and is slightly simpler to handle for debuginfo consumers. It is also the recommended way to encode this according to the examples in the Dwarf standard appendix.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |