• Matthew Dempsky's avatar
    cmd/compile: disable instrumentation for no-race packages earlier · c0841ecd
    Matthew Dempsky authored
    Rather than checking for each function whether the package supports
    instrumentation, check once up front.
    
    Relatedly, tweak the logic for preventing inlining calls to runtime
    functions from instrumented packages. Previously, we simply disallowed
    inlining runtime functions altogether when instrumenting. With this
    CL, it's only disallowed from packages that are actually being
    instrumented. That is, now intra-runtime calls can be inlined.
    
    Updates #19054.
    
    Change-Id: I88c97b48bf70193a8a3ee18d952dcb26b0369d55
    Reviewed-on: https://go-review.googlesource.com/102815
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    c0841ecd
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...