fix some user facing typos / in the comments

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer@327402 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/FuzzerDictionary.h b/FuzzerDictionary.h
index daf7d00..088bf80 100644
--- a/FuzzerDictionary.h
+++ b/FuzzerDictionary.h
@@ -115,11 +115,11 @@
 };
 
 // Parses one dictionary entry.
-// If successfull, write the enty to Unit and returns true,
+// If successful, write the enty to Unit and returns true,
 // otherwise returns false.
 bool ParseOneDictionaryEntry(const std::string &Str, Unit *U);
 // Parses the dictionary file, fills Units, returns true iff all lines
-// were parsed succesfully.
+// were parsed successfully.
 bool ParseDictionaryFile(const std::string &Text, Vector<Unit> *Units);
 
 }  // namespace fuzzer
diff --git a/FuzzerDriver.cpp b/FuzzerDriver.cpp
index 516b003..e7d02d8 100644
--- a/FuzzerDriver.cpp
+++ b/FuzzerDriver.cpp
@@ -747,7 +747,7 @@
       Printf("Dictionary analysis failed\n");
       exit(1);
     }
-    Printf("Dictionary analysis suceeded\n");
+    Printf("Dictionary analysis succeeded\n");
     exit(0);
   }
 
diff --git a/FuzzerFlags.def b/FuzzerFlags.def
index 7e722f4..9956f44 100644
--- a/FuzzerFlags.def
+++ b/FuzzerFlags.def
@@ -45,7 +45,7 @@
   "This flag can be used to minimize a corpus.")
 FUZZER_FLAG_STRING(merge_inner, "internal flag")
 FUZZER_FLAG_STRING(merge_control_file,
-                   "Specify a control file used for the merge proccess. "
+                   "Specify a control file used for the merge process. "
                    "If a merge process gets killed it tries to leave this file "
                    "in a state suitable for resuming the merge. "
                    "By default a temporary file will be used.")
diff --git a/FuzzerMutate.h b/FuzzerMutate.h
index 4aa58af..996d756 100644
--- a/FuzzerMutate.h
+++ b/FuzzerMutate.h
@@ -27,7 +27,7 @@
   void StartMutationSequence();
   /// Print the current sequence of mutations.
   void PrintMutationSequence();
-  /// Indicate that the current sequence of mutations was successfull.
+  /// Indicate that the current sequence of mutations was successful.
   void RecordSuccessfulMutationSequence();
   /// Mutates data by invoking user-provided mutator.
   size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize);
@@ -125,7 +125,7 @@
   // recreated periodically.
   Dictionary TempAutoDictionary;
   // Persistent dictionary modified by the fuzzer, consists of
-  // entries that led to successfull discoveries in the past mutations.
+  // entries that led to successful discoveries in the past mutations.
   Dictionary PersistentAutoDictionary;
 
   Vector<Mutator> CurrentMutatorSequence;
diff --git a/afl/afl_driver.cpp b/afl/afl_driver.cpp
index 616ce4d..1d1c16a 100644
--- a/afl/afl_driver.cpp
+++ b/afl/afl_driver.cpp
@@ -90,7 +90,7 @@
 #endif
 
 // Used to avoid repeating error checking boilerplate. If cond is false, a
-// fatal error has occured in the program. In this event print error_message
+// fatal error has occurred in the program. In this event print error_message
 // to stderr and abort(). Otherwise do nothing. Note that setting
 // AFL_DRIVER_STDERR_DUPLICATE_FILENAME may cause error_message to be appended
 // to the file as well, if the error occurs after the duplication is performed.
@@ -278,7 +278,7 @@
     assert(in);
     LLVMFuzzerTestOneInput(reinterpret_cast<const uint8_t *>(bytes.data()),
                            bytes.size());
-    std::cout << "Execution successfull" << std::endl;
+    std::cout << "Execution successful" << std::endl;
   }
   return 0;
 }