Re: [Dwarf-Discuss] About self-referencial sized types

2014-06-10 Thread Pierre-Marie de Rodat
On 05/15/2014 06:42 PM, Jakub Jelinek wrote: Yes, I've actually already started to work with this lang-hook so we can master the DWARF information output for Ada array types (very useful!). However, it does not solve the issue of knowing what DWARF operations to output in order to compute the bou

Re: [Dwarf-Discuss] About self-referencial sized types

2014-06-10 Thread Pierre-Marie de Rodat
On 05/16/2014 03:00 PM, Agovic, Sanimir wrote: Indeed, therefore you have to reference a DW_TAG_variable. But this introduces a type/variable dependency. So a record type maps to a single variable, you end up with a 1:1 relation for this kind of types. The size of the debug information is alrea

Re: [Dwarf-Discuss] About self-referencial sized types

2014-06-10 Thread Pierre-Marie de Rodat
Todd, On 05/27/2014 06:16 PM, Todd Allen wrote: Sorry for the last response on this. But perhaps an example from our Ada compiler will help you. Well, thank you very much for this! Anyway, the significant thing is that we're not referencing "n" directly, but rather the stored values for the

[Dwarf-Discuss] Regarding concrete inlined and out-of-line inlined instances

2014-06-10 Thread Ramana
Hi, I have the below debug information (dwarf4) generated by the GCC compiler v4.8.2 for an inlined function. Please help me with the following query. In the concrete inlined instance of 'ext2_lookup', its DW_AT_entry_pc value (0xc01b49d0) is overlapping with the address range i.e. DW_AT_