[llvm] r258658 - Fixed few comments.
Amjad Aboud via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 24 00:18:55 PST 2016
Author: aaboud
Date: Sun Jan 24 02:18:55 2016
New Revision: 258658
URL: http://llvm.org/viewvc/llvm-project?rev=258658&view=rev
Log:
Fixed few comments.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=258658&r1=258657&r2=258658&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Sun Jan 24 02:18:55 2016
@@ -1506,7 +1506,7 @@ void DwarfDebug::emitDebugPubTypes(bool
&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(AsmSt
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.
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=258658&r1=258657&r2=258658&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Sun Jan 24 02:18:55 2016
@@ -397,7 +397,7 @@ class DwarfDebug : public AsmPrinterHand
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.
More information about the llvm-commits
mailing list