Name Last Update
..
Inputs Loading commit data...
README Loading commit data...
c-avoid-direct-call.c Loading commit data...
c-captured.c Loading commit data...
c-collision.c Loading commit data...
c-counter-overflows.c Loading commit data...
c-general.c Loading commit data...
c-generate.c Loading commit data...
c-indirect-call.c Loading commit data...
c-linkage-available_externally.c Loading commit data...
c-linkage.c Loading commit data...
c-outdated-data.c Loading commit data...
c-ternary.c Loading commit data...
c-unprofiled-blocks.c Loading commit data...
c-unprofiled.c Loading commit data...
c-unreachable-after-switch.c Loading commit data...
cxx-abc-deleting-dtor.cpp Loading commit data...
cxx-class.cpp Loading commit data...
cxx-hash-v2.cpp Loading commit data...
cxx-implicit.cpp Loading commit data...
cxx-indirect-call.cpp Loading commit data...
cxx-lambda.cpp Loading commit data...
cxx-linkage.cpp Loading commit data...
cxx-missing-bodies.cpp Loading commit data...
cxx-rangefor.cpp Loading commit data...
cxx-stmt-initializers.cpp Loading commit data...
cxx-structors.cpp Loading commit data...
cxx-templates.cpp Loading commit data...
cxx-throws.cpp Loading commit data...
cxx-virtual-destructor-calls.cpp Loading commit data...
def-assignop.cpp Loading commit data...
def-ctors.cpp Loading commit data...
def-dtors.cpp Loading commit data...
func-entry.c Loading commit data...
gcc-flag-compatibility.c Loading commit data...
misexpect-branch-cold.c Loading commit data...
misexpect-branch-nonconst-expected-val.c Loading commit data...
misexpect-branch-unpredictable.c Loading commit data...
misexpect-branch.c Loading commit data...
misexpect-switch-default.c Loading commit data...
misexpect-switch-nonconst.c Loading commit data...
misexpect-switch-only-default-case.c Loading commit data...
misexpect-switch.c Loading commit data...
objc-general.m Loading commit data...
profile-does-not-exist.c Loading commit data...
profile-summary.c Loading commit data...
These are tests for instrumentation based profiling.  This specifically means
the -fprofile-instr-generate and -fprofile-instr-use driver flags.

Tests in this directory should usually test both:

  - the generation of instrumentation (-fprofile-instr-generate), and
  - the use of profile data from instrumented runs (-fprofile-instr-use).

In order to test -fprofile-instr-use without actually running an instrumented
program, .profdata files are checked into Inputs/.

The input source files must include a main function such that building with
-fprofile-instr-generate and running the resulting program generates the same
.profdata file that is consumed by the tests for -fprofile-instr-use.  Even
tests that only check -fprofile-instr-use should include such a main function,
so that profile data can be regenerated as the .profdata file format evolves.