llvm-6502/include/llvm/ProfileData
Justin Bogner 6d81fc75c4 ProfileData: Allow multiple profiles in RawInstrProfReader
Allow multiple raw profiles to coexist in a single .profraw file,
given the following conditions:

- Zero padding at the end of or between profiles will be skipped.
- Each profile must start with a valid header.
- Mixing endianness or pointer sizes in concatenated profiles files is
  not allowed.

This is needed to handle cases where a program's shared libraries are
profiled as well as the main executable itself, as we'll need to emit
each executable's counters. Combining the tables in the runtime would
be expensive for the instrumented program.

rdar://16918688

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208938 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-16 00:38:00 +00:00
..
InstrProf.h ProfileData: Add support for the indexed instrprof format 2014-04-18 21:48:40 +00:00
InstrProfReader.h ProfileData: Allow multiple profiles in RawInstrProfReader 2014-05-16 00:38:00 +00:00
InstrProfWriter.h ProfileData: Add support for the indexed instrprof format 2014-04-18 21:48:40 +00:00