llvm-project/compiler-rt/lib/sanitizer_common/scripts
Sagar Thakur b1c51f6a94 [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
2016-04-22 09:20:22 +00:00
..
check_lint.sh Exclude LLVM sources from lint check. 2015-03-04 21:38:10 +00:00
cpplint.py Use /usr/bin/env to find python 2015-05-28 14:53:14 +00:00
gen_dynamic_list.py [asan] Tweak gen_dynamic_list.py to work with both Py2 and Py3. 2015-10-01 18:27:28 +00:00
litlint.py Use /usr/bin/env to find python 2015-05-28 14:53:14 +00:00
litlint_test.py cleanup and test litlint 2014-05-15 18:52:11 +00:00
sancov.py [ASAN] Use struct instead of array in sancov.py 2016-04-22 09:20:22 +00:00