llvm-6502/test/tools/llvm-profdata
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
..
Inputs ProfileData: Treat missing function counts as malformed 2014-04-25 02:45:33 +00:00
c-general.test InstrProf: Cleanup binary profdata testcase 2014-03-21 21:20:35 +00:00
errors.test ProfileData: Treat missing function counts as malformed 2014-04-25 02:45:33 +00:00
raw-32-bits-be.test InstrProf: Check pointer size in raw profile 2014-03-23 03:38:12 +00:00
raw-32-bits-le.test InstrProf: Check pointer size in raw profile 2014-03-23 03:38:12 +00:00
raw-64-bits-be.test InstrProf: Check pointer size in raw profile 2014-03-23 03:38:12 +00:00
raw-64-bits-le.test InstrProf: Check pointer size in raw profile 2014-03-23 03:38:12 +00:00
raw-magic-but-no-header.test InstrProf: Change magic number to have non-text characters 2014-03-21 20:42:37 +00:00
raw-two-profiles.test ProfileData: Allow multiple profiles in RawInstrProfReader 2014-05-16 00:38:00 +00:00
simple.test ProfileData: Add support for the indexed instrprof format 2014-04-18 21:48:40 +00:00