diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -220,7 +220,7 @@ static SubCommand &getTopLevel(); // Get the special subcommand that can be used to put an option into all - // subcomands. + // subcommands. static SubCommand &getAll(); void reset(); diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp --- a/llvm/lib/Support/FileUtilities.cpp +++ b/llvm/lib/Support/FileUtilities.cpp @@ -169,7 +169,7 @@ /// DiffFilesWithTolerance - Compare the two files specified, returning 0 if the /// files match, 1 if they are different, and 2 if there is a file error. This -/// function differs from DiffFiles in that you can specify an absolete and +/// function differs from DiffFiles in that you can specify an absolute and /// relative FP error that is allowed to exist. If you specify a string to fill /// in for the error option, it will set the string to an error message if an /// error occurs, allowing the caller to distinguish between a failed diff and a diff --git a/llvm/test/DebugInfo/macro_link.ll b/llvm/test/DebugInfo/macro_link.ll --- a/llvm/test/DebugInfo/macro_link.ll +++ b/llvm/test/DebugInfo/macro_link.ll @@ -1,6 +1,6 @@ ; RUN: llvm-link %s %s -S -o -| FileCheck %s -; This test checks that DIMacro and DIMacroFile comaprison works correctly. +; This test checks that DIMacro and DIMacroFile comparison works correctly. ; CHECK: !llvm.dbg.cu = !{[[CU1:![0-9]*]], [[CU2:![0-9]*]]} diff --git a/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp b/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp --- a/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp +++ b/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// // // This tool verifies Control Flow Integrity (CFI) instrumentation by static -// binary anaylsis. See the design document in /docs/CFIVerify.rst for more +// binary analysis. See the design document in /docs/CFIVerify.rst for more // information. // // This tool is currently incomplete. It currently only does disassembly for