Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c220c84bdb4114199d96bc4e0b7218b0edbe0103947015de0efcfda25ad57ebb
Ticket: 7371b6270b727521cf0c7044a882d16ef5c4e96b
AddressSanitizer use-after-return detection breaks NRE tests, coroutines
User & Date: chrstphrchvz on 2023-10-05 08:14:33
Changes

  1. icomment:
    I notice the CI failure for GCC on Windows. It attempted to use <tt>_AddressOfReturnAddress()</tt> which is MSVC-specific, but the condition is <tt>HAVE_INTRIN_H</tt> even though intrin.h is not MSVC-specific. I am thinking that the condition for <tt>_AddressOfReturnAddress()</tt> should depend on <tt>defined(_MSC_VER)</tt> (whether or not in addition to <tt>HAVE_INTRIN_H</tt>); and/or the GCC/Clang <tt>__builtin_frame_address(0)</tt> case should go first (as done by LLVM).
    
  2. login: "chrstphrchvz"
  3. mimetype: "text/x-fossil-wiki"