• V
    Pass operator_new_alignment value through gn script into GN args. (#7031) · 8a71c73d
    Vyacheslav Egorov 提交于
    Background:
    
    Some allocators (tcmalloc) don't provide alignment guarantees that
    match clang's default expectations, which causes crashes when using
    clang compiled binary with such allocators.
    
    For example clang can produce movaps instructions to initialize newly
    allocated object - which would crash if result of ::operator new() is
    not 16 bytes aligned.
    8a71c73d
gn 11.3 KB