Skip to content

Commit

Permalink
runtime: update framepointer_enabled doc
Browse files Browse the repository at this point in the history
Change-Id: I69e64ebf8c11145ce32aa4c11178e3a47d22fb84
Reviewed-on: https://go-review.googlesource.com/c/go/+/394915
Reviewed-by: Michael Pratt <[email protected]>
Trust: Michael Knyszek <[email protected]>
  • Loading branch information
rski authored and prattmic committed Mar 24, 2022
1 parent cccfb8f commit b2643c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/runtime2.go
Original file line number Diff line number Diff line change
Expand Up @@ -1129,5 +1129,5 @@ var (
isarchive bool // -buildmode=c-archive
)

// Must agree with internal/buildcfg.Experiment.FramePointer.
// Must agree with internal/buildcfg.FramePointerEnabled.
const framepointer_enabled = GOARCH == "amd64" || GOARCH == "arm64"

0 comments on commit b2643c6

Please sign in to comment.