]> Cypherpunks repositories - gostls13.git/commit
cmd/link: print symbol versions in stack bound check
authorCherry Zhang <cherryyz@google.com>
Thu, 18 Mar 2021 03:55:07 +0000 (23:55 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 18 Mar 2021 14:09:57 +0000 (14:09 +0000)
commitdb4adb1a9ba2ecd8809aab9bf26cc25d2f0c877b
treeb30be53c9e25f9bc8069936b59fe493d534de0b0
parent9de49ae01ad332d8cbb79a3094c3fc3d6b6931e6
cmd/link: print symbol versions in stack bound check

When the stack bound check fails, print the call chain with
symbol versions (along with the names). Now that we have ABI
wrappers and wrappers do consume stack space, it is clearer to
distinguish the wrappers vs. the underlying functions.

Change-Id: Id1d922e3e7934b31317f233aff3d9667b6ac90c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/302869
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/lib.go