|
56 | 56 |
|
57 | 57 | Allow processing of stripped binaries
|
58 | 58 |
|
| 59 | +- `--alt-inst-feature-size=<uint>` |
| 60 | + |
| 61 | + Size of feature field in .altinstructions |
| 62 | + |
| 63 | +- `--alt-inst-has-padlen` |
| 64 | + |
| 65 | + Specify that .altinstructions has padlen field |
| 66 | + |
59 | 67 | - `--asm-dump[=<dump folder>]`
|
60 | 68 |
|
61 | 69 | Dump function into assembly
|
|
78 | 86 | in the input is decoded and re-encoded. If the resulting bytes do not match
|
79 | 87 | the input, a warning message is printed.
|
80 | 88 |
|
| 89 | +- `--comp-dir-override=<string>` |
| 90 | + |
| 91 | + Overrides DW_AT_comp_dir, and provides an alterantive base location, which is |
| 92 | + used with DW_AT_dwo_name to construct a path to *.dwo files. |
| 93 | + |
| 94 | +- `--create-debug-names-section` |
| 95 | + |
| 96 | + Creates .debug_names section, if the input binary doesn't have it already, for |
| 97 | + DWARF5 CU/TUs. |
| 98 | + |
81 | 99 | - `--cu-processing-batch-size=<uint>`
|
82 | 100 |
|
83 | 101 | Specifies the size of batches for processing CUs. Higher number has better
|
|
93 | 111 |
|
94 | 112 | - `--debug-skeleton-cu`
|
95 | 113 |
|
96 |
| - Prints out offsetrs for abbrev and debu_info of Skeleton CUs that get patched. |
| 114 | + Prints out offsets for abbrev and debug_info of Skeleton CUs that get patched. |
97 | 115 |
|
98 | 116 | - `--deterministic-debuginfo`
|
99 | 117 |
|
|
104 | 122 |
|
105 | 123 | Add basic block instructions as tool tips on nodes
|
106 | 124 |
|
| 125 | +- `--dump-alt-instructions` |
| 126 | + |
| 127 | + Dump Linux alternative instructions info |
| 128 | + |
107 | 129 | - `--dump-cg=<string>`
|
108 | 130 |
|
109 | 131 | Dump callgraph to the given file
|
|
117 | 139 | Dump function CFGs to graphviz format after each stage;enable '-print-loops'
|
118 | 140 | for color-coded blocks
|
119 | 141 |
|
| 142 | +- `--dump-linux-exceptions` |
| 143 | + |
| 144 | + Dump Linux kernel exception table |
| 145 | + |
120 | 146 | - `--dump-orc`
|
121 | 147 |
|
122 | 148 | Dump raw ORC unwind information (sorted)
|
123 | 149 |
|
| 150 | +- `--dump-para-sites` |
| 151 | + |
| 152 | + Dump Linux kernel paravitual patch sites |
| 153 | + |
| 154 | +- `--dump-pci-fixups` |
| 155 | + |
| 156 | + Dump Linux kernel PCI fixup table |
| 157 | + |
| 158 | +- `--dump-smp-locks` |
| 159 | + |
| 160 | + Dump Linux kernel SMP locks |
| 161 | + |
| 162 | +- `--dump-static-calls` |
| 163 | + |
| 164 | + Dump Linux kernel static calls |
| 165 | + |
| 166 | +- `--dump-static-keys` |
| 167 | + |
| 168 | + Dump Linux kernel static keys jump table |
| 169 | + |
124 | 170 | - `--dwarf-output-path=<string>`
|
125 | 171 |
|
126 | 172 | Path to where .dwo files or dwp file will be written out to.
|
|
205 | 251 |
|
206 | 252 | Skip processing of cold functions
|
207 | 253 |
|
| 254 | +- `--log-file=<string>` |
| 255 | + |
| 256 | + Redirect journaling to a file instead of stdout/stderr |
| 257 | + |
| 258 | +- `--long-jump-labels` |
| 259 | + |
| 260 | + Always use long jumps/nops for Linux kernel static keys |
| 261 | + |
208 | 262 | - `--max-data-relocations=<uint>`
|
209 | 263 |
|
210 | 264 | Maximum number of data relocations to process
|
|
274 | 328 |
|
275 | 329 | Number of tasks to be created per thread
|
276 | 330 |
|
| 331 | +- `--terminal-trap` |
| 332 | + |
| 333 | + Assume that execution stops at trap instruction |
| 334 | + |
277 | 335 | - `--thread-count=<uint>`
|
278 | 336 |
|
279 | 337 | Number of threads
|
|
618 | 676 | threshold means fewer functions to process. E.g threshold of 90 means only top
|
619 | 677 | 10 percent of functions with profile will be processed.
|
620 | 678 |
|
621 |
| -- `--mcf-use-rarcs` |
622 |
| - |
623 |
| - In MCF, consider the possibility of cancelling flow to balance edges |
624 |
| - |
625 | 679 | - `--memcpy1-spec=<func1,func2:cs1:cs2,func3:cs1,...>`
|
626 | 680 |
|
627 | 681 | List of functions with call sites for which to specialize memcpy() for size 1
|
|
710 | 764 | - `none`: do not reorder functions
|
711 | 765 | - `exec-count`: order by execution count
|
712 | 766 | - `hfsort`: use hfsort algorithm
|
713 |
| - - `hfsort+`: use hfsort+ algorithm |
| 767 | + - `hfsort+`: use cache-directed sort |
714 | 768 | - `cdsort`: use cache-directed sort
|
715 | 769 | - `pettis-hansen`: use Pettis-Hansen algorithm
|
716 | 770 | - `random`: reorder functions randomly
|
|
804 | 858 |
|
805 | 859 | - `--stale-matching-min-matched-block=<uint>`
|
806 | 860 |
|
807 |
| - Minimum percent of exact match block for a function to be considered for |
808 |
| - profile inference. |
| 861 | + Percentage threshold of matched basic blocks at which stale profile inference |
| 862 | + is executed. |
809 | 863 |
|
810 | 864 | - `--stale-threshold=<uint>`
|
811 | 865 |
|
|
853 | 907 |
|
854 | 908 | Only apply branch boundary alignment in hot code
|
855 | 909 |
|
| 910 | +- `--x86-strip-redundant-address-size` |
| 911 | + |
| 912 | + Remove redundant Address-Size override prefix |
| 913 | + |
856 | 914 | ### BOLT options in relocation mode:
|
857 | 915 |
|
858 | 916 | - `--align-macro-fusion=<value>`
|
|
1039 | 1097 |
|
1040 | 1098 | Print clusters
|
1041 | 1099 |
|
| 1100 | +- `--print-estimate-edge-counts` |
| 1101 | + |
| 1102 | + Print function after edge counts are set for no-LBR profile |
| 1103 | + |
1042 | 1104 | - `--print-finalized`
|
1043 | 1105 |
|
1044 | 1106 | Print function after CFG is finalized
|
|
1071 | 1133 |
|
1072 | 1134 | Print functions after inlining optimization
|
1073 | 1135 |
|
| 1136 | +- `--print-large-functions` |
| 1137 | + |
| 1138 | + Print functions that could not be overwritten due to excessive size |
| 1139 | + |
1074 | 1140 | - `--print-longjmp`
|
1075 | 1141 |
|
1076 | 1142 | Print functions after longjmp pass
|
|
1166 | 1232 |
|
1167 | 1233 | - `--print-options`
|
1168 | 1234 |
|
1169 |
| - Print non-default options after command line parsing |
| 1235 | + Print non-default options after command line parsing |
0 commit comments