aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-23 03:38:12 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-23 03:38:12 +0000
commit4680361d7c881f80b6ddc96bc68d2118eda5cd25 (patch)
treef3dc00c5aaad728849ba6a7dda68115ed50fd445 /clang/lib/CodeGen/CodeGenModule.cpp
parent96cf6c3892f08452273a9f3a2be495771bfa4edc (diff)
downloadllvm-4680361d7c881f80b6ddc96bc68d2118eda5cd25.zip
llvm-4680361d7c881f80b6ddc96bc68d2118eda5cd25.tar.gz
llvm-4680361d7c881f80b6ddc96bc68d2118eda5cd25.tar.bz2
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 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions