mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 05:44:08 -07:00
The 'arena' allocator does not take memory alignment into account, which can result in crashes at -O3 with gcc 7.5 (presumably because of SSE instructions). This accounts for alignment issues, fixing the issue. Also do various cleanup in lib/allocators. Reported by: Bellaz89, Freagarach Comments by: vladislavbelov Differential Revision: https://code.wildfiregames.com/D3181 This was SVN commit r24517. |
||
|---|---|---|
| .. | ||
| tests | ||
| allocator_checker.h | ||
| allocator_policies.h | ||
| DynamicArena.h | ||
| dynarray.cpp | ||
| dynarray.h | ||
| freelist.cpp | ||
| freelist.h | ||
| overrun_protector.h | ||
| page_aligned.cpp | ||
| page_aligned.h | ||
| pool.cpp | ||
| pool.h | ||
| shared_ptr.cpp | ||
| shared_ptr.h | ||
| stateless_allocators.h | ||
| STLAllocators.h | ||