Only emit the section sym if we're emitting the section.

llvm-svn: 189288
This commit is contained in:
Eric Christopher 2013-08-26 23:24:31 +00:00
parent c32a5a3d46
commit 350edd4487

View File

@ -1929,7 +1929,8 @@ void DwarfDebug::emitSectionLabels() {
emitSectionSym(Asm, TLOF.getDwarfLocSection());
if (HasDwarfPubNames)
emitSectionSym(Asm, TLOF.getDwarfPubNamesSection());
emitSectionSym(Asm, TLOF.getDwarfPubTypesSection());
if (useDarwinGDBCompat())
emitSectionSym(Asm, TLOF.getDwarfPubTypesSection());
DwarfStrSectionSym =
emitSectionSym(Asm, TLOF.getDwarfStrSection(), "info_string");
if (useSplitDwarf()) {