[llvm] r196433 - DwarfUnit: Correct comment by generalizing over all units, not just compilation units.
David Blaikie
dblaikie at gmail.com
Wed Dec 4 15:39:02 PST 2013
Author: dblaikie
Date: Wed Dec 4 17:39:02 2013
New Revision: 196433
URL: http://llvm.org/viewvc/llvm-project?rev=196433&view=rev
Log:
DwarfUnit: Correct comment by generalizing over all units, not just compilation units.
Code review feedback on r196394 by Paul Robinson.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp?rev=196433&r1=196432&r2=196433&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp Wed Dec 4 17:39:02 2013
@@ -1976,9 +1976,9 @@ void Unit::emitHeader(const MCSection *A
Asm->OutStreamer.AddComment("DWARF version number");
Asm->EmitInt16(DD->getDwarfVersion());
Asm->OutStreamer.AddComment("Offset Into Abbrev. Section");
- // We share one abbreviations table across all compilation units so it's
- // always at the start of the section. Use a relocatable offset where needed
- // to ensure linking doesn't invalidate that offset.
+ // We share one abbreviations table across all units so it's always at the
+ // start of the section. Use a relocatable offset where needed to ensure
+ // linking doesn't invalidate that offset.
Asm->EmitSectionOffset(ASectionSym, ASectionSym);
Asm->OutStreamer.AddComment("Address Size (in bytes)");
Asm->EmitInt8(Asm->getDataLayout().getPointerSize());
More information about the llvm-commits
mailing list