[PATCH] D82460: [docs] Fix the warnings during docs-llvm-html build

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 06:27:13 PDT 2020


djtodoro created this revision.
djtodoro added reviewers: jhenderson, aprantl, MaskRay, JDevlieghere, arsenm.
djtodoro added a project: LLVM.
Herald added subscribers: llvm-commits, arichardson, wdng.

Before these fixes the build of `docs-llvm-html` would fail.

The D80959 <https://reviews.llvm.org/D80959> introduced options that are not recognized:

  llvm-project/llvm/docs/CommandGuide/llvm-dwarfdump.rst:40:unknown option: --debug-info

The rG8bc03d216824 <https://reviews.llvm.org/rG8bc03d2168241f7b12265e9cd7e4eb7655709f34> introduced a reference to an undefined label:

  llvm-project/llvm/docs/GlobalISel/GenericOpcode.rst:295:undefined label: i_intr_llvm_ptrmask (if the link has no caption the label must precede a section header)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82460

Files:
  llvm/docs/CommandGuide/llvm-dwarfdump.rst
  llvm/docs/GlobalISel/GenericOpcode.rst


Index: llvm/docs/GlobalISel/GenericOpcode.rst
===================================================================
--- llvm/docs/GlobalISel/GenericOpcode.rst
+++ llvm/docs/GlobalISel/GenericOpcode.rst
@@ -294,7 +294,7 @@
 
 Zero out an arbitrary mask of bits of a pointer. The mask type must be
 an integer, and the number of vector elements must match for all
-operands. This corresponds to :ref:`i_intr_llvm_ptrmask`.
+operands. This corresponds to `i_intr_llvm_ptrmask`.
 
 .. code-block:: none
 
Index: llvm/docs/CommandGuide/llvm-dwarfdump.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-dwarfdump.rst
+++ llvm/docs/CommandGuide/llvm-dwarfdump.rst
@@ -149,7 +149,7 @@
 
             Display the version of the tool.
 
-.. option:: --debug-abbrev, --debug-addr, --debug-aranges, --debug-cu-index, --debug-frame[=<offset>], --debug-gnu-pubnames, --debug-gnu-pubtypes, --debug-info[=<offset>], --debug-line[=<offset>], --debug-line-str, --debug-loc[=<offset>], --debug-loclists[=<offset>], --debug-macro, --debug-names, --debug-pubnames, --debug-pubtypes, --debug-ranges, --debug-rnglists, --debug-str, --debug-str-offsets, --debug-tu-index, --debug-types[=<offset>], --eh-frame[=<offset>], --gdb-index, --apple-names, --apple-types, --apple-namespaces, --apple-objc
+.. option:: --debug-abbrev, --debug-addr, --debug-aranges, --debug-cu-index, --debug-frame[=<offset>], --debug-gnu-pubnames, --debug-gnu-pubtypes, --debug-info [=<offset>], --debug-line [=<offset>], --debug-line-str, --debug-loc [=<offset>], --debug-loclists [=<offset>], --debug-macro, --debug-names, --debug-pubnames, --debug-pubtypes, --debug-ranges, --debug-rnglists, --debug-str, --debug-str-offsets, --debug-tu-index, --debug-types [=<offset>], --eh-frame [=<offset>], --gdb-index, --apple-names, --apple-types, --apple-namespaces, --apple-objc
 
             Dump the specified DWARF section by name. Only the
             `.debug_info` section is shown by default. Some entries


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82460.273007.patch
Type: text/x-patch
Size: 2011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200624/5962f6ed/attachment.bin>


More information about the llvm-commits mailing list