diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-12-04 23:39:02 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-12-04 23:39:02 +0000 |
commit | 6896e190cfe8313f34ee3f04743ae7be6be5b1bf (patch) | |
tree | bc344e6a595a806df290db4014acc61af20bc4f3 | |
parent | 86496a45cbec55304350903c39f5e58908322420 (diff) | |
download | bcm5719-llvm-6896e190cfe8313f34ee3f04743ae7be6be5b1bf.tar.gz bcm5719-llvm-6896e190cfe8313f34ee3f04743ae7be6be5b1bf.zip |
DwarfUnit: Correct comment by generalizing over all units, not just compilation units.
Code review feedback on r196394 by Paul Robinson.
llvm-svn: 196433
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index d93f46e80d8..109534c5691 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -1976,9 +1976,9 @@ void Unit::emitHeader(const MCSection *ASection, const MCSymbol *ASectionSym) { 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()); |