common.opt (finstrument-functions-exclude-function-list): New option.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 7 Aug 2007 23:44:59 +0000 (23:44 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 7 Aug 2007 23:44:59 +0000 (23:44 +0000)
commit8d5a7d1f8e00bf65bce222eb81a3f9efef74a36c
tree5dedb48ab335a56b7d0176746501250ce787dd2b
parentd4fd3465b63ef4d5e4c7d0d894dc6d69e7f54103
common.opt (finstrument-functions-exclude-function-list): New option.

./: * common.opt (finstrument-functions-exclude-function-list): New
option.
(finstrument-functions-exclude-file-list): New option.
* opts.c (char_p): Define and DEF_VEC.
(flag_instrument_functions_exclude_functions): New static
variable.
(flag_instrument_functions_exclude_files): New static variable.
(add_instrument_functions_exclude_list): New static function.
(flag_instrument_functions_exclude_p): New function.
(common_handle_option): Handle new options.
* flags.h (flag_instrument_functions_exclude_p): Declare.
* gimplify.c (gimplify_function_tree): Call
flag_instrument_functions_exclude_p.
* doc/invoke.texi (Option Summary): Mention new options.
(Code Gen Options): Document new options.
testsuite/:
* gcc.dg/instrument-1.c: New test.
* gcc.dg/instrument-2.c: New test.
* gcc.dg/instrument-3.c: New test.

From-SVN: r127284
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/flags.h
gcc/gimplify.c
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/instrument-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/instrument-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/instrument-3.c [new file with mode: 0644]