• Home
Name
Date
Size
#Lines
LOC

..--

Inputs/07-May-2024-477409

READMED07-May-2024859 1712

c-attributes.cD07-May-20241.2 KiB4930

c-captured.cD07-May-20242.3 KiB6018

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

c-general.cD07-May-202419.4 KiB563184

c-generate.cD07-May-2024488 113

c-linkage-available_externally.cD07-May-2024941 144

c-linkage.cD07-May-2024784 2311

c-outdated-data.cD07-May-2024815 2915

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

c-unprofiled.cD07-May-2024995 2712

c-unreachable-after-switch.cD07-May-2024538 166

cxx-class.cppD07-May-20242.9 KiB7923

cxx-implicit.cppD07-May-2024439 187

cxx-lambda.cppD07-May-20242.3 KiB5915

cxx-linkage.cppD07-May-2024759 2211

cxx-rangefor.cppD07-May-20241.6 KiB4516

cxx-structors.cppD07-May-2024685 3315

cxx-templates.cppD07-May-20241.9 KiB438

cxx-throws.cppD07-May-20243.5 KiB9428

cxx-virtual-destructor-calls.cppD07-May-20241 KiB3811

func-entry.cD07-May-2024554 207

gcc-flag-compatibility.cD07-May-20242.2 KiB437

max-function-count.cD07-May-2024513 2516

objc-general.mD07-May-20242.5 KiB7661

profile-does-not-exist.cD07-May-2024207 50

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