Displaying 2 results from an estimated 2 matches for "dw_tag_prototyped".
Did you mean:
dw_at_prototyped
2019 Jan 18
2
Potential DWARF debug info bug: DW_TAG_label DIE has a DW_AT_prototyped attribute
...lue in the context of a DW_TAG_label DIE?
> >
> > If not, I propose to remove the call to EmitAbbrev() on behalf of the
> DW_AT_prototyped attribute for a DW_TAG_label in EmitGenDwarfAbbrev().
>
> I don't think that any Mach-O DWARF consumer depends on the presence of
> DW_TAG_prototyped inside of a DW_TAG_label. The only occurrence of
> DW_TAG_prototyped inside of LLDB for example is in a switch statement of
> attributes that are ignored...
>
> Feel free to add me (and the "debug-info" group) as a reviewer for the
> patch in phabricator.
>
> thanks...
2019 Jan 18
2
Potential DWARF debug info bug: DW_TAG_label DIE has a DW_AT_prototyped attribute
In llvm/lib/MC/MCDwarf.cpp's EmitGenDwarfAbbrev(), the DWARF abbreviation declaration for a DW_TAG_label includes a DW_AT_prototyped attribute, but the DWARF 4 specification indicates that the DW_AT_prototyped attribute is not a valid attribute for the DW_TAG_label debug information entry (DIE). In this case, EmitGenDwarfAbbrev() is clearly in violation of the DWARF 4 specification.
However,