Close unique sections when switching away from them.
[oota-llvm.git] / include / llvm / MC / MCSectionCOFF.h
index b6ec1d852d4f6c3c47f71ff7915d208cbf9e3643..201c4fae294027bedc0cf1962dc18b17ae37e3a7 100644 (file)
@@ -47,7 +47,7 @@ class MCSymbol;
     MCSectionCOFF(StringRef Section, unsigned Characteristics,
                   MCSymbol *COMDATSymbol, int Selection, SectionKind K,
                   MCSymbol *Begin)
-        : MCSection(SV_COFF, K, Begin), SectionName(Section),
+        : MCSection(SV_COFF, K, Begin, /*Unique*/ false), SectionName(Section),
           Characteristics(Characteristics), COMDATSymbol(COMDATSymbol),
           Selection(Selection) {
       assert ((Characteristics & 0x00F00000) == 0 &&