Go to file
Ken Raeburn 07417085a1 Function entry/exit profiling instrumentation:
* expr.h (profile_function_entry_libfunc, profile_function_exit_libfunc):
Declare new variables.
* optabs.c: Define them here.
(init_optabs): Initialize them.
* tree.h (struct tree_decl): New flag no_instrument_function_entry_exit.
(DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT): New accessor macro.
* c-decl.c (duplicate_decls): Merge it.
* c-common.c (enum attrs): New value A_NO_INSTRUMENT_FUNCTION.
(init_attributes): Use it for "no_instrument_function".
(decl_attributes): Handle it, for functions that have not yet been compiled.
Set decl flag.
* flags.h (flag_instrument_function_entry_exit): Declare new variable.
* toplev.c (flag_instrument_function_entry_exit): Define it here.
(f_options): New option "instrument-functions".
* function.h (struct function): New field instrument_entry_exit.
* function.c (current_function_instrument_entry_exit): New variable.
(push_function_context_to, pop_function_context_from): Save and restore.
(expand_function_start): Set current_ variable, maybe emit return label and
entry profile call.
(expand_function_end): Maybe emit exit profile call.
Testsuite:
* gcc.c-torture/special/eeprof-1.c: New test, for -finstrument-functions.
* gcc.c-torture/special/special.exp: Run it.

From-SVN: r21495
1998-07-30 10:38:22 +00:00
config
contrib * compare_tests: New script. 1998-07-27 15:12:03 -06:00
etc
gcc Function entry/exit profiling instrumentation: 1998-07-30 10:38:22 +00:00
include
INSTALL Fix typo. 1998-07-18 15:48:44 +00:00
libf2c Makefile.in (s-libe77, [...]): Rely on VPATH, dropping explicit use of $(srcdir) in various places. 1998-07-25 05:38:51 +00:00
libiberty cplus-dem.c (type_kind_t): New type. 1998-07-28 11:45:32 +00:00
libio Update. 1998-06-29 18:06:37 +00:00
libstdc++ tmap.cc: Use less<int>. 1998-07-16 21:30:01 -04:00
texinfo * makeinfo/makeinfo.c (add_word_args): Fix thinko. 1998-07-06 15:58:00 -06:00
xiberty
.cvsignore
ChangeLog configure: Fix --without/--disable cases for gxx-include-dir. 1998-07-29 17:13:57 -06:00
config-ml.in
config.guess config.guess: (*-pc-sco3.2v5) Add detection for Pentium II. 1998-07-19 18:00:54 -06:00
config.sub
configure configure: Fix --without/--disable cases for gxx-include-dir. 1998-07-29 17:13:57 -06:00
configure.in configure.in (target_subdir): Set to ${target_alias} instead of "libraries". 1998-06-27 15:48:29 -06:00
COPYING
COPYING.LIB
install-sh
ltconfig
ltmain.sh
MAINTAINERS Add myself as jump.c maintainer. 1998-07-14 14:20:43 -07:00
Makefile.in * Makefile.in (BASE_FLAGS_TO_PASS): Add TARGET_SUBDIR. 1998-06-27 16:08:28 -06:00
missing
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.