tree: 4d6db14bf4d4e23d322d2f1551cbb1970c91842e [path history] [tgz]
  1. include/
  2. BUILD.gn
  3. coverage-example.cc
  4. coverage-example.h
  5. llvm-profdata-tests.cc
  6. llvm-profdata.cc
  7. README.md
src/lib/llvm-profdata/README.md

LLVM profdata format support library

This library provides support for the llvm-profdata file format in a program compiled using Clang‘s SourceBasedCoverage or LLVM profiling instrumentation. This is a substitute for the standard runtime included in the compiler-rt suite. It’s meant for low-level environments like kernels and boot loaders where toolchain-supplied runtime libraries are not available. It does not implement any I/O or data transport itself, but only a simple API for getting a dump in llvm-profdata format into a memory buffer and for interacting with the code instrumentation generated by the compiler.