tree: ad9809018077203ebdd8e5415a5a1b66b31f718e [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.