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

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 09:28:30 PDT 2019


ychen updated this revision to Diff 206699.
ychen added a comment.

- update


Repository:
  rG LLVM Github Monorepo

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

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 symbol names when
+  :option:`--demangle` is specified, otherwise takes mangled symbol names.
+  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.206699.patch
Type: text/x-patch
Size: 1338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/b556ebad/attachment.bin>


More information about the llvm-commits mailing list