[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' retur
From: |
jbeulich at suse dot com |
Subject: |
[Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type |
Date: |
Wed, 24 Aug 2022 07:02:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29517
--- Comment #1 from Jan Beulich <jbeulich at suse dot com> ---
(In reply to Kevin Buettner from comment #0)
> Note that there's no DW_AT_type attribute (which would specify the return
> type) for the munmap subprogram. As I understand it, this causes the return
> type to be void. In section 3.3.2 of the DWARF 5 doc, it says "Debugging
> information entries for C void functions should not have an attribute for
> the return type."
>
> However, a potential fix is suggested by section 5.2: "An unspecified
> (implicit, unknown, ambiguous or nonexistent) type is represented by a
> debugging information entry with the tag DW_TAG_unspecified_type."
Well, that's the route to take then for Dwarf3 and newer, I guess. I don't
currently see what we could do about it for Dwarf2, though.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/29517] New: DWARF subprograms have a 'void' return type, kevinb at redhat dot com, 2022/08/23
- [Bug gas/29517] DWARF subprograms have a 'void' return type, kevinb at redhat dot com, 2022/08/23
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, kevinb at redhat dot com, 2022/08/23
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, kevinb at redhat dot com, 2022/08/23
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, fweimer at redhat dot com, 2022/08/24
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type,
jbeulich at suse dot com <=
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, nickc at redhat dot com, 2022/08/24
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, nickc at redhat dot com, 2022/08/24
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, fche at redhat dot com, 2022/08/24
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, kevinb at redhat dot com, 2022/08/24
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, cvs-commit at gcc dot gnu.org, 2022/08/25
- [Bug gas/29517] DWARF subprograms output by gas-2.39 have a 'void' return type, nickc at redhat dot com, 2022/08/25