diff options
author | spaette <111918424+spaette@users.noreply.github.com> | 2023-11-09 13:29:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 11:29:46 -0800 |
commit | 1a2f83366b86433bb86f3b60fa19b3f096313a21 (patch) | |
tree | 4283e527f0c714ef2f1f3d4f036dab87caaa34b6 /bolt/runtime | |
parent | 30e4b09d49af28bfa3abad3d38291506b9706b11 (diff) | |
download | llvm-1a2f83366b86433bb86f3b60fa19b3f096313a21.zip llvm-1a2f83366b86433bb86f3b60fa19b3f096313a21.tar.gz llvm-1a2f83366b86433bb86f3b60fa19b3f096313a21.tar.bz2 |
[BOLT] Fix typos (#68121)
Closes https://github.com/llvm/llvm-project/issues/63097
Before merging please make sure the change to
bolt/include/bolt/Passes/StokeInfo.h is correct.
bolt/include/bolt/Passes/StokeInfo.h
```diff
// This Pass solves the two major problems to use the Stoke program without
- // proting its code:
+ // probing its code:
```
I'm still not happy about the awkward wording in this comment.
bolt/include/bolt/Passes/FixRelaxationPass.h
```
$ ed -s bolt/include/bolt/Passes/FixRelaxationPass.h <<<'9,12p'
// This file declares the FixRelaxations class, which locates instructions with
// wrong targets and fixes them. Such problems usually occures when linker
// relaxes (changes) instructions, but doesn't fix relocations types properly
// for them.
$
```
bolt/docs/doxygen.cfg.in
bolt/include/bolt/Core/BinaryContext.h
bolt/include/bolt/Core/BinaryFunction.h
bolt/include/bolt/Core/BinarySection.h
bolt/include/bolt/Core/DebugData.h
bolt/include/bolt/Core/DynoStats.h
bolt/include/bolt/Core/Exceptions.h
bolt/include/bolt/Core/MCPlusBuilder.h
bolt/include/bolt/Core/Relocation.h
bolt/include/bolt/Passes/FixRelaxationPass.h
bolt/include/bolt/Passes/InstrumentationSummary.h
bolt/include/bolt/Passes/ReorderAlgorithm.h
bolt/include/bolt/Passes/StackReachingUses.h
bolt/include/bolt/Passes/StokeInfo.h
bolt/include/bolt/Passes/TailDuplication.h
bolt/include/bolt/Profile/DataAggregator.h
bolt/include/bolt/Profile/DataReader.h
bolt/lib/Core/BinaryContext.cpp
bolt/lib/Core/BinarySection.cpp
bolt/lib/Core/DebugData.cpp
bolt/lib/Core/DynoStats.cpp
bolt/lib/Core/Relocation.cpp
bolt/lib/Passes/Instrumentation.cpp
bolt/lib/Passes/JTFootprintReduction.cpp
bolt/lib/Passes/ReorderData.cpp
bolt/lib/Passes/RetpolineInsertion.cpp
bolt/lib/Passes/ShrinkWrapping.cpp
bolt/lib/Passes/TailDuplication.cpp
bolt/lib/Rewrite/BoltDiff.cpp
bolt/lib/Rewrite/DWARFRewriter.cpp
bolt/lib/Rewrite/RewriteInstance.cpp
bolt/lib/Utils/CommandLineOpts.cpp
bolt/runtime/instr.cpp
bolt/test/AArch64/got-ld64-relaxation.test
bolt/test/AArch64/unmarked-data.test
bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-helper.s
bolt/test/X86/Inputs/linenumber.cpp
bolt/test/X86/double-jump.test
bolt/test/X86/dwarf5-call-pc-function-null-check.test
bolt/test/X86/dwarf5-split-dwarf4-monolithic.test
bolt/test/X86/dynrelocs.s
bolt/test/X86/fallthrough-to-noop.test
bolt/test/X86/tail-duplication-cache.s
bolt/test/runtime/X86/instrumentation-ind-calls.s
Diffstat (limited to 'bolt/runtime')
-rw-r--r-- | bolt/runtime/instr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bolt/runtime/instr.cpp b/bolt/runtime/instr.cpp index cfd113e..16e0bbd 100644 --- a/bolt/runtime/instr.cpp +++ b/bolt/runtime/instr.cpp @@ -323,7 +323,7 @@ public: /// Basic member accessing interface. Here we pass the allocator explicitly to /// avoid storing a pointer to it as part of this table (remember there is one - /// hash for each indirect call site, so we wan't to minimize our footprint). + /// hash for each indirect call site, so we want to minimize our footprint). MapEntry &get(uint64_t Key, BumpPtrAllocator &Alloc) { if (!__bolt_instr_conservative) { TryLock L(M); @@ -1281,7 +1281,7 @@ void Graph::computeEdgeFrequencies(const uint64_t *Counters, /// Write to \p FD all of the edge profiles for function \p FuncDesc. Uses /// \p Alloc to allocate helper dynamic structures used to compute profile for -/// edges that we do not explictly instrument. +/// edges that we do not explicitly instrument. const uint8_t *writeFunctionProfile(int FD, ProfileWriterContext &Ctx, const uint8_t *FuncDesc, BumpPtrAllocator &Alloc) { @@ -1514,7 +1514,7 @@ extern "C" void __bolt_instr_clear_counters() { /// * Program execution ended, finalization methods are running and BOLT /// hooked into FINI from your binary dynamic section; /// * You used the sleep timer option and during initialization we forked -/// a separete process that will call this function periodically; +/// a separate process that will call this function periodically; /// * BOLT prints this function address so you can attach a debugger and /// call this function directly to get your profile written to disk /// on demand. |