gcov-tool: Fix merging of different endian coverage data [PR96267]
2020-07-21 Dong JianQiang <dongjianqiang2@huawei.com> gcc/ChangeLog: PR gcov-profile/96267 * gcov-io.c (gcov_open): enable if IN_GCOV_TOOL.
This commit is contained in:
parent
2631d95ae2
commit
de8bfcc8e4
@ -144,7 +144,7 @@ gcov_open (const char *name, int mode)
|
||||
gcov_var.offset = gcov_var.length = 0;
|
||||
gcov_var.overread = -1u;
|
||||
gcov_var.error = 0;
|
||||
#if !IN_LIBGCOV
|
||||
#if !IN_LIBGCOV || defined (IN_GCOV_TOOL)
|
||||
gcov_var.endian = 0;
|
||||
#endif
|
||||
#if GCOV_LOCKED
|
||||
|
Loading…
Reference in New Issue
Block a user