• David Chase's avatar
    cmd/compile: adjust lineno during import to get Pos right · a5b759aa
    David Chase authored
    Binary import sometimes constructs nodes using functions
    that use the global lineno for the Position.  This causes
    spurious numbers to appear in the assembly and the
    debugging output.
    
    Fix (targeted, because late in the cycle): save and restore
    lineno around bimport calls known to use lineno-sensitive
    functions.
    
    Updates #22600.
    (Comment: "This is a weird line to step through")
    
    Change-Id: I9c4094670380609fe4b6696443fb02579521c596
    Reviewed-on: https://go-review.googlesource.com/80115
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
    a5b759aa
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...