commit | e1467a4ceeeb74cdc54830e03df8d58893e38892 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Thu Apr 22 02:35:46 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Thu Apr 22 02:35:46 2010 +0000 |
tree | f76b7f940d813b3c280da1d20ed734e57c0bda3a | |
parent | ad759530ff48385255c25e71d7e05632361e0c11 [diff] |
IRgen: Rewrite bit-field access policy to not access data beyond the bounds of the structure, which we also now verify as part of the post-layout consistency checks. - This fixes some pedantic bugs with packed structures, as well as major problems with -fno-bitfield-type-align. - Fixes PR5591, PR5567, and all known -fno-bitfield-type-align issues. - Review appreciated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102045 91177308-0d34-0410-b5e6-96231b3b80d8