Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Inputs/ | 22-Nov-2023 | - | 411 | 352 | ||
README | D | 22-Nov-2023 | 859 | 17 | 12 | |
c-attributes.c | D | 22-Nov-2023 | 1.2 KiB | 49 | 30 | |
c-captured.c | D | 22-Nov-2023 | 2.3 KiB | 60 | 18 | |
c-counter-overflows.c | D | 22-Nov-2023 | 1.9 KiB | 50 | 19 | |
c-general.c | D | 22-Nov-2023 | 18.7 KiB | 548 | 184 | |
c-linkage-available_externally.c | D | 22-Nov-2023 | 952 | 14 | 4 | |
c-linkage.c | D | 22-Nov-2023 | 834 | 23 | 11 | |
c-outdated-data.c | D | 22-Nov-2023 | 815 | 29 | 15 | |
c-unprofiled-blocks.c | D | 22-Nov-2023 | 1.9 KiB | 70 | 31 | |
c-unprofiled.c | D | 22-Nov-2023 | 995 | 27 | 12 | |
c-unreachable-after-switch.c | D | 22-Nov-2023 | 554 | 16 | 6 | |
cxx-class.cpp | D | 22-Nov-2023 | 3 KiB | 79 | 23 | |
cxx-implicit.cpp | D | 22-Nov-2023 | 455 | 18 | 7 | |
cxx-lambda.cpp | D | 22-Nov-2023 | 2.3 KiB | 59 | 15 | |
cxx-linkage.cpp | D | 22-Nov-2023 | 807 | 22 | 11 | |
cxx-templates.cpp | D | 22-Nov-2023 | 1.9 KiB | 43 | 8 | |
cxx-throws.cpp | D | 22-Nov-2023 | 2.9 KiB | 74 | 20 | |
objc-general.m | D | 22-Nov-2023 | 2.5 KiB | 76 | 61 | |
profile-does-not-exist.c | D | 22-Nov-2023 | 179 | 5 | 0 |
README
1These are tests for instrumentation based profiling. This specifically means 2the -fprofile-instr-generate and -fprofile-instr-use driver flags. 3 4Tests in this directory should usually test both: 5 6 - the generation of instrumentation (-fprofile-instr-generate), and 7 - the use of profile data from instrumented runs (-fprofile-instr-use). 8 9In order to test -fprofile-instr-use without actually running an instrumented 10program, .profdata files are checked into Inputs/. 11 12The input source files must include a main function such that building with 13-fprofile-instr-generate and running the resulting program generates the same 14.profdata file that is consumed by the tests for -fprofile-instr-use. Even 15tests that only check -fprofile-instr-use should include such a main function, 16so that profile data can be regenerated as the .profdata file format evolves. 17