Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

mode name
drwxr-xr-x Inputs/
-rw-r--r-- README
-rw-r--r-- c-captured.c
-rw-r--r-- c-collision.c
-rw-r--r-- c-general.c
-rw-r--r-- c-generate.c
-rw-r--r-- c-linkage.c
-rw-r--r-- c-ternary.c
-rw-r--r-- c-unprofiled.c
-rw-r--r-- cxx-class.cpp
-rw-r--r-- cxx-hash-v2.cpp
-rw-r--r-- cxx-implicit.cpp
-rw-r--r-- cxx-lambda.cpp
-rw-r--r-- cxx-linkage.cpp
-rw-r--r-- cxx-rangefor.cpp
-rw-r--r-- cxx-throws.cpp
-rw-r--r-- def-assignop.cpp
-rw-r--r-- def-ctors.cpp
-rw-r--r-- def-dtors.cpp
-rw-r--r-- func-entry.c
-rw-r--r-- objc-general.m
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.