diff options
author | Martin Liska <mliska@suse.cz> | 2019-04-08 14:16:15 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-04-08 12:16:15 +0000 |
commit | 99603e904420a449d2e9e674cc3d696b9695eb69 (patch) | |
tree | 5dfedb8617397f47217aa76b5c4af83bdf4548ed /gcc/doc | |
parent | d6366157deac0b526ce7ecfd2821745eecce06c8 (diff) | |
download | gcc-99603e904420a449d2e9e674cc3d696b9695eb69.zip gcc-99603e904420a449d2e9e674cc3d696b9695eb69.tar.gz gcc-99603e904420a449d2e9e674cc3d696b9695eb69.tar.bz2 |
Add data_file to GCOV interm. format (PR gcov-profile/89961).
2019-04-08 Martin Liska <mliska@suse.cz>
PR gcov-profile/89961
* doc/gcov.texi: Document data_file.
* gcov.c (generate_results): Add data_info into JSON output.
From-SVN: r270204
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/gcov.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index ecad5d1..e086c30 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -192,6 +192,7 @@ Structure of the JSON is following: @smallexample @{ "current_working_directory": @var{current_working_directory}, + "data_file": @var{data_file}, "format_version": @var{format_version}, "gcc_version": @var{gcc_version} "files": [@var{file}] @@ -206,6 +207,9 @@ Fields of the root element have following semantics: a compilation unit was compiled @item +@var{data_file}: name of the data file (GCDA) + +@item @var{format_version}: semantic version of the format @item |