diff --git a/lld/MachO/Options.td b/lld/MachO/Options.td index 4b1e9e4391070..39191af7dc169 100644 --- a/lld/MachO/Options.td +++ b/lld/MachO/Options.td @@ -82,8 +82,12 @@ def print_dylib_search: Flag<["--"], "print-dylib-search">, HelpText<"Print which paths lld searched when trying to find dylibs">, Group; def icf_eq: Joined<["--"], "icf=">, - HelpText<"Set level for identical code folding (default: none)">, - MetaVarName<"[none,safe,all]">, + HelpText<"Set level for identical code folding (default: none). Possible values:\n" + " none - Disable ICF\n" + " safe - Only folds non-address significant functions (as described by `__addrsig` section)\n" + " safe_thunks - Like safe, but replaces address-significant functions with thunks\n" + " all - Fold all identical functions">, + MetaVarName<"[none,safe,safe_thunks,all]">, Group; def keep_icf_stabs: Joined<["--"], "keep-icf-stabs">, HelpText<"Generate STABS entries for symbols folded by ICF. These entries can then be used by dsymutil to discover the address range where folded symbols are located.">,