[PATCH] D122378: [doc] Rely on tblgen to dump supported options value when generating doc

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 13:41:19 PDT 2022


MaskRay added a comment.

`clang-tblgen --gen-opt-docs -I ../llvm/include -I include/clang/Driver include/clang/Driver/ClangOptionDocs.td`

For -gsplit-dwarf, the message has lost information. I have found similar patterns for other options.

   .. option:: -gsplit-dwarf=<arg>
   .. program:: clang
   
  -Set DWARF fission mode to either 'split' or 'single'
  +Set DWARF fission mode
   
   .. option:: -gstrict-dwarf, -gno-strict-dwarf


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122378/new/

https://reviews.llvm.org/D122378



More information about the llvm-commits mailing list