[lld] [lld-macho]Define a flag for adjusting slop scale (PR #164295)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 10:43:51 PST 2025


================
@@ -1095,6 +1095,14 @@ defm tail_merge_strings
     : BB<"tail-merge-strings", "Enable string tail merging",
          "Disable string tail merging to improve link-time performance">,
       Group<grp_rare>;
+def slop_scale_eq
+    : Joined<["--"], "slop_scale=">,
+      MetaVarName<"<unsigned_int>">,
+      HelpText<"Specify the slop scale. Default value is 256. If your binary "
+               "has too many consec branch instructions resulting in "
----------------
ellishg wrote:

```suggestion
               "has too many consecutive branch instructions resulting in "
```

https://github.com/llvm/llvm-project/pull/164295


More information about the llvm-commits mailing list