Fixed few comments.

llvm-svn: 258658
This commit is contained in:
Amjad Aboud 2016-01-24 08:18:55 +00:00
parent 1e5bafbc82
commit c077841492
2 changed files with 4 additions and 4 deletions

View File

@ -1506,7 +1506,7 @@ void DwarfDebug::emitDebugPubTypes(bool GnuStyle) {
&DwarfCompileUnit::getGlobalTypes);
}
// Emit visible names into a debug str section.
/// Emit null-terminated strings into a debug str section.
void DwarfDebug::emitDebugStr() {
DwarfFile &Holder = useSplitDwarf() ? SkeletonHolder : InfoHolder;
Holder.emitStrings(Asm->getObjFileLowering().getDwarfStrSection());
@ -1823,7 +1823,7 @@ void DwarfDebug::emitDebugARanges() {
}
}
// Emit visible names into a debug ranges section.
/// Emit address ranges into a debug ranges section.
void DwarfDebug::emitDebugRanges() {
// Start the dwarf ranges section.
Asm->OutStreamer->SwitchSection(
@ -1911,7 +1911,7 @@ unsigned DwarfDebug::emitMacroFile(AsmStreamerBase *AS, DIMacroFile &F,
return Size;
}
// Emit visible names into a debug macinfo section.
/// Emit macros into a debug macinfo section.
void DwarfDebug::emitDebugMacinfo() {
if (MCSection *Macinfo = Asm->getObjFileLowering().getDwarfMacinfoSection()) {
// Start the dwarf macinfo section.

View File

@ -397,7 +397,7 @@ class DwarfDebug : public AsmPrinterHandler {
bool GnuStyle, MCSection *PSec, StringRef Name,
const StringMap<const DIE *> &(DwarfCompileUnit::*Accessor)() const);
/// Emit visible names into a debug str section.
/// Emit null-terminated strings into a debug str section.
void emitDebugStr();
/// Emit variable locations into a debug loc section.