diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
commit | 8b2bd4ed47e819e042a49d21abbd8f6bcd143f79 (patch) | |
tree | ba3a478e91b08ac7ff56e4f216b2af0fb7bac92a /llvm/tools/llvm-ar/llvm-ar.cpp | |
parent | d67697411af42b41073552b7ff73775ec6f9e6f2 (diff) | |
download | bcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.tar.gz bcm5719-llvm-8b2bd4ed47e819e042a49d21abbd8f6bcd143f79.zip |
Fix spelling.
llvm-svn: 9027
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
-rw-r--r-- | llvm/tools/llvm-ar/llvm-ar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 7634a1a9e0a..c1ec7ecafe2 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -90,7 +90,7 @@ static inline bool Error(std::string *ErrorStr, const char *Message) { // 1) Generate the header for the symbol table. This is a normal // archive member header, but it has a zero length name. // 2) For each archive member file, stat the file and parse the bytecode -// Store cummulative offset (file size + header size). +// Store cumulative offset (file size + header size). // 3) Loop over all the symbols for the current member file, // add offset entry to offset vector, and add symbol name to its vector. // Note: The symbol name vector is a vector of chars to speed up calculating @@ -206,7 +206,7 @@ bool WriteSymbolTable(std::ofstream &ArchiveFile) { //Adjustment to offset to start files on even byte boundaries unsigned adjust = 0; - //Update offsets write symbol tabel to archive. + //Update offsets write symbol table to archive. for(unsigned i=0; i<offsets.size(); ++i) { char output[4]; offsets[i] = offsets[i] + symbolTableSize + SARMAG; |