freebsd-dev/test/Profile
2015-01-18 16:23:48 +00:00
..
Inputs Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
c-attributes.c Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:15:30 +00:00
c-captured.c Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
c-counter-overflows.c Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
c-general.c Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
c-linkage-available_externally.c Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
c-linkage.c Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
c-outdated-data.c Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:15:30 +00:00
c-unprofiled-blocks.c Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:15:30 +00:00
c-unprofiled.c Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:15:30 +00:00
c-unreachable-after-switch.c Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
cxx-class.cpp Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
cxx-implicit.cpp Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:15:30 +00:00
cxx-lambda.cpp Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
cxx-linkage.cpp Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
cxx-templates.cpp Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
cxx-throws.cpp Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +00:00
objc-general.m Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:23:48 +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.