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.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| Inputs | 3 years ago | |
| README | 3 years ago | |
| c-avoid-direct-call.c | 3 years ago | |
| c-captured.c | 3 years ago | |
| c-counter-overflows.c | 3 years ago | |
| c-general.c | 3 years ago | |
| c-generate.c | 3 years ago | |
| c-indirect-call.c | 3 years ago | |
| c-linkage-available_externally.c | 3 years ago | |
| c-linkage.c | 3 years ago | |
| c-outdated-data.c | 3 years ago | |
| c-unprofiled-blocks.c | 3 years ago | |
| c-unprofiled.c | 3 years ago | |
| c-unreachable-after-switch.c | 3 years ago | |
| cxx-class.cpp | 3 years ago | |
| cxx-implicit.cpp | 3 years ago | |
| cxx-indirect-call.cpp | 3 years ago | |
| cxx-lambda.cpp | 3 years ago | |
| cxx-linkage.cpp | 3 years ago | |
| cxx-rangefor.cpp | 3 years ago | |
| cxx-structors.cpp | 3 years ago | |
| cxx-templates.cpp | 3 years ago | |
| cxx-throws.cpp | 3 years ago | |
| cxx-virtual-destructor-calls.cpp | 3 years ago | |
| def-assignop.cpp | 3 years ago | |
| def-ctors.cpp | 3 years ago | |
| def-dtors.cpp | 3 years ago | |
| func-entry.c | 3 years ago | |
| gcc-flag-compatibility.c | 3 years ago | |
| objc-general.m | 3 years ago | |
| profile-does-not-exist.c | 3 years ago | |
| profile-summary.c | 3 years 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.