• Russ Cox's avatar
    cmd/internal/obj/arm: fix line numbers after constant pool · a1e42207
    Russ Cox authored
    If a function is large enough to need to flush the constant pool
    mid-function, the line number assignment code was forcing the
    line numbers not just for the constant pool but for all the instructions
    that follow it. This made the line number information completely
    wrong for all but the beginning of large functions on arm.
    
    Same problem in code copied into arm64.
    
    This broke runtime/trace's TestTraceSymbolize.
    
    Fixes arm build.
    
    Change-Id: I84d9fb2c798c4085f69b68dc766ab4800c7a6ca4
    Reviewed-on: https://go-review.googlesource.com/12894Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    a1e42207
Name
Last commit
Last update
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...