Home
last modified time | relevance | path

Searched +full:gcov +full:- +full:4 (Results 1 – 25 of 116) sorted by relevance

12345

/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ProfileData/
DGCOV.h1 //===- GCOV.h - LLVM coverage tool ------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // use 'gcov' format.
12 //===----------------------------------------------------------------------===//
39 namespace GCOV {
43 /// A struct for passing gcov options between functions.
68 } // end namespace GCOV
70 /// GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific
77 /// readGCNOFormat - Check GCNO signature is valid at the beginning of buffer.
[all …]
/external/llvm/test/Transforms/GCOVProfiling/
Dreturn-block.ll2 ; RUN: echo '!19 = !{!"%/T/return-block.ll", !0}' > %t1
6 ; RUN: opt -insert-gcov-profiling -disable-output %t2
7 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…
10 ; RUN: opt -insert-gcov-profiling -gcov-exit-block-before-body -disable-output %t2
11 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…
12 ; RUN: rm %T/return-block.gcno
15 ; RUN: opt -passes=insert-gcov-profiling -disable-output %t2
16 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…
19 ; RUN: opt -passes=insert-gcov-profiling -gcov-exit-block-before-body -disable-output %t2
20 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…
[all …]
Dfunction-numbering.ll1 ; Test that GCOV instrumentation numbers functions correctly when some
5 ; RUN: echo '!14 = !{!"%/T/function-numbering.ll", !0}' > %t1
8 ; RUN: opt -insert-gcov-profiling -S < %t2 | FileCheck --check-prefix GCDA %s
9 ; RUN: llvm-cov gcov -n -dump %T/function-numbering.gcno 2>&1 | FileCheck --check-prefix GCNO %s
10 ; RUNN: rm %T/function-numbering.gcno
12 ; RUN: opt -passes=insert-gcov-profiling -S < %t2 | FileCheck --check-prefix GCDA %s
13 ; RUN: llvm-cov gcov -n -dump %T/function-numbering.gcno 2>&1 | FileCheck --check-prefix GCNO %s
15 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
16 target triple = "x86_64-apple-macosx10.10.0"
18 ; GCDA: @[[FOO:[0-9]+]] = private unnamed_addr constant [4 x i8] c"foo\00"
[all …]
Dglobal-ctor.ll1 ; RUN: echo '!16 = !{!"%/T/global-ctor.ll", !0}' > %t1
3 ; RUN: opt -insert-gcov-profiling -disable-output < %t2
4 ; RUN: not grep '_GLOBAL__sub_I_global-ctor' %T/global-ctor.gcno
5 ; RUN: rm %T/global-ctor.gcno
7 ; RUN: opt -passes=insert-gcov-profiling -disable-output < %t2
8 ; RUN: not grep '_GLOBAL__sub_I_global-ctor' %T/global-ctor.gcno
9 ; RUN: rm %T/global-ctor.gcno
11 @x = global i32 0, align 4
12 …*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @_GLOBAL__sub_I_global-ctor.ll, i8* null }]
15 define internal void @__cxx_global_var_init() #0 section ".text.startup" !dbg !4 {
[all …]
Dmodules.ll1 ; RUN: opt -insert-gcov-profiling -o - < %s | llvm-dis | FileCheck -check-prefix=EMIT-ARCS %s
2 ; RUN: opt -passes=insert-gcov-profiling -o - < %s | llvm-dis | FileCheck -check-prefix=EMIT-ARCS %s
4 ; EMIT-ARCS-NOT: call void @llvm_gcda_start_file
7 !llvm.module.flags = !{!3, !4}
12 !3 = !{i32 2, !"Dwarf Version", i32 4}
13 !4 = !{i32 2, !"Debug Info Version", i32 3}
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DGCOV.h1 //===- GCOV.h - LLVM coverage tool ------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // use 'gcov' format.
12 //===----------------------------------------------------------------------===//
41 namespace GCOV {
45 /// A struct for passing gcov options between functions.
63 } // end namespace GCOV
65 /// GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific
71 /// readGCNOFormat - Check GCNO signature is valid at the beginning of buffer.
[all …]
/external/llvm/include/llvm/Support/
DGCOV.h1 //===- GCOV.h - LLVM coverage tool ----------------------------------------===//
8 //===----------------------------------------------------------------------===//
11 // use 'gcov' format.
13 //===----------------------------------------------------------------------===//
32 namespace GCOV {
35 /// \brief A struct for passing gcov options between functions.
50 } // end GCOV namespace
52 /// GCOVBuffer - A wrapper around MemoryBuffer to provide GCOV specific
58 /// readGCNOFormat - Check GCNO signature is valid at the beginning of buffer.
60 StringRef File = Buffer->getBuffer().slice(0, 4); in readGCNOFormat()
[all …]
/external/llvm/test/tools/llvm-profdata/
Dgcc-gcov-sample-profile.test1 The input gcov file has been generated on a little endian machine. Expect
4 XFAIL: powerpc64-, s390x, mips-, mips64-, sparc
6 Tests for sample profiles encoded in GCC's gcov format.
8 1- Show all functions. This profile has a single main() function with several
10 RUN: llvm-profdata show --sample %p/Inputs/gcc-sample-profile.gcov | FileCheck %s --check-prefix=SH…
17 2- Convert the profile to text encoding and check that they are both
19 RUN: llvm-profdata merge --sample %p/Inputs/gcc-sample-profile.gcov --text -o - | llvm-profdata sho…
20 RUN: llvm-profdata show --sample %p/Inputs/gcc-sample-profile.gcov -o %t-gcov
21 RUN: diff %t-text %t-gcov
23 4- Merge the gcov and text encodings of the profile and check that the
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/.github/workflows/
Dpigz.yml4 ci-cmake:
6 runs-on: ${{ matrix.os }}
8 fail-fast: false
11 - name: Ubuntu GCC
12 os: ubuntu-latest
16 - name: Ubuntu GCC Symbol Prefix
17 os: ubuntu-latest
20 cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_
22 - name: Ubuntu Clang
23 os: ubuntu-latest
[all …]
Dcmake.yml4 ci-cmake:
6 runs-on: ${{ matrix.os }}
8 fail-fast: false
11 - name: Ubuntu 18.04 GCC
12 os: ubuntu-18.04
14 cxx-compiler: g++
16 - name: Ubuntu GCC ASAN
17 os: ubuntu-latest
19 cxx-compiler: g++
20 cmake-args: -DWITH_SANITIZER=Address
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===//
8 //===----------------------------------------------------------------------===//
10 // This pass implements GCOV-style profiling. When this pass is run it emits
15 //===----------------------------------------------------------------------===//
46 #define DEBUG_TYPE "insert-gcov-profiling"
49 DefaultGCOVVersion("default-gcov-version", cl::init("402*"), cl::Hidden,
51 static cl::opt<bool> DefaultExitBlockBeforeBody("gcov-exit-block-before-body",
63 if (DefaultGCOVVersion.size() != 4) { in getDefault()
64 llvm::report_fatal_error(std::string("Invalid -default-gcov-version: ") + in getDefault()
67 memcpy(Options.Version, DefaultGCOVVersion.c_str(), 4); in getDefault()
[all …]
/external/toolchain-utils/afdo_tools/
Dupdate_kernel_afdo_test.py3 # Use of this source code is governed by a BSD-style license that can be
23 def make_tempdir(self) -> Path:
46 # Ensure these round-trip.
59 cros/not-a-release-branch
60 cros/release-R121-15699.B
61 cros/release-R122-15753.B
62 cros/release-R123-15786.B
63 cros/also-not-a-release-branch
84 branch_name="release-R123-15786.B",
89 branch_name="release-R122-15753.B",
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This pass implements GCOV-style profiling. When this pass is run it emits
14 //===----------------------------------------------------------------------===//
50 #define DEBUG_TYPE "insert-gcov-profiling"
53 DefaultGCOVVersion("default-gcov-version", cl::init("402*"), cl::Hidden,
55 static cl::opt<bool> DefaultExitBlockBeforeBody("gcov-exit-block-before-body",
67 if (DefaultGCOVVersion.size() != 4) { in getDefault()
68 llvm::report_fatal_error(std::string("Invalid -default-gcov-version: ") + in getDefault()
[all …]
/external/cn-cbor/cmake/
DCoverallsGenerateGcov.cmake28 # This script will then use gcov to generate .gcov files in the directory specified
31 # It then parses the .gcov files to convert them into the Coveralls JSON format:
35 # (Note it is important the -P is at the end...)
36 # $ cmake -DCOV_PATH=$(pwd)
37 # -DCOVERAGE_SRCS="catcierge_rfid.c;catcierge_timer.c"
38 # -P ../cmake/CoverallsGcovUpload.cmake
51 …message(FATAL_ERROR "Coveralls: Missing coverage directory path where gcov files will be generated…
68 find_program(GCOV_EXECUTABLE gcov)
71 message(FATAL_ERROR "gcov not found! Aborting...")
80 COMMAND ${GIT_EXECUTABLE} rev-parse --abbrev-ref HEAD
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ProfileData/
DGCOV.cpp1 //===- GCOV.cpp - LLVM coverage tool --------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // GCOV implements the interface to read and write coverage files that use
10 // 'gcov' format.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/ProfileData/GCOV.h"
17 #include "llvm/Config/llvm-config.h"
74 Context(const GCOV::Options &Options) : options(Options) {} in Context()
93 const GCOV::Options &options;
[all …]
/external/libcxx/utils/google-benchmark/test/
DCMakeLists.txt7 # strip -DNDEBUG from the default CMake flags in DEBUG mode.
10 add_definitions( -UNDEBUG )
11 add_definitions(-DTEST_BENCHMARK_LIBRARY_HAS_NO_ASSERTIONS)
20 string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " "
25 check_cxx_compiler_flag(-O3 BENCHMARK_HAS_O3_FLAG)
28 set(BENCHMARK_O3_FLAG "-O3")
57 add_test(benchmark benchmark_test --benchmark_min_time=0.01)
61 add_test(${name} filter_test --benchmark_min_time=0.01 --benchmark_filter=${filter} ${expect})
62 …add_test(${name}_list_only filter_test --benchmark_list_tests --benchmark_filter=${filter} ${expec…
66 add_filter_test(filter_simple_negative "-Foo" 2)
[all …]
/external/compiler-rt/lib/profile/
DGCDAProfiling.c1 /*===- GCDAProfiling.c - Support library for GCDA file emission -----------===*\
8 |*===----------------------------------------------------------------------===*|
10 |* This file implements the call back routines for the gcov profiling
12 |* the -insert-gcov-profiling LLVM pass.
14 |* We emit files in a corrupt version of GCOV's "gcda" file format. These files
18 |* TODO: gcov is multi-process safe by having each exit open the existing file
19 |* and append to it. We'd like to achieve that and be thread-safe too.
21 \*===----------------------------------------------------------------------===*/
54 * FreeBSD 10, r232261) when compiled in 32-bit mode.
64 * --- GCOV file format I/O primitives ---
[all …]
/external/google-benchmark/test/
DCMakeLists.txt8 add_cxx_compiler_flag(-Wno-unused-variable)
11 # strip -DNDEBUG from the default CMake flags in DEBUG mode.
14 add_definitions( -UNDEBUG )
15 add_definitions(-DTEST_BENCHMARK_LIBRARY_HAS_NO_ASSERTIONS)
24 string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " "
30 add_definitions(-DBENCHMARK_STATIC_DEFINE)
33 check_cxx_compiler_flag(-O3 BENCHMARK_HAS_O3_FLAG)
36 set(BENCHMARK_O3_FLAG "-O3")
52 target_compile_options( ${name} PRIVATE --diag_suppress partial_override )
77 benchmark_add_test(NAME benchmark COMMAND benchmark_test --benchmark_min_time=0.01s)
[all …]
/external/cronet/third_party/google_benchmark/src/test/
DCMakeLists.txt9 # strip -DNDEBUG from the default CMake flags in DEBUG mode.
12 add_definitions( -UNDEBUG )
13 add_definitions(-DTEST_BENCHMARK_LIBRARY_HAS_NO_ASSERTIONS)
22 string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " "
28 add_definitions(-DBENCHMARK_STATIC_DEFINE)
31 check_cxx_compiler_flag(-O3 BENCHMARK_HAS_O3_FLAG)
34 set(BENCHMARK_O3_FLAG "-O3")
50 target_compile_options( ${name} PRIVATE --diag_suppress partial_override )
67 add_test(NAME benchmark COMMAND benchmark_test --benchmark_min_time=0.01s)
70 add_test(NAME spec_arg COMMAND spec_arg_test --benchmark_filter=BM_NotChosen)
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp1 //===- GCOV.cpp - LLVM coverage tool --------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // GCOV implements the interface to read and write coverage files that use
10 // 'gcov' format.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/ProfileData/GCOV.h"
16 #include "llvm/Config/llvm-config.h"
28 //===----------------------------------------------------------------------===//
31 /// readGCNO - Read GCNO buffer.
[all …]
/external/libevent/cmake/
DCodeCoverage.cmake2 # Boost Software License - Version 1.0 - August 17th, 2003
8 # Software, and to permit third-parties to whom the Software is furnished to
15 # works are solely in the form of machine-executable object code generated by
20 # FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
26 # 2012-01-31, Lars Bilke
27 # - Enable Code Coverage
29 # 2013-09-17, Joakim Söderberg
30 # - Added support for Clang.
31 # - Some additional usage instructions.
33 # 2016-11-02, Azat Khuzhin
[all …]
/external/llvm/lib/IR/
DGCOV.cpp1 //===- GCOV.cpp - LLVM coverage tool --------------------------------------===//
8 //===----------------------------------------------------------------------===//
10 // GCOV implements the interface to read and write coverage files that use
11 // 'gcov' format.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/Support/GCOV.h"
28 //===----------------------------------------------------------------------===//
31 /// readGCNO - Read GCNO buffer.
44 if (!GFun->readGCNO(Buffer, Version)) in readGCNO()
53 /// readGCDA - Read GCDA buffer. It is required that readGCDA() can only be
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This pass implements GCOV-style profiling. When this pass is run it emits
14 //===----------------------------------------------------------------------===//
51 #define DEBUG_TYPE "insert-gcov-profiling"
62 static cl::opt<std::string> DefaultGCOVVersion("default-gcov-version",
66 static cl::opt<bool> AtomicCounter("gcov-atomic-counter", cl::Hidden,
71 // Length + NUL-terminated string + 0~3 padding NULs. in wordsOfString()
72 return (s.size() / 4) + 2; in wordsOfString()
[all …]
/external/sdv/vsomeip/third_party/boost/any/
D.travis.yml5 # Copyright Antony Polukhin 2014-2021.
16 # `--coverage` flags required to generate coverage info for Coveralls
19- env: B2_ARGS='cxxstd=98,03,11,14,1y toolset=gcc-6 cxxflags="--coverage -fsanitize=address,leak,u…
20 name: "GCC-6, no RTTI"
23 sources: ubuntu-toolchain-r-test
24 packages: g++-6
26- env: B2_ARGS='cxxstd=98,03,11,14,1z toolset=gcc-8 cxxflags="--coverage -fsanitize=address,leak,u…
27 name: "GCC-8"
31 sources: ubuntu-toolchain-r-test
32 packages: g++-8
[all …]
/external/sdv/vsomeip/third_party/boost/variant/
D.travis.yml5 # Copyright Antony Polukhin 2014-2021.
17 # `--coverage` flags required to generate coverage info for Coveralls
20- env: B2_ARGS='cxxstd=98,03,11,14,1y toolset=gcc-6 cxxflags="--coverage -fsanitize=address,leak,u…
21 name: "GCC-6, no RTTI"
24 sources: ubuntu-toolchain-r-test
25 packages: g++-6
27- env: B2_ARGS='cxxstd=98,03,11,14,1z toolset=gcc-8 cxxflags="--coverage -fsanitize=address,leak,u…
28 name: "GCC-8"
32 sources: ubuntu-toolchain-r-test
33 packages: g++-8
[all …]

12345