• Dmitriy Vyukov's avatar
    runtime: better stack traces in race reports · 0ce96f9e
    Dmitriy Vyukov authored
    When a race happens inside of runtime (chan, slice, etc),
    currently reports contain only user file:line.
    If the line contains a complex expression,
    it's difficult to figure out where the race exactly.
    This change adds one more top frame with exact
    runtime function (e.g. runtime.chansend, runtime.mapaccess).
    
    R=golang-dev
    CC=golang-dev
    https://golang.org/cl/6851125
    0ce96f9e
hashmap.c 31.6 KB