-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.
Description
| Bugzilla Link | 21368 |
| Version | trunk |
| OS | All |
| CC | @hfinkel,@hjyamauchi |
Extended Description
struct A {
virtual ~A() {}
};
struct B final : public A {};
void foo(B *b) { delete b; }
===
For 'foo' we emit a dtor call through the vtable even though the 'B' is final.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.