tree: 6b2ed37985e00d2249610411d6fdd5f5ff6d83b6 [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. OWNERS
  8. 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.