llvm.org GIT mirror llvm / 84354d9
Fix spelling mistakes in Tools/Tests comments. NFC. Identified by Pedro Giffuni in PR27636. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287489 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 2 years ago
6 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
7070 const unsigned MaxIterationsWithoutProgress = 3;
7171
7272 // Maximal number of allowed single-element trim iterations. We add a
73 // threshhold here as single-element reductions may otherwise take a
73 // threshold here as single-element reductions may otherwise take a
7474 // very long time to complete.
7575 const unsigned MaxTrimIterationsWithoutBackJump = 3;
7676 bool ShufflingEnabled = true;
105105 TheList.swap(ShuffledList);
106106 MidTop = TheList.size();
107107 // Must increase the shuffling treshold to avoid the small
108 // probability of inifinite looping without making progress.
108 // probability of infinite looping without making progress.
109109 MaxIterations += 2;
110110 errs() << "\n\n*** Shuffling does not hide the bug...\n\n";
111111 } else {
305305 };
306306
307307 // On Mingw and Cygwin, an external symbol named '__main' is called from the
308 // generated 'main' function to allow static intialization. To avoid linking
308 // generated 'main' function to allow static initialization. To avoid linking
309309 // problems with remote targets (because lli's remote target support does not
310310 // currently handle external linking) we add a secondary module which defines
311311 // an empty '__main' function.
8888 std::unique_ptr
8989 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
9090
91 /// \brief Load the coverage mapping data. Return nullptr if an error occured.
91 /// \brief Load the coverage mapping data. Return nullptr if an error occurred.
9292 std::unique_ptr load();
9393
9494 /// \brief Remove input source files which aren't mapped by \p Coverage.
20592059 // If we have a branch that is not an external relocation entry then
20602060 // return 0 so the code in tryAddingSymbolicOperand() can use the
20612061 // SymbolLookUp call back with the branch target address to look up the
2062 // symbol and possiblity add an annotation for a symbol stub.
2062 // symbol and possibility add an annotation for a symbol stub.
20632063 if (isExtern == 0 && (r_type == MachO::ARM_RELOC_BR24 ||
20642064 r_type == MachO::ARM_THUMB_RELOC_BR22))
20652065 return 0;
531531 // Remaps section addresses for -verify mode. The following command line options
532532 // can be used to customize the layout of the memory within the phony target's
533533 // address space:
534 // -target-addr-start -- Specify where the phony target addres range starts.
534 // -target-addr-start -- Specify where the phony target address range starts.
535535 // -target-addr-end -- Specify where the phony target address range ends.
536536 // -target-section-sep -- Specify how big a gap should be left between the
537537 // end of one section and the start of the next.
144144 }
145145
146146 // Return the file index of file 'Name' for the current function.
147 // Add the file into the global map if necesary.
147 // Add the file into the global map if necessary.
148148 // See also InputFunctionCoverageData::ReverseVirtualFileMapping
149149 // for additional comments.
150150 unsigned getFileIndexForFunction(StringRef Name) {