Name Date Size #Lines LOC

..13-Mar-2025-

Inputs/H13-Mar-2025-922804

READMEH A D13-Mar-2025859 1712

branch-logical-mixed.cppH A D13-Mar-20252.4 KiB6751

branch-profdup.cppH A D13-Mar-20251.9 KiB7740

c-avoid-direct-call.cH A D13-Mar-2025364 125

c-captured.cH A D13-Mar-20252.4 KiB6018

c-collision.cH A D13-Mar-2025803 2315

c-counter-overflows.cH A D13-Mar-20251.9 KiB5019

c-general.cH A D13-Mar-202520.5 KiB576184

c-generate.cH A D13-Mar-2025708 153

c-indirect-call.cH A D13-Mar-20251.3 KiB235

c-linkage-available_externally.cH A D13-Mar-2025785 124

c-linkage.cH A D13-Mar-2025889 2711

c-outdated-data.cH A D13-Mar-20251.2 KiB2910

c-ternary.cH A D13-Mar-2025781 163

c-unprofiled-blocks.cH A D13-Mar-20252 KiB7031

c-unprofiled.cH A D13-Mar-20251,005 2712

c-unreachable-after-switch.cH A D13-Mar-2025562 166

coverage-prefix-map.cH A D13-Mar-20252 KiB220

cxx-abc-deleting-dtor.cppH A D13-Mar-20253.4 KiB849

cxx-class.cppH A D13-Mar-20254.2 KiB11333

cxx-hash-v2.cppH A D13-Mar-20252.7 KiB178137

cxx-implicit.cppH A D13-Mar-20251.5 KiB5227

cxx-indirect-call.cppH A D13-Mar-2025746 227

cxx-lambda.cppH A D13-Mar-20252.5 KiB6016

cxx-linkage.cppH A D13-Mar-2025863 2611

cxx-missing-bodies.cppH A D13-Mar-2025643 2210

cxx-rangefor.cppH A D13-Mar-20251.7 KiB4516

cxx-stmt-initializers.cppH A D13-Mar-20251.3 KiB306

cxx-structors.cppH A D13-Mar-20251.2 KiB5626

cxx-templates.cppH A D13-Mar-20252.1 KiB458

cxx-throws.cppH A D13-Mar-20253.7 KiB9428

cxx-virtual-destructor-calls.cppH A D13-Mar-2025803 2911

def-assignop.cppH A D13-Mar-20251.3 KiB3514

def-ctors.cppH A D13-Mar-20251.5 KiB4116

def-dtors.cppH A D13-Mar-20251.2 KiB3515

func-entry.cH A D13-Mar-2025574 207

gcc-flag-compatibility-aix.cH A D13-Mar-20253.1 KiB637

gcc-flag-compatibility.cH A D13-Mar-20253.1 KiB617

misexpect-branch-cold.cH A D13-Mar-2025663 2717

misexpect-branch-nonconst-expected-val.cH A D13-Mar-2025625 2415

misexpect-branch-unpredictable.cH A D13-Mar-2025632 2616

misexpect-branch.cH A D13-Mar-20252.5 KiB5027

misexpect-switch-default.cH A D13-Mar-20251.1 KiB4131

misexpect-switch-nonconst.cH A D13-Mar-20251 KiB4532

misexpect-switch-only-default-case.cH A D13-Mar-2025924 3724

misexpect-switch.cH A D13-Mar-20251.1 KiB4029

objc-general.mH A D13-Mar-20252.8 KiB9476

profile-does-not-exist.cH A D13-Mar-2025217 50

profile-summary.cH A D13-Mar-2025571 2616

README

1These are tests for instrumentation based profiling.  This specifically means
2the -fprofile-instr-generate and -fprofile-instr-use driver flags.
3
4Tests in this directory should usually test both:
5
6  - the generation of instrumentation (-fprofile-instr-generate), and
7  - the use of profile data from instrumented runs (-fprofile-instr-use).
8
9In order to test -fprofile-instr-use without actually running an instrumented
10program, .profdata files are checked into Inputs/.
11
12The input source files must include a main function such that building with
13-fprofile-instr-generate and running the resulting program generates the same
14.profdata file that is consumed by the tests for -fprofile-instr-use.  Even
15tests that only check -fprofile-instr-use should include such a main function,
16so that profile data can be regenerated as the .profdata file format evolves.
17