Align array items to 8 bytes
Opened this issue · 1 comments
singpolyma commented
How can I get array items aligned to 8 bytes? Since all the items are pointers, without 8 byte alignment ubsan complains about "load of misaligned address". I tried -D HXCPP_ALIGN_ALLOC
but it didn't help. I still often get memory addresses for array->getBase()
divisible by 4 but not 8 and then ubsan complains.
singpolyma commented
Hmm. It seems this may be fixed in the latest github release. Any plans to update the haxelib release?