[lld] r186346 - [PECOFF] Fix comment.
Rui Ueyama
ruiu at google.com
Mon Jul 15 14:00:53 PDT 2013
Author: ruiu
Date: Mon Jul 15 16:00:53 2013
New Revision: 186346
URL: http://llvm.org/viewvc/llvm-project?rev=186346&view=rev
Log:
[PECOFF] Fix comment.
Modified:
lld/trunk/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
Modified: lld/trunk/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp?rev=186346&r1=186345&r2=186346&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp (original)
+++ lld/trunk/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp Mon Jul 15 16:00:53 2013
@@ -604,9 +604,9 @@ public:
/// page.
///
/// By dividing 32 bit RVAs into blocks, COFF saves disk and memory space for
- /// the base relocation. A block consists with a 32 bit page RVA and 16 bit
- /// relocation entries which represent offsets in the page. That is a compact
- /// represetation than a simple vector of 32 bit RVAs.
+ /// the base relocation. A block consists of a 32 bit page RVA and 16 bit
+ /// relocation entries which represent offsets in the page. That is a more
+ /// compact representation than a simple vector of 32 bit RVAs.
void setContents(ChunkVectorT &chunks) {
std::vector<uint64_t> relocSites = listRelocSites(chunks);
PageOffsetT blocks = groupByPage(relocSites);
More information about the llvm-commits
mailing list