• Kevin Modzelewski's avatar
    Check CAPI exceptions before signals · 1077e7f2
    Kevin Modzelewski authored
    Previously we would check signals first.  Which means that we would then
    call into a signal handler with an active exception, which would later
    trigger asserts.
    
    For CXX functions, the exception automatically wins over the signal checking.
    CPython also checks signals first.
    
    The only tricky thing is that this was happening because the signals stuff
    was hooked deeper down the stack.  So pass down the CAPI-exception data as well.
    1077e7f2
irgen.h 9.44 KB