• Home
Name Date Size #Lines LOC

..--

Inputs/03-May-2024-803697

READMED03-May-2024859 1712

c-avoid-direct-call.cD03-May-2024365 125

c-captured.cD03-May-20242.3 KiB6018

c-collision.cD03-May-2024799 2315

c-counter-overflows.cD03-May-20241.9 KiB5019

c-general.cD03-May-202419.8 KiB564184

c-generate.cD03-May-2024718 153

c-indirect-call.cD03-May-20241.2 KiB235

c-linkage-available_externally.cD03-May-2024705 124

c-linkage.cD03-May-2024889 2711

c-outdated-data.cD03-May-20241.2 KiB2910

c-ternary.cD03-May-2024745 163

c-unprofiled-blocks.cD03-May-20241.9 KiB7031

c-unprofiled.cD03-May-20241,005 2712

c-unreachable-after-switch.cD03-May-2024540 166

cxx-abc-deleting-dtor.cppD03-May-20243.3 KiB849

cxx-class.cppD03-May-20244.2 KiB11333

cxx-hash-v2.cppD03-May-20242.7 KiB178137

cxx-implicit.cppD03-May-20241.5 KiB5227

cxx-indirect-call.cppD03-May-2024727 227

cxx-lambda.cppD03-May-20242.5 KiB5915

cxx-linkage.cppD03-May-2024863 2611

cxx-missing-bodies.cppD03-May-2024643 2210

cxx-rangefor.cppD03-May-20241.7 KiB4516

cxx-stmt-initializers.cppD03-May-20241.3 KiB306

cxx-structors.cppD03-May-20241.2 KiB5626

cxx-templates.cppD03-May-20241.9 KiB438

cxx-throws.cppD03-May-20243.6 KiB9428

cxx-virtual-destructor-calls.cppD03-May-2024803 2911

def-assignop.cppD03-May-20241.3 KiB3514

def-ctors.cppD03-May-20241.5 KiB4116

def-dtors.cppD03-May-20241.2 KiB3515

func-entry.cD03-May-2024574 207

gcc-flag-compatibility.cD03-May-20244.3 KiB677

objc-general.mD03-May-20242.7 KiB9274

profile-does-not-exist.cD03-May-2024217 50

profile-summary.cD03-May-2024571 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