From 01175f32ead5ef6a8ae0253cd99e75be2eeeb05d Mon Sep 17 00:00:00 2001 From: Amjad Aboud Date: Sun, 24 Jan 2016 08:18:55 +0000 Subject: [PATCH] Fixed few comments. llvm-svn: 258658 --- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 6 +++--- lib/CodeGen/AsmPrinter/DwarfDebug.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index ae62b6b19a4..362d3bf2fdc 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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. diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 460c186683f..4d90e193a64 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -397,7 +397,7 @@ class DwarfDebug : public AsmPrinterHandler { bool GnuStyle, MCSection *PSec, StringRef Name, const StringMap &(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.