llvm-6502/test/tools/llvm-profdata
Duncan P. N. Exon Smith 0695b20d9a InstrProf: Check pointer size in raw profile
Since the profile can come from 32-bit machines, we need to check the
pointer size.  Change the magic number to facilitate this.

Adds tests for reading 32-bit and 64-bit binaries (both big- and
little-endian).  The tests write a binary using printf in RUN lines
(like raw-magic-but-no-header.test).  Assuming the bots don't complain,
this seems like a better way forward for testing RawInstrProfReader than
committing binary files.

<rdar://problem/16400648>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204557 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-23 03:38:12 +00:00
..
Inputs InstrProf: Cleanup binary profdata testcase 2014-03-21 21:20:35 +00:00
c-general.test InstrProf: Cleanup binary profdata testcase 2014-03-21 21:20:35 +00:00
errors.test ProfileData: Introduce InstrProfWriter using the naive text format 2014-03-21 17:46:22 +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
simple.test llvm-profdata: Don't pipe stderr into show for the tests 2014-03-22 23:53:43 +00:00