Add --demangle and --no-demangle options:
authorIan Lance Taylor <ian@airs.com>
Wed, 25 Mar 1998 00:06:23 +0000 (00:06 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 25 Mar 1998 00:06:23 +0000 (00:06 +0000)
commite4dee78c688fd87281a90b429988438883018089
tree1c2880b5ba911a1d44094e28efa43e47c68c4318
parent44a8b274cf93b7abf787e9ae825505cc8d25220b
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.
gprof/ChangeLog
gprof/gprof.c
gprof/gprof.h
gprof/gprof.texi
gprof/utils.c