aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.texi
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-03-25 00:06:23 +0000
committerIan Lance Taylor <ian@airs.com>1998-03-25 00:06:23 +0000
commite4dee78c688fd87281a90b429988438883018089 (patch)
tree1c2880b5ba911a1d44094e28efa43e47c68c4318 /gprof/gprof.texi
parent44a8b274cf93b7abf787e9ae825505cc8d25220b (diff)
downloadgdb-e4dee78c688fd87281a90b429988438883018089.zip
gdb-e4dee78c688fd87281a90b429988438883018089.tar.gz
gdb-e4dee78c688fd87281a90b429988438883018089.tar.bz2
Add --demangle and --no-demangle options:
* gprof.h (demangle): Declare. * gprof.c (demangle): New global variable. (OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define. (long_options): Add "demangle" and "no-demangle". (usage): Mention --demangle and --no-demangle. (main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE. * utils.c (print_name_only): Only demangle symbol name if demangle is true. * gprof.texi (Output Options): Document new options.
Diffstat (limited to 'gprof/gprof.texi')
-rw-r--r--gprof/gprof.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gprof/gprof.texi b/gprof/gprof.texi
index 4c22c9a..6a61fc0 100644
--- a/gprof/gprof.texi
+++ b/gprof/gprof.texi
@@ -477,6 +477,12 @@ are annotated. If this option is specified, every line in
a basic-block is annotated by repeating the annotation for the
first line. This behavior is similar to @code{tcov}'s @samp{-a}.
+@item --demangle
+@itemx --no-demangle
+These options control whether C++ symbol names should be demangled when
+printing output. The default is to demangle symbols. The
+@code{--no-demangle} option may be used to turn off demangling.
+
@end table
@node Analysis Options,Miscellaneous Options,Output Options,Invoking