* [Bug default/30334] New: Support DW_TAG_iterface_type DIEs (for languages like D and Java)
@ 2023-04-11 15:38 dodji at redhat dot com
2023-04-11 15:40 ` [Bug default/30334] " dodji at redhat dot com
2023-04-11 15:41 ` dodji at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: dodji at redhat dot com @ 2023-04-11 15:38 UTC (permalink / raw)
To: libabigail
https://sourceware.org/bugzilla/show_bug.cgi?id=30334
Bug ID: 30334
Summary: Support DW_TAG_iterface_type DIEs (for languages like
D and Java)
Product: libabigail
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: default
Assignee: dodji at redhat dot com
Reporter: dodji at redhat dot com
CC: libabigail at sourceware dot org
Target Milestone: ---
The D language as well as the Java language support "interface" types.
These can be generally implemented using the DW_TAG_interface_type DIE.
Libabigail currently doesn't support this DIE.
It could support it by constructing an abigail::ir::class_decl type, with a
abigail::ir::class_decl::is_interface() accessor that returns true if the class
is an interface.
That interface would thus allow only abstract member functions and constant
data members.
Here is what the DWARF 5 spec says:
5.7.2 Interface Type Entries
The Java language defines “interface” types. An interface in Java is similar to
a C++ or Java class with only abstract methods and constant data members.
Interface types are represented by debugging information entries with the tag
DW_TAG_interface_type.
An interface type entry has a DW_AT_name attribute, whose value is a
null-terminated string containing the type name.
[...]
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug default/30334] Support DW_TAG_iterface_type DIEs (for languages like D and Java)
2023-04-11 15:38 [Bug default/30334] New: Support DW_TAG_iterface_type DIEs (for languages like D and Java) dodji at redhat dot com
@ 2023-04-11 15:40 ` dodji at redhat dot com
2023-04-11 15:41 ` dodji at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dodji at redhat dot com @ 2023-04-11 15:40 UTC (permalink / raw)
To: libabigail
https://sourceware.org/bugzilla/show_bug.cgi?id=30334
dodji at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |30297
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=30297
[Bug 30297] abg-dwarf-reader.cc:11251: execution should not have reached this
point!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug default/30334] Support DW_TAG_iterface_type DIEs (for languages like D and Java)
2023-04-11 15:38 [Bug default/30334] New: Support DW_TAG_iterface_type DIEs (for languages like D and Java) dodji at redhat dot com
2023-04-11 15:40 ` [Bug default/30334] " dodji at redhat dot com
@ 2023-04-11 15:41 ` dodji at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dodji at redhat dot com @ 2023-04-11 15:41 UTC (permalink / raw)
To: libabigail
https://sourceware.org/bugzilla/show_bug.cgi?id=30334
dodji at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |29412
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=29412
[Bug 29412] libabigail 2.2 Assertion metabug
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-11 15:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11 15:38 [Bug default/30334] New: Support DW_TAG_iterface_type DIEs (for languages like D and Java) dodji at redhat dot com
2023-04-11 15:40 ` [Bug default/30334] " dodji at redhat dot com
2023-04-11 15:41 ` dodji at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).