hanchenye-llvm-project/llvm/test/tools/llvm-profdata
Justin Bogner a119f32344 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

llvm-svn: 208938
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
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