Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(778)

Unified Diff: libgcc/libgcov.c

Issue 8726046: [google] Add libgcov interface for accessing profile directory Base URL: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/tree-profile.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libgcc/libgcov.c
===================================================================
--- libgcc/libgcov.c (revision 197640)
+++ libgcc/libgcov.c (working copy)
@@ -183,6 +183,14 @@ unsigned int __gcov_sampling_enabled ()
return __gcov_has_sampling;
}
+/* Profile directory prefix specified to -fprofile-generate=. */
+extern char * __gcov_profile_prefix;
+
+char *__gcov_get_profile_prefix ()
+{
+ return __gcov_profile_prefix;
+}
+
/* Per thread sample counter. */
THREAD_PREFIX gcov_unsigned_t __gcov_sample_counter = 0;
« no previous file with comments | « gcc/tree-profile.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b