[lld] [lld-macho] Add flag --keep-icf-stabs to LLD for MachO (PR #93137)
Kyungwoo Lee via llvm-commits
llvm-commits at lists.llvm.org
Thu May 23 09:04:53 PDT 2024
================
@@ -85,6 +85,9 @@ def icf_eq: Joined<["--"], "icf=">,
HelpText<"Set level for identical code folding (default: none)">,
MetaVarName<"[none,safe,all]">,
Group<grp_lld>;
+def keep_icf_stabs: Joined<["--"], "keep-icf-stabs">,
----------------
kyulee-com wrote:
It appears a known common word for debug info. From your link, I'm seeing this.
> we read the debug map (the stabs entries) out of the executable and create an address translation map for each .o file specifying what address the symbols landed at.
So, I think you can just expand the HelpText a bit on this flag.
https://github.com/llvm/llvm-project/pull/93137
More information about the llvm-commits
mailing list