[llvm] r364573 - [llvm-objdump] Update the doc for --disassemble-functions.
Yuanfang Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 11:39:34 PDT 2019
Author: yuanfang
Date: Thu Jun 27 11:39:34 2019
New Revision: 364573
URL: http://llvm.org/viewvc/llvm-project?rev=364573&view=rev
Log:
[llvm-objdump] Update the doc for --disassemble-functions.
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.
Reviewers: jhenderson, grimar, MaskRay, rupprecht, peter.smith
Reviewed by: jhenderson, MaskRay
Differential Revision: https://reviews.llvm.org/D63787
Modified:
llvm/trunk/docs/CommandGuide/llvm-objdump.rst
Modified: llvm/trunk/docs/CommandGuide/llvm-objdump.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-objdump.rst?rev=364573&r1=364572&r2=364573&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-objdump.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-objdump.rst Thu Jun 27 11:39:34 2019
@@ -35,9 +35,11 @@ combined with other commands:
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>
@@ -111,7 +113,7 @@ OPTIONS
.. 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
@@ -193,7 +195,7 @@ OPTIONS
.. 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
More information about the llvm-commits
mailing list