[llvm] [dsymutil] Specify that -flat is for testing in the help output (PR #168590)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 10:57:15 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-debuginfo

Author: Jonas Devlieghere (JDevlieghere)

<details>
<summary>Changes</summary>

Gently discourage users from relying on -flat by specifying in the help output that it's meant for testing.

---
Full diff: https://github.com/llvm/llvm-project/pull/168590.diff


1 Files Affected:

- (modified) llvm/tools/dsymutil/Options.td (+1-1) 


``````````diff
diff --git a/llvm/tools/dsymutil/Options.td b/llvm/tools/dsymutil/Options.td
index e99bc12fa7fd8..571f90c1e46f5 100644
--- a/llvm/tools/dsymutil/Options.td
+++ b/llvm/tools/dsymutil/Options.td
@@ -94,7 +94,7 @@ def: Flag<["-"], "s">,
   Group<grp_general>;
 
 def flat: F<"flat">,
-  HelpText<"Produce a flat dSYM file (not a bundle).">,
+  HelpText<"Produce a flat dSYM file (not a bundle). Intended for testing and generally unsupported by tools that consume dSYMs.">,
   Group<grp_general>;
 def: Flag<["-"], "f">,
   Alias<flat>,

``````````

</details>


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


More information about the llvm-commits mailing list