Asm->OutStreamer.EmitLabel((*HI)->Sym);
Asm->OutStreamer.AddComment((*HI)->Str);
Asm->EmitSectionOffset(D->getStringPoolEntry((*HI)->Str),
- D->getDwarfStrSectionSym());
+ D->getStringPool());
Asm->OutStreamer.AddComment("Num DIEs");
Asm->EmitInt32((*HI)->DIEOffsets.size());
for (std::vector<uint32_t>::const_iterator
return Entry.first = Asm->GetTempSymbol("string", Entry.second);
}
-MCSymbol *DwarfDebug::getDwarfStrSectionSym(void) {
- if (DwarfStrSectionSym) return DwarfStrSectionSym;
- DwarfStrSectionSym =
- EmitSectionSym(Asm, Asm->getObjFileLowering().getDwarfStrSection(),
- "section_str");
- return DwarfStrSectionSym;
-}
-
/// assignAbbrevNumber - Define a unique number for the abbreviation.
///
void DwarfDebug::assignAbbrevNumber(DIEAbbrev &Abbrev) {
/// getStringPoolEntry - returns an entry into the string pool with the given
/// string text.
MCSymbol *getStringPoolEntry(StringRef Str);
-
- /// getDwarfStrSectionSym - returns the symbol that starts the dwarf string
- /// section.
- MCSymbol *getDwarfStrSectionSym();
};
} // End of namespace llvm