@@ -234,7 +234,7 @@ COMPILER_RT_VISIBILITY extern int64_t INSTR_PROF_PROFILE_BITMAP_BIAS_VAR
234234#endif
235235static const int ContinuousModeSupported = 1 ;
236236static const int UseBiasVar = 1 ;
237- /* TODO: If there are two DSOs, the second DSO initilization will truncate the
237+ /* TODO: If there are two DSOs, the second DSO initialization will truncate the
238238 * first profile file. */
239239static const char * FileOpenMode = "w+b" ;
240240/* This symbol is defined by the compiler when runtime counter relocation is
@@ -438,7 +438,7 @@ static int mmapProfileForMerging(FILE *ProfileFile, uint64_t ProfileFileSize,
438438}
439439
440440/* Read profile data in \c ProfileFile and merge with in-memory
441- profile counters. Returns -1 if there is fatal error, otheriwse
441+ profile counters. Returns -1 if there is fatal error, otherwise
442442 0 is returned. Returning 0 does not mean merge is actually
443443 performed. If merge is actually done, *MergeDone is set to 1.
444444*/
@@ -850,8 +850,9 @@ static int parseFilenamePattern(const char *FilenamePat,
850850 __llvm_profile_set_page_size (getpagesize ());
851851 __llvm_profile_enable_continuous_mode ();
852852#else
853- PROF_WARN ("%s" , "Continous mode is currently only supported for Mach-O,"
854- " ELF and COFF formats." );
853+ PROF_WARN ("%s" ,
854+ "Continuous mode is currently only supported for Mach-O,"
855+ " ELF and COFF formats." );
855856 return -1 ;
856857#endif
857858 } else {
0 commit comments