diff options
author | alx32 <103613512+alx32@users.noreply.github.com> | 2025-01-17 10:48:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 10:48:32 -0800 |
commit | 1c3c65590d1635ab1b50c89dc8379c42a5d535bd (patch) | |
tree | c58ee89c6db866f409fce641d32dbaec50844bb6 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | f12e0c9c3a45065543bea89c5545e26690ac3e59 (diff) | |
download | llvm-1c3c65590d1635ab1b50c89dc8379c42a5d535bd.zip llvm-1c3c65590d1635ab1b50c89dc8379c42a5d535bd.tar.gz llvm-1c3c65590d1635ab1b50c89dc8379c42a5d535bd.tar.bz2 |
[lld-macho] Document '-icf' flag options (#123372)
Adding the `safe_thunks` option in `Options.td` as it was missing there
- mentioned by @Colibrow in
https://github.com/llvm/llvm-project/pull/106573
Also documenting what the various options mean.
Help now looks like this:
```
..........
--error-limit=<value> Maximum number of errors to print before exiting (default: 20)
--help-hidden Display help for hidden options
--icf=[none,safe,safe_thunks,all]
Set level for identical code folding (default: none). Possible values:
none - Disable ICF
safe - Only folds non-address significant functions (as described by `__addrsig` section)
safe_thunks - Like safe, but replaces address-significant functions with thunks
all - Fold all identical functions
--ignore-auto-link-option=<value>
Ignore a single auto-linked library or framework. Useful to ignore invalid options that ld64 ignores
--irpgo-profile-sort=<profile>
Deprecated. Please use --irpgo-profile and --bp-startup-sort=function
..........
```
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions