<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63097>63097</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
bolt typos
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
spaette
</td>
</tr>
</table>
<pre>
_based on bolt-16.0.5.src.tar.xz_
Per request I could submit a .sh script with numerous `sed` commands to fix these and other bolt directory typos.
Auxiliary
Encoded
Histograms
accommodate
algorithm
analogous
available
average
behavior
containing
correctly
disassembled
encoding
endianness
entries
everywhere
exclusively
expression
explicitly
implicit
inconsistency
identifies
individual
ignored
instrumented
instructions
invocation
manually
modified
monolithic
namespace
occurred
pseudo
preceded
predecessors
```
$ grep -n Auxiliar bolt/lib/Passes/ShrinkWrapping.cpp
916:/// Auxiliar function used to create basic blocks for critical edges and update
$ grep -nr Encded bolt
bolt/test/X86/dwarf5-split-dwarf4-monolithic.test:254:# Encded as a pair. So it's offset from base address.
$ grep -nr Historgrams bolt
bolt/lib/Core/DynoStats.cpp:139: // Merge Other Historgrams, log only the opts::PrintDynoOpcodeStat'th
$ grep -nr accomodate bolt
bolt/runtime/common.h:351:// buffer needs to accomodate large function names, but shouldn't be arbitrarily
$ grep -nr alogrithm bolt
bolt/include/bolt/Passes/ReorderAlgorithm.h:147:/// Objects of this class implement various basic block reordering alogrithms.
bolt/include/bolt/Passes/ReorderAlgorithm.h:148:/// Most of these algorithms depend on a clustering alogrithm.
$ grep -nr analoguous bolt
bolt/include/bolt/Passes/InstrumentationSummary.h:38:// Location information -- analoguous to the concept of the same name in fdata
$ grep -nr avaialable bolt
bolt/lib/Passes/RetpolineInsertion.cpp:54: "always", "r11 avaialable before calls and jumps"),
bolt/lib/Passes/RetpolineInsertion.cpp:56: "r11 avaialable before calls but not before jumps")),
$ grep -nr averagae bolt
bolt/include/bolt/Passes/ReorderAlgorithm.h:45: /// Compute for each cluster its averagae execution frequency, that is
$ grep -nr behvior bolt
bolt/test/X86/dynrelocs.s:15:# this behvior with the -z notext flag. During runtime, these pages
$ grep -nr containg bolt
bolt/lib/Rewrite/RewriteInstance.cpp:4752: "Cannot locate fragment containg secondary entrypoint");
$ grep -nr correclty bolt
bolt/test/X86/dwarf5-call-pc-function-null-check.test:11:# Test checks we correclty handle nullptr returned by getBinaryFunctionContainingAddress for DW_AT_call_pc.
$ grep -nr dissassembled bolt
bolt/test/AArch64/unmarked-data.test:12: .equ val, 0x070b0f03 // we use constant that is not a valid instruction so that it can't be silently dissassembled
$ grep -nr encodnig bolt
bolt/include/bolt/Core/DebugData.h:63:// Types represent encodnig sizes.
$ grep -nr endianess bolt
bolt/include/bolt/Core/MCPlusBuilder.h:1018: /// ConstantData array starting from \p offset and assuming little-endianess.
$ grep -nr entris bolt
bolt/lib/Core/DebugData.cpp:179: UnitLengthType UnitLength; // Size of loclist entris section, not including
$ grep -nr everwhere bolt
bolt/lib/Passes/TailDuplication.cpp:238: // If the register was replaced everwhere and it was overwritten in either
$ grep -nr exclusevely bolt
bolt/include/bolt/Profile/DataAggregator.h:304: /// binary. Used exclusevely for pre-aggregated LBR samples.
$ grep -nr experssion bolt
bolt/lib/Rewrite/DWARFRewriter.cpp:690: // Update the size of the experssion.
$ grep -nr explictly bolt
bolt/runtime/instr.cpp:1219:/// edges that we do not explictly instrument.
$ grep -nr impicit bolt
bolt/lib/Rewrite/DWARFRewriter.cpp:1258: // with impicit conversion it will take null byte as end of
bolt/lib/Rewrite/DWARFRewriter.cpp:1268: // with impicit conversion it will take null byte as end of
$ grep -nr inconsitency bolt
bolt/lib/Core/BinaryContext.cpp:1375: assert(validateObjectNesting() && "object nesting inconsitency detected");
bolt/lib/Core/BinaryContext.cpp:1424: assert(validateObjectNesting() && "object nesting inconsitency detected");
$ grep -nr indentifies bolt
bolt/lib/Core/BinaryContext.cpp:1769: // end of a data chunk inside code, $d indentifies start of data.
$ grep -nr indiviual bolt
bolt/lib/Rewrite/RewriteInstance.cpp:3477: // Emit indiviual pseudo probes in a inline tree node
$ grep -nr ingored bolt
bolt/test/X86/fallthrough-to-noop.test:1:# Check that profile data for the fall-through jump is not ingored when there is
$ grep -nr instumented bolt
bolt/lib/Passes/Instrumentation.cpp:36: cl::desc("path to instumented binary in case if /proc/self/map_files "
$ grep -nr intructions bolt
bolt/include/bolt/Core/DynoStats.h:124: /// and BB offsets where intructions of these opcodes occur.
$ grep -nr invokation bolt
bolt/include/bolt/Core/DebugData.h:464: /// On first invokation it initializes internal data stractures.
$ grep -nr mannually bolt
bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-helper.s:107: #.long .Laddr_table_base0 # DW_AT_addr_base mannually removed
$ grep -nr modifed bolt
bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-helper.s:7:# Manually modifed to remove DW_AT_addr_base and DW_AT_location.
$ grep -nr monolitic bolt
bolt/lib/Core/DebugData.cpp:428: // monolitic.
$ grep -nr nampespace bolt
bolt/lib/Rewrite/BoltDiff.cpp:663:} // end nampespace bolt
$ grep -nr occured bolt
bolt/include/bolt/Core/Exceptions.h:80: /// frame data at which the reference occured, and Type is a DWARF encoding
bolt/include/bolt/Core/Relocation.h:63: /// and \P Type mismatch occured.
$ grep -nr pesudo bolt
bolt/lib/Rewrite/RewriteInstance.cpp:587: // pesudo probe is not added to binary. It is normal and no warning needed.
$ grep -nr preceeded bolt
bolt/include/bolt/Profile/DataReader.h:352: /// mispreds. Of these branches, 1002 were preceeded by a sequence of
bolt/include/bolt/Profile/DataReader.h:354: /// offset d. The rest 773 branches were preceeded by a different sequence
$ grep -nr predessecors bolt
bolt/include/bolt/Passes/ReorderAlgorithm.h:131: // wher B, C are the only successors of A and A, D are thr only predessecors
$
```
don't know why `other` and `histograms` are beginning with an uppercase letter
```
$ ed -s bolt/lib/Core/DynoStats.cpp <<<'139,140p'
// Merge Other Historgrams, log only the opts::PrintDynoOpcodeStat'th
// maximum counts.
$
```
don't know the replacement string for `goest`
```
$ grep -nr goest bolt
bolt/lib/Core/Relocation.cpp:400: // The shift goest in bits 22:21 of MOV* instructions
$
```
aside from the typo `occures` this comment is somewhat awkwardly written
```
$ 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.
$
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0Wl1v2zoS_TXKy8CGLH8_5MFxGmyBdlu0vXv3raDJkcQbitQlKX_01y-GlGQ7VZom2FsEjWnLnKPhmZkzozDnZKERb5P5XTK_v2GNL429dTVD7_FmZ8Tp9vuOORRgNOyM8qPJYpyO52Nn-dgzOz7--J6k90m6if9_RgsW_27QeXgP3DRKgGt2lfTAYOxKcNzK2sNB-hJ0U6E1jYNkkToUySIFbqqKaeHAG8jlEXyJDoFpAcaXaAMEENIi98aewJ9q48aXADbNUSrJ7Cku32luBIq4-Jd03hSWVS6uGSdzRjCP7RuqMFb6smqXmilTmKa7fM-kYjvVXbxHy4p2scOS7aWxccWN9kxqqYtubQmxakEJ6ZhzWO1UhwwJZn85aiGZ1uhct_ZWYrfYoz0dSrStZTxy1Ti5x253PNYWnZNG92slueytyyqu25XmRjvpPGreXSBQe5n3FqUWci9Fw1S7LrSxHXKpnbdNhdpfv8O9NLrfYG848z2iiumGqQ5PZQQZE91KGyV9KXlca1ahqxlv79Zw3tjeeO2wEaZ9bZFjf9S1RYEcnTPWXdIjWaTtT1xmMygs1jDS0DEncCzJHpTcJdnDZzopl2QPX0sr9eOfltW11MWY13XcYj1ZJNNNkj3En_M2eaODE6Ch8PEGuEXmEXbMSQ47Zfijg9xY4FZ6yZkCFAW6QPamPpPyAqOFd5oLFBFiJF4E69HRr_-uFkn2IA7M5vORq5X0o7CYjc5-HYdrp5tsPgvAp92mzAGDmkk7hq8GpE-ypQOT5w495NZUhByBCUH0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