mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 10:13:13 +00:00
MC: Put back the MCFragment vtable, so subclasses are destroyed properly (duh).
llvm-svn: 109649
This commit is contained in:
parent
f68b6caf37
commit
1c35389c03
@ -87,6 +87,7 @@ protected:
|
||||
public:
|
||||
// Only for sentinel.
|
||||
MCFragment();
|
||||
virtual ~MCFragment();
|
||||
|
||||
FragmentType getKind() const { return Kind; }
|
||||
|
||||
|
@ -178,6 +178,9 @@ uint64_t MCAsmLayout::getSectionSize(const MCSectionData *SD) const {
|
||||
MCFragment::MCFragment() : Kind(FragmentType(~0)) {
|
||||
}
|
||||
|
||||
MCFragment::~MCFragment() {
|
||||
}
|
||||
|
||||
MCFragment::MCFragment(FragmentType _Kind, MCSectionData *_Parent)
|
||||
: Kind(_Kind), Parent(_Parent), Atom(0), EffectiveSize(~UINT64_C(0))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user