diff options
author | Grigory Zagorodnev <grigory.zagorodnev@intel.com> | 2005-05-10 16:10:54 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2005-05-10 16:10:54 +0000 |
commit | 992f396fcb3903a363a1ac3c885c492d3e789b63 (patch) | |
tree | 88434cdc971ae92b6f0f0bfa67f792324670c31b /gcc/tsystem.h | |
parent | 0f95e9143a13dfd136675c080fba4038e4b5721c (diff) | |
download | gcc-992f396fcb3903a363a1ac3c885c492d3e789b63.zip gcc-992f396fcb3903a363a1ac3c885c492d3e789b63.tar.gz gcc-992f396fcb3903a363a1ac3c885c492d3e789b63.tar.bz2 |
libgcov.c (create_file_directory): New function.
* libgcov.c (create_file_directory): New function. Create
directory for the given file name.
(gcov_max_filename): New static var. Keeps size of the longest
file name.
(gcov_exit): Always try to create directory for output
file. Relocate each filename basing on environment vars.
(__gcov_init): Remember the longest file name.
* tsystem.h: include filenames.h to get IS_DIR_SEPARATOR
* doc/gcov.texi (Cross-profiling): New node documenting
cross-profiling management.
* doc/invoke.texi (-fprofile-arcs): Add xref to cross-profiling.
From-SVN: r99523
Diffstat (limited to 'gcc/tsystem.h')
-rw-r--r-- | gcc/tsystem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tsystem.h b/gcc/tsystem.h index 1ed0cde..bc8384e 100644 --- a/gcc/tsystem.h +++ b/gcc/tsystem.h @@ -131,4 +131,7 @@ extern int errno; unreachable default case of a switch. Do not use gcc_assert(0). */ #define gcc_unreachable() (abort ()) +/* Filename handling macros. */ +#include "filenames.h" + #endif /* ! GCC_TSYSTEM_H */ |