diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-23 03:38:12 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-23 03:38:12 +0000 |
| commit | 4680361d7c881f80b6ddc96bc68d2118eda5cd25 (patch) | |
| tree | f3dc00c5aaad728849ba6a7dda68115ed50fd445 /llvm/lib/ExecutionEngine | |
| parent | 96cf6c3892f08452273a9f3a2be495771bfa4edc (diff) | |
| download | bcm5719-llvm-4680361d7c881f80b6ddc96bc68d2118eda5cd25.tar.gz bcm5719-llvm-4680361d7c881f80b6ddc96bc68d2118eda5cd25.zip | |
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>
llvm-svn: 204557
Diffstat (limited to 'llvm/lib/ExecutionEngine')
0 files changed, 0 insertions, 0 deletions

