Profile: Add a library for the instrumentation based profiling format
authorJustin Bogner <mail@justinbogner.com>
Wed, 12 Mar 2014 20:14:05 +0000 (20:14 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 12 Mar 2014 20:14:05 +0000 (20:14 +0000)
commit02da814a94c043452e3ad10915e8ba366218e925
treefee3f84f130198d1e8acbb4539b35c27d77a4957
parent7eb747e373344eeaf4486621cbb0cfd78e349033
Profile: Add a library for the instrumentation based profiling format

This provides a library to work with the instrumentation based
profiling format that is used by clang's -fprofile-instr-* options and
by the llvm-profdata tool. This is a binary format, rather than the
textual one that's currently in use.

The tests are in the subsequent commits that use this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203703 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/Profile/ProfileData.h [new file with mode: 0644]
include/llvm/Profile/ProfileDataReader.h [new file with mode: 0644]
include/llvm/Profile/ProfileDataWriter.h [new file with mode: 0644]
lib/CMakeLists.txt
lib/LLVMBuild.txt
lib/Makefile
lib/Profile/CMakeLists.txt [new file with mode: 0644]
lib/Profile/LLVMBuild.txt [new file with mode: 0644]
lib/Profile/Makefile [new file with mode: 0644]
lib/Profile/ProfileData.cpp [new file with mode: 0644]
lib/Profile/ProfileDataReader.cpp [new file with mode: 0644]
lib/Profile/ProfileDataWriter.cpp [new file with mode: 0644]