Name Date Size #Lines LOC

..--

Inputs/H--936816

READMEH A D11-Mar-2014859 1712

branch-logical-mixed.cppH A D19-Nov-20212.4 KiB6751

branch-profdup.cppH A D05-Jan-20211.9 KiB7740

c-avoid-direct-call.cH A D25-Apr-2022364 125

c-captured.cH A D12-Dec-20222.3 KiB6018

c-collision.cH A D12-Feb-2022803 2315

c-counter-overflows.cH A D31-Oct-20201.9 KiB5019

c-general.cH A D22-Jan-202420.9 KiB586184

c-generate.cH A D05-Jan-2021708 153

c-indirect-call.cH A D12-Dec-20221.2 KiB235

c-linkage-available_externally.cH A D01-Jan-20241 KiB144

c-linkage.cH A D04-Jun-2021889 2711

c-mcdc-class.cppH A D19-Jun-20244.7 KiB10319

c-mcdc-logicalop-ternary.cH A D19-Jun-20243.6 KiB783

c-mcdc-nested-ternary.cH A D19-Jun-20243.2 KiB683

c-mcdc-not.cH A D19-Jun-20244.3 KiB883

c-mcdc.cH A D19-Jun-20244.8 KiB963

c-outdated-data.cH A D12-Feb-20221.2 KiB2910

c-ternary.cH A D12-Dec-2022753 163

c-unprofiled-blocks.cH A D12-Dec-20222 KiB7031

c-unprofiled.cH A D02-Mar-20161,005 2712

c-unreachable-after-switch.cH A D20-May-2024516 166

coverage-prefix-map.cH A D26-Apr-20233.1 KiB320

cxx-abc-deleting-dtor.cppH A D12-Dec-20223.2 KiB849

cxx-class.cppH A D12-Dec-20224.1 KiB11333

cxx-hash-v2.cppH A D14-Nov-20172.7 KiB178137

cxx-implicit.cppH A D08-Feb-20161.5 KiB5227

cxx-indirect-call.cppH A D12-Dec-2022685 227

cxx-lambda.cppH A D12-Dec-20222.5 KiB6016

cxx-linkage.cppH A D04-Jun-2021863 2611

cxx-missing-bodies.cppH A D05-May-2024607 2210

cxx-never-executed-branch.cppH A D22-Sep-2022755 3319

cxx-rangefor.cppH A D12-Dec-20221.6 KiB4516

cxx-stmt-initializers.cppH A D12-Dec-20221.2 KiB306

cxx-structors.cppH A D30-Jun-20171.2 KiB5626

cxx-templates.cppH A D12-Dec-20222 KiB458

cxx-throws.cppH A D12-Dec-20223.5 KiB9428

cxx-virtual-destructor-calls.cppH A D10-Feb-2019803 2911

debug-info-instr_profile_switch.cppH A D03-May-20242 KiB418

def-assignop.cppH A D21-Oct-20191.3 KiB3514

def-ctors.cppH A D21-Oct-20191.5 KiB4116

def-dtors.cppH A D21-Oct-20191.2 KiB3515

func-entry.cH A D23-Dec-2016574 207

gcc-flag-compatibility-aix.cH A D12-Feb-20223.1 KiB637

gcc-flag-compatibility.cH A D07-Aug-20233.1 KiB617

misexpect-branch-cold.cH A D01-Apr-2022663 2717

misexpect-branch-nonconst-expected-val.cH A D01-Apr-2022625 2415

misexpect-branch-unpredictable.cH A D01-Apr-2022632 2616

misexpect-branch.cH A D23-May-20242.5 KiB5027

misexpect-switch-default.cH A D23-May-20241.1 KiB4131

misexpect-switch-nonconst.cH A D01-Apr-20221 KiB4532

misexpect-switch-only-default-case.cH A D01-Apr-2022924 3724

misexpect-switch.cH A D23-May-20241.1 KiB4029

objc-general.mH A D14-May-20232.7 KiB9476

profile-does-not-exist-ir.cH A D16-Sep-2022225 50

profile-does-not-exist.cH A D16-Sep-2022219 50

profile-summary.cH A D23-Dec-2016571 2616

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