aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-04-28 14:50:08 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-04-28 12:50:08 +0000
commit4ebcdc237376106b055412dfa71cbb0ca8c877e9 (patch)
tree8df55b02af0f17c07bd6ef1dbbf9dce00b19f573 /gcc/coverage.h
parent34769baf7d9d8e5545c478d85db3261c6dda3c89 (diff)
downloadgcc-4ebcdc237376106b055412dfa71cbb0ca8c877e9.zip
gcc-4ebcdc237376106b055412dfa71cbb0ca8c877e9.tar.gz
gcc-4ebcdc237376106b055412dfa71cbb0ca8c877e9.tar.bz2
Remove .gcno file when compilation does not success (PR driver/56469).
2017-04-28 Martin Liska <mliska@suse.cz> PR driver/56469 * coverage.c (coverage_remove_note_file): New function. * coverage.h: Declare the function. * toplev.c (finalize): Clean if an error has been seen. From-SVN: r247371
Diffstat (limited to 'gcc/coverage.h')
-rw-r--r--gcc/coverage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/coverage.h b/gcc/coverage.h
index cde6aef..90454c0 100644
--- a/gcc/coverage.h
+++ b/gcc/coverage.h
@@ -24,6 +24,7 @@ along with GCC; see the file COPYING3. If not see
extern void coverage_init (const char *);
extern void coverage_finish (void);
+extern void coverage_remove_note_file (void);
/* Start outputting coverage information for the current
function. */