diff --git a/docs/DebuggingTheCompiler.rst b/docs/DebuggingTheCompiler.rst index ce5481f6a4be6..e68d7cbed32c8 100644 --- a/docs/DebuggingTheCompiler.rst +++ b/docs/DebuggingTheCompiler.rst @@ -43,7 +43,7 @@ Here is how to dump the IR after the main phases of the swift compiler swiftc -emit-ir -Xfrontend -disable-llvm-optzns -O file.swift -4. **LLVM passes**. To print the LLVM IR afer LLVM passes:: +4. **LLVM passes**. To print the LLVM IR after LLVM passes:: swiftc -emit-ir -O file.swift diff --git a/docs/DriverInternals.rst b/docs/DriverInternals.rst index 24c6fd407aa3e..041d3c09d38b2 100644 --- a/docs/DriverInternals.rst +++ b/docs/DriverInternals.rst @@ -114,7 +114,7 @@ Analysis` for more information. The Compilation's TaskQueue controls the low-level aspects of managing subprocesses. Multiple Jobs may execute simultaneously, but communication with the parent process (the driver) is handled on a single thread. The level of -parellelism may be controlled by a compiler flag. +parallelism may be controlled by a compiler flag. If a Job does not finish successfully, the Compilation needs to record which jobs have failed, so that they get rebuilt next time the user tries to build