[ruby-cvs:72658] shyouhei:r65558 (trunk): gc.c: move ASAN check to configure

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Tue Nov 6 11:57:28 JST 2018


shyouhei	2018-11-06 11:57:28 +0900 (Tue, 06 Nov 2018)

  New Revision: 65558

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65558

  Log:
    gc.c: move ASAN check to configure
    
    Availability of attributes are checked in configure these days,
    rather than compiler macros.  Also
    __attribute__((no_address_safety_analysis)) is considered
    deprecated in both GCC and Clang.  Use the current best practice
    if available.  See also:
    
    https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
    https://clang.llvm.org/docs/AddressSanitizer.html

  Modified files:
    trunk/configure.ac
    trunk/gc.c
    trunk/internal.h
    trunk/tool/m4/ruby_decl_attribute.m4


More information about the ruby-cvs mailing list