D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 18893 - extern(C++) class RTTI
Summary: extern(C++) class RTTI
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P4 enhancement
Assignee: No Owner
URL:
Keywords: C++, industry
Depends on:
Blocks:
 
Reported: 2018-05-21 20:59 UTC by Manu
Modified: 2024-12-13 18:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Manu 2018-05-21 20:59:29 UTC
We need to reserve vtable slot -1 and insert the C++ typeinfo when generating extern(C++) classes.
Comment 1 Jacob Carlborg 2019-05-15 11:01:43 UTC
I would really like this as well. To be able to inspect the dynamic type in the debugger.

This applies to all platforms. Seems to be a problem with LDC as well.
Comment 2 Manu 2019-05-19 05:13:21 UTC
I think this is actually a severe issue and should be fixed urgently.
It tends to crash debuggers instantly.
Comment 3 dlangBugzillaToGithub 2024-12-13 18:58:51 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19438

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB