[PATCH] Support for BIT_FIELD_REF in asan.c

Marat Zakirov m.zakirov@samsung.com
Fri Sep 26 08:55:00 GMT 2014


Hi all!

Here's a patch which instruments byte-aligned BIT_FIELD_REFs. During GCC 
asan-bootstrap and Linux kernel build I didn't find any cases where 
BIT_FIELD_REF is not 8 bits aligned. But I do not have sufficient 
confidence to replace current return if BIT_FIELD_REF is misaligned to 
assert.

Ok to commit?

--Marat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdt632.diff
Type: text/x-patch
Size: 1148 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140926/de64855b/attachment.bin>


More information about the Gcc-patches mailing list