[llvm] [llvm-objdump] Add possibility to verify .note section format (PR #90458)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 00:41:28 PDT 2024


================
@@ -512,6 +512,12 @@ them.
  specified format. See `SUPPORTED FORMATS`_ for a list of valid ``<format>``
  values.
 
+.. option:: --verify-note-sections, --no-verify-note-sections
+
+ When adding note sections, verify if the section format is valid. Defaults to
+ ``--verify-note-sections``
----------------
jh7370 wrote:

Please end with a full stop.

The description is self-referential, which doesn't make sense. You can't have an option default to itself.

I think it would make more sense to split this into two separate option descriptions and describe accordingly.

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


More information about the llvm-commits mailing list