freebsd-skq/test/Profile
2016-07-23 20:44:14 +00:00
..
Inputs Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-avoid-direct-call.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-captured.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-counter-overflows.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-general.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-generate.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-indirect-call.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-linkage-available_externally.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-linkage.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-outdated-data.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-unprofiled-blocks.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-unprofiled.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
c-unreachable-after-switch.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-class.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-implicit.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-indirect-call.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-lambda.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-linkage.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-rangefor.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-structors.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-templates.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-throws.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
cxx-virtual-destructor-calls.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
def-assignop.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
def-ctors.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
def-dtors.cpp Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
func-entry.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
gcc-flag-compatibility.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
objc-general.m Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
profile-does-not-exist.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
profile-summary.c Vendor import of clang release_39 branch r276489: 2016-07-23 20:44:14 +00:00
README Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:15:30 +00:00

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.