summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorYuanfang Chen <yuanfang.chen@sony.com>2019-06-27 18:39:34 +0000
committerYuanfang Chen <yuanfang.chen@sony.com>2019-06-27 18:39:34 +0000
commit2dcd2c2493b10d33add69b7bce2c9e3c55cb9da8 (patch)
tree8ddc71aff99ab2aa4e8b6862a343eae5ea57adb9 /llvm/docs/CommandGuide
parentbb55ece2692e290daf930738dd636a1375e9f261 (diff)
downloadbcm5719-llvm-2dcd2c2493b10d33add69b7bce2c9e3c55cb9da8.tar.gz
bcm5719-llvm-2dcd2c2493b10d33add69b7bce2c9e3c55cb9da8.zip
[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 llvm-svn: 364573
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/llvm-objdump.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst
index 3ebd7fc3f26..5e1887254a5 100644
--- a/llvm/docs/CommandGuide/llvm-objdump.rst
+++ b/llvm/docs/CommandGuide/llvm-objdump.rst
@@ -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
OpenPOWER on IntegriCloud