diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-11-20 13:31:13 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-11-20 13:31:13 +0000 |
commit | dae11f7aabfd025547bd313e03f143a8092b8304 (patch) | |
tree | 87fffa7a8258f2e95904d210a4d8866bded9f2bc /llvm/tools | |
parent | 7d18a70dac478167cd7ba5048a8f0504d242ee30 (diff) | |
download | bcm5719-llvm-dae11f7aabfd025547bd313e03f143a8092b8304.tar.gz bcm5719-llvm-dae11f7aabfd025547bd313e03f143a8092b8304.zip |
Fix spelling mistakes in Tools/Tests comments. NFC.
Identified by Pedro Giffuni in PR27636.
llvm-svn: 287489
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/bugpoint/ListReducer.h | 4 | ||||
-rw-r--r-- | llvm/tools/lli/lli.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/llvm-cov/CodeCoverage.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/llvm-objdump/MachODump.cpp | 2 | ||||
-rw-r--r-- | llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/llvm/tools/bugpoint/ListReducer.h b/llvm/tools/bugpoint/ListReducer.h index 621a072d84e..dcfa11d0692 100644 --- a/llvm/tools/bugpoint/ListReducer.h +++ b/llvm/tools/bugpoint/ListReducer.h @@ -71,7 +71,7 @@ template <typename ElTy> struct ListReducer { const unsigned MaxIterationsWithoutProgress = 3; // Maximal number of allowed single-element trim iterations. We add a - // threshhold here as single-element reductions may otherwise take a + // threshold here as single-element reductions may otherwise take a // very long time to complete. const unsigned MaxTrimIterationsWithoutBackJump = 3; bool ShufflingEnabled = true; @@ -106,7 +106,7 @@ template <typename ElTy> struct ListReducer { TheList.swap(ShuffledList); MidTop = TheList.size(); // Must increase the shuffling treshold to avoid the small - // probability of inifinite looping without making progress. + // probability of infinite looping without making progress. MaxIterations += 2; errs() << "\n\n*** Shuffling does not hide the bug...\n\n"; } else { diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 26e8af9a638..0823ff469de 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -306,7 +306,7 @@ private: }; // On Mingw and Cygwin, an external symbol named '__main' is called from the -// generated 'main' function to allow static intialization. To avoid linking +// generated 'main' function to allow static initialization. To avoid linking // problems with remote targets (because lli's remote target support does not // currently handle external linking) we add a secondary module which defines // an empty '__main' function. diff --git a/llvm/tools/llvm-cov/CodeCoverage.cpp b/llvm/tools/llvm-cov/CodeCoverage.cpp index 93496bda8a1..153e5ed2427 100644 --- a/llvm/tools/llvm-cov/CodeCoverage.cpp +++ b/llvm/tools/llvm-cov/CodeCoverage.cpp @@ -89,7 +89,7 @@ private: std::unique_ptr<SourceCoverageView> createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage); - /// \brief Load the coverage mapping data. Return nullptr if an error occured. + /// \brief Load the coverage mapping data. Return nullptr if an error occurred. std::unique_ptr<CoverageMapping> load(); /// \brief Remove input source files which aren't mapped by \p Coverage. diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp index 1e2fa336447..4e5241c5c50 100644 --- a/llvm/tools/llvm-objdump/MachODump.cpp +++ b/llvm/tools/llvm-objdump/MachODump.cpp @@ -2060,7 +2060,7 @@ static int SymbolizerGetOpInfo(void *DisInfo, uint64_t Pc, uint64_t Offset, // If we have a branch that is not an external relocation entry then // return 0 so the code in tryAddingSymbolicOperand() can use the // SymbolLookUp call back with the branch target address to look up the - // symbol and possiblity add an annotation for a symbol stub. + // symbol and possibility add an annotation for a symbol stub. if (isExtern == 0 && (r_type == MachO::ARM_RELOC_BR24 || r_type == MachO::ARM_THUMB_RELOC_BR22)) return 0; diff --git a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp index 92c1ce6ab6a..4d4e39000b8 100644 --- a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp @@ -532,7 +532,7 @@ applySpecificSectionMappings(RuntimeDyldChecker &Checker) { // Remaps section addresses for -verify mode. The following command line options // can be used to customize the layout of the memory within the phony target's // address space: -// -target-addr-start <s> -- Specify where the phony target addres range starts. +// -target-addr-start <s> -- Specify where the phony target address range starts. // -target-addr-end <e> -- Specify where the phony target address range ends. // -target-section-sep <d> -- Specify how big a gap should be left between the // end of one section and the start of the next. |