summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_allocator.h
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
commit6ccdfdfc84e3c2c656136dc359b9ec098000f3c1 (patch)
treea7ae4d30da47a13e1ef108494c6a8f566383ba1b /lib/sanitizer_common/sanitizer_allocator.h
parent6b7dd03a7b30bb2c8f42a337cf5dc492a3171187 (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@267126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_allocator.h')
0 files changed, 0 insertions, 0 deletions