diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2019-01-17 15:34:12 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2019-01-17 15:34:12 +0000 |
commit | e50d9cb3649bdf6521f92fd1e4cee3a690638159 (patch) | |
tree | 41895678eecf495d5630e4b3d3bb4c0ba8c193e2 /llvm/docs/CommandGuide/llvm-readobj.rst | |
parent | 81cff31ccf3e1b7dd35653c964ea25d1733ba409 (diff) | |
download | bcm5719-llvm-e50d9cb3649bdf6521f92fd1e4cee3a690638159.tar.gz bcm5719-llvm-e50d9cb3649bdf6521f92fd1e4cee3a690638159.zip |
[llvm-readobj][ELF]Add demangling support
This change adds demangling support to the ELF side of llvm-readobj,
under the switch --demangle/-C.
The following places are demangled: symbol table dumps (static and
dynamic), relocation dumps (static and dynamic), addrsig dumps, call
graph profile dumps, and group section signature symbols.
Although GNU readelf doesn't support demangling, it is still a useful
feature to have, and brings it on a par with llvm-objdump's
capabilities.
This fixes https://bugs.llvm.org/show_bug.cgi?id=40054.
Reviewed by: grimar, rupprecht
Differential Revision: https://reviews.llvm.org/D56791
llvm-svn: 351450
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-readobj.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-readobj.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-readobj.rst b/llvm/docs/CommandGuide/llvm-readobj.rst index 417fcd05c8a..7d4679f2032 100644 --- a/llvm/docs/CommandGuide/llvm-readobj.rst +++ b/llvm/docs/CommandGuide/llvm-readobj.rst @@ -84,6 +84,10 @@ input. Otherwise, it will read from the specified ``filenames``. Display section groups (only for ELF object files). +.. option:: -demangle, -C + + Print demangled symbol names in the output. + EXIT STATUS ----------- |