• Russ Cox's avatar
    runtime: accept GOTRACEBACK=crash to mean 'crash after panic' · 5146a93e
    Russ Cox authored
    This provides a way to generate core dumps when people need them.
    The settings are:
    
            GOTRACEBACK=0  no traceback on panic, just exit
            GOTRACEBACK=1  default - traceback on panic, then exit
            GOTRACEBACK=2  traceback including runtime frames on panic, then exit
            GOTRACEBACK=crash traceback including runtime frames on panic, then crash
    
    Fixes #3257.
    
    R=golang-dev, devon.odell, r, daniel.morsing, ality
    CC=golang-dev
    https://golang.org/cl/7666044
    5146a93e
os_windows_amd64.c 3 KB