aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorSagar Thakur <sagar.thakur@imgtec.com>2016-04-22 09:20:22 +0000
committerSagar Thakur <sagar.thakur@imgtec.com>2016-04-22 09:20:22 +0000
commitb1c51f6a9439c05f7c8c2e781afae613f4005e00 (patch)
treee6aa1405e5c2cc0419e3ec4ca8c0524e3b507be3 /llvm/lib/CodeGen/MachineCombiner.cpp
parentfeddd64bff4232c3211fa57eb11084c64ccf3bf9 (diff)
downloadllvm-b1c51f6a9439c05f7c8c2e781afae613f4005e00.zip
llvm-b1c51f6a9439c05f7c8c2e781afae613f4005e00.tar.gz
llvm-b1c51f6a9439c05f7c8c2e781afae613f4005e00.tar.bz2
[ASAN] Use struct instead of array in sancov.py
Summary: When using 32-bit python with 64-bit asan the pc array in sancov.py cannot fit in 64-bit pc's because the type-code 'L' for arrays in python corresponds to the C type long which is only of 4 bytes. Because of this some of the coverage tool tests fail on mips. To fix these test possible solutions are to use 64-bit python or use struct.unpack with the 'Q' type-code. We have used struct.unpack with 'Q' type code since it is not appropriate to have a 64-bit python on all hosts. Reviewed by kcc, aizatsky Differential: http://reviews.llvm.org/D18817 llvm-svn: 267126
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions