Skip to content
Snippets Groups Projects
  • Arseny Kapoulkine's avatar
    e8fdd130
    tests: Fix test allocator to provide fundamental alignment · e8fdd130
    Arseny Kapoulkine authored
    Previously test allocator only guaranteed alignment enough for a pointer.
    
    On some platforms (e.g. SPARC) double has to be aligned to 8 bytes but pointers
    can have a size of 4 bytes. This commit increases allocation header to fix that.
    
    In practical terms the allocation header is now always 8 bytes.
    e8fdd130
    History
    tests: Fix test allocator to provide fundamental alignment
    Arseny Kapoulkine authored
    Previously test allocator only guaranteed alignment enough for a pointer.
    
    On some platforms (e.g. SPARC) double has to be aligned to 8 bytes but pointers
    can have a size of 4 bytes. This commit increases allocation header to fix that.
    
    In practical terms the allocation header is now always 8 bytes.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.