You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
Inputs v811_spc009_project 4 months ago
README v811_spc009_project 4 months ago
c-avoid-direct-call.c v811_spc009_project 4 months ago
c-captured.c v811_spc009_project 4 months ago
c-counter-overflows.c v811_spc009_project 4 months ago
c-general.c v811_spc009_project 4 months ago
c-generate.c v811_spc009_project 4 months ago
c-indirect-call.c v811_spc009_project 4 months ago
c-linkage-available_externally.c v811_spc009_project 4 months ago
c-linkage.c v811_spc009_project 4 months ago
c-outdated-data.c v811_spc009_project 4 months ago
c-unprofiled-blocks.c v811_spc009_project 4 months ago
c-unprofiled.c v811_spc009_project 4 months ago
c-unreachable-after-switch.c v811_spc009_project 4 months ago
cxx-class.cpp v811_spc009_project 4 months ago
cxx-implicit.cpp v811_spc009_project 4 months ago
cxx-indirect-call.cpp v811_spc009_project 4 months ago
cxx-lambda.cpp v811_spc009_project 4 months ago
cxx-linkage.cpp v811_spc009_project 4 months ago
cxx-rangefor.cpp v811_spc009_project 4 months ago
cxx-structors.cpp v811_spc009_project 4 months ago
cxx-templates.cpp v811_spc009_project 4 months ago
cxx-throws.cpp v811_spc009_project 4 months ago
cxx-virtual-destructor-calls.cpp v811_spc009_project 4 months ago
def-assignop.cpp v811_spc009_project 4 months ago
def-ctors.cpp v811_spc009_project 4 months ago
def-dtors.cpp v811_spc009_project 4 months ago
func-entry.c v811_spc009_project 4 months ago
gcc-flag-compatibility.c v811_spc009_project 4 months ago
objc-general.m v811_spc009_project 4 months ago
profile-does-not-exist.c v811_spc009_project 4 months ago
profile-summary.c v811_spc009_project 4 months ago

README

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.