[PATCH] D63787: [llvm-objdump] Update the doc for --disassemble-functions.

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 13:36:02 PDT 2019


ychen created this revision.
ychen added reviewers: jhenderson, grimar, MaskRay, rupprecht, peter.smith.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Update the doc after llvm-svn: 364121 is landed.
With two more trivial fixes that are not related to
--disassemble-functions but still about llvm-objdump.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63787

Files:
  llvm/docs/CommandGuide/llvm-objdump.rst


Index: llvm/docs/CommandGuide/llvm-objdump.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-objdump.rst
+++ llvm/docs/CommandGuide/llvm-objdump.rst
@@ -33,9 +33,11 @@
   Display assembler mnemonics for the machine instructions. Disassembles all
   sections found in the input file(s) by default.
   
-.. option:: --disassemble-functions=<func1[,func2,...]>
+.. option:: --disassemble-functions=<symbol1[,symbol2,...]>
 
-  Disassemble only the specified symbols. Implies :option:`--disassemble`.
+  Disassemble only the specified symbols. Takes demangled symbols when
+  :option:`--demangle` is specified, otherwise takes mangled symbols.
+  Implies :option:`--disassemble`.
 
 .. option:: --dwarf=<value>
 
@@ -109,7 +111,7 @@
 
 .. option:: --arch-name=<string>
 
-  Specify the target architecture when disassembling. Use :option:``--version``
+  Specify the target architecture when disassembling. Use :option:`--version`
   for a list of available targets.
 
 .. option:: -C, --demangle
@@ -191,7 +193,7 @@
 
 .. option:: --x86-asm-syntax=<style>
 
-  When used with the ``--disassemble`` option, choose style of code to emit from
+  When used with :option:`--disassemble`, choose style of code to emit from
   X86 backend. Supported values are:
 
    .. option:: att


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63787.206521.patch
Type: text/x-patch
Size: 1328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190625/4795444e/attachment.bin>


More information about the llvm-commits mailing list