• Austin Clements's avatar
    cmd/compile: report typedslicecopy write barriers · afbe646a
    Austin Clements authored
    Most write barrier calls are inserted by SSA, but copy and append are
    lowered to runtime.typedslicecopy during walk. Fix these to set
    Func.WBPos and emit the "write barrier" warning, as done for the write
    barriers inserted by SSA. As part of this, we refactor setting WBPos
    and emitting this warning into the frontend so it can be shared by
    both walk and SSA.
    
    Change-Id: I5fe9997d9bdb55e03e01dd58aee28908c35f606b
    Reviewed-on: https://go-review.googlesource.com/73411
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
    afbe646a
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...