- Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
Description
| Bugzilla Link | 34163 |
| Resolution | FIXED |
| Resolved on | Aug 17, 2017 10:27 |
| Version | unspecified |
| OS | All |
| Blocks | #33196 |
| CC | @DougGregor,@froydnj,@zmodem,@zygoloid,@HighCommander4 |
Extended Description
The following code does not get a vtable emitted when compiling with clang 5.0.0 (release_50@310398). Removing the 'using mozilla::B' line causes it to be emitted. The vtable is also emitted when not using '-g'
class FontInfoData;
class A {
void F(FontInfoData *aFontInfoData);
};
namespace mozilla {
struct B
{
A* mAttrs;
};
}
using mozilla::B;
using namespace mozilla;
class FontInfoData {
void Release() {
delete this;
}
virtual ~FontInfoData() {}
virtual void R();
};
void FontInfoData::R() {
}