diff options
| author | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-04-22 09:20:22 +0000 |
|---|---|---|
| committer | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-04-22 09:20:22 +0000 |
| commit | b1c51f6a9439c05f7c8c2e781afae613f4005e00 (patch) | |
| tree | e6aa1405e5c2cc0419e3ec4ca8c0524e3b507be3 /llvm/lib | |
| parent | feddd64bff4232c3211fa57eb11084c64ccf3bf9 (diff) | |
| download | bcm5719-llvm-b1c51f6a9439c05f7c8c2e781afae613f4005e00.tar.gz bcm5719-llvm-b1c51f6a9439c05f7c8c2e781afae613f4005e00.zip | |
[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')
0 files changed, 0 insertions, 0 deletions

