• David Chase's avatar
    cmd/compile: improve debugging output for GOSSAFUNC · bd41c678
    David Chase authored
    This changes the assembly language output to use the
    innermost (instead of outermost) position for line
    number and file.
    
    The file is printed separately, only when it changes,
    to remove redundant and space-consuming noise from the
    output.
    
    Unknown positions have line number "?"
    
    The output format was changed slightly to make it
    easier to read.
    
    One source of gratuitous variation in debugging output was
    removed.
    
    Change-Id: I1fd9c8b0ddd82766488582fb684dce4b04f35723
    Reviewed-on: https://go-review.googlesource.com/78895
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    bd41c678
util.go 11 KB