[llvm] r259631 - Fix a typo in comment

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 22:24:11 PST 2016


Author: davidxl
Date: Wed Feb  3 00:24:11 2016
New Revision: 259631

URL: http://llvm.org/viewvc/llvm-project?rev=259631&view=rev
Log:
Fix a typo in comment

Modified:
    llvm/trunk/lib/ProfileData/InstrProfWriter.cpp

Modified: llvm/trunk/lib/ProfileData/InstrProfWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ProfileData/InstrProfWriter.cpp?rev=259631&r1=259630&r2=259631&view=diff
==============================================================================
--- llvm/trunk/lib/ProfileData/InstrProfWriter.cpp (original)
+++ llvm/trunk/lib/ProfileData/InstrProfWriter.cpp Wed Feb  3 00:24:11 2016
@@ -235,7 +235,7 @@ void InstrProfWriter::writeImpl(ProfOStr
   Header.HashOffset = 0;
   int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t);
 
-  // Only write out all the fields execpt 'HashOffset'. We need
+  // Only write out all the fields except 'HashOffset'. We need
   // to remember the offset of that field to allow back patching
   // later.
   for (int I = 0; I < N - 1; I++)




More information about the llvm-commits mailing list