资源简介
将文件置于文件夹ndk-bundle/toolchain即可正常使用。
代码片段和文件信息
/* File format for coverage information
Copyright (C) 1996-2014 Free Software Foundation Inc.
Contributed by Bob Manson .
Completely remangled by Nathan Sidwell .
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3 or (at your option) any later
version.
GCC is distributed in the hope that it will be useful but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
Under Section 7 of GPL version 3 you are granted additional
permissions described in the GCC Runtime Library Exception version
3.1 as published by the Free Software Foundation.
You should have received a copy of the GNU General Public License and
a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not see
. */
/* Routines declared in gcov-io.h. This file should be #included by
another source file after having #included gcov-io.h. */
#if !IN_GCOV
static void gcov_write_block (unsigned);
static gcov_unsigned_t *gcov_write_words (unsigned);
#endif
static const gcov_unsigned_t *gcov_read_words (unsigned);
#if !IN_LIBGCOV
static void gcov_allocate (unsigned);
#endif
/* Optimum number of gcov_unsigned_t‘s read from or written to disk. */
#define GCOV_BLOCK_SIZE (1 << 10)
GCOV_linkAGE struct gcov_var
{
_GCOV_FILE *file;
gcov_position_t start; /* Position of first byte of block */
unsigned offset; /* Read/write position within the block. */
unsigned length; /* Read limit in the block. */
unsigned overread; /* Number of words overread. */
int error; /* < 0 overflow > 0 disk error. */
int mode; /* < 0 writing > 0 reading */
#if IN_LIBGCOV
/* Holds one block plus 4 bytes thus all coverage reads & writes
fit within this buffer and we always can transfer GCOV_BLOCK_SIZE
to and from the disk. libgcov never backtracks and only writes 4
or 8 byte objects. */
gcov_unsigned_t buffer[GCOV_BLOCK_SIZE + 1];
#else
int endian; /* Swap endianness. */
/* Holds a variable length block as the compiler can write
strings and needs to backtrack. */
size_t alloc;
gcov_unsigned_t *buffer;
#endif
} gcov_var;
/* Save the current position in the gcov file. */
/* We need to expose this function when compiling for gcov-tool. */
#ifndef IN_GCOV_TOOL
static inline
#endif
gcov_position_t
gcov_position (void)
{
return gcov_var.start + gcov_var.offset;
}
/* Return nonzero if the error flag is set. */
/* We need to expose this function when compiling for gcov-tool. */
#ifndef IN_GCOV_TOOL
static inline
#endif
int
gcov_is_error (void)
{
return gcov_var.file ? gcov_var.error : 1;
}
#if IN_LIBGCOV
/* Move
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 954880 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-addr2line.exe
文件 979968 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-ar.exe
文件 1652736 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-as.exe
文件 919552 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-c++.exe
文件 953344 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-c++filt.exe
文件 917504 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-cpp.exe
文件 62976 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-elfedit.exe
文件 919552 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-g++.exe
文件 915968 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcc-4.9.exe
文件 915968 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcc-4.9.x.exe
文件 59392 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcc-ar.exe
文件 58880 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcc-nm.exe
文件 58880 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcc-ranlib.exe
文件 915968 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcc.exe
文件 590848 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcov-tool.exe
文件 552448 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gcov.exe
文件 1021440 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-gprof.exe
文件 2037760 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-ld.bfd.exe
文件 2037760 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-ld.exe
文件 965632 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-nm.exe
文件 1124864 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-objcopy.exe
文件 1538048 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-objdump.exe
文件 979968 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-ranlib.exe
文件 501248 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-readelf.exe
文件 955392 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-size.exe
文件 954880 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-strings.exe
文件 1124864 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\bin\mipsel-linux-android-strip.exe
文件 18002 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\COPYING
文件 26527 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\COPYING.LIB
文件 3324 2017-12-02 02:55 mipsel-linux-android-4.9\prebuilt\windows-x86_64\COPYING.RUNTIME
............此处省略183个文件信息
评论
共有 条评论