This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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]

Re: [COMMITTED] libdw: Add DW_LANG_Haskell.


On Tue, 2015-08-25 at 15:15 +0200, Mark Wielaard wrote:
> See http://www.dwarfstd.org/ShowIssue.php?issue=120218.1
> GHC emits this language code (0x18).
> 
> Also updated https://fedorahosted.org/elfutils/wiki/DwarfExtensions

O, there was actually a question to go with this commit. Which I forgot
to add...

Does GHC emit DW_TAG_subrange_type (for arrays for example) and if so
does it always emit a DW_AT_lower_bound or does it assume this is known
to the DWARF consumer (most languages start indexes at zero or one).
See DWARFv4 7.12 Source Languages. dwarf_aggregate_size () uses this
knowledge for example in libdw to calculate the actual size of DIEs
representing arrays.

And are there any additional Haskell extensions for DWARF?

Thanks,

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]