Fix pr24486.
[oota-llvm.git] / lib / MC / MCSection.cpp
index 9152f2b42a48578abc5eecffb1a58259dc269e8b..e0d29bbd6600ae5d754c39e974b62be8e19e47eb 100644 (file)
@@ -21,7 +21,7 @@ using namespace llvm;
 
 MCSection::MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)
     : Begin(Begin), BundleGroupBeforeFirstInst(false), HasInstructions(false),
-      IsRegistered(false), Variant(V), Kind(K) {}
+      IsRegistered(false), DummyFragment(this), Variant(V), Kind(K) {}
 
 MCSymbol *MCSection::getEndSymbol(MCContext &Ctx) {
   if (!End)