aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/textflag.go
diff options
context:
space:
mode:
authorfanzha02 <fannie.zhang@arm.com>2021-08-03 12:11:29 +0800
committerfannie zhang <Fannie.Zhang@arm.com>2021-08-10 01:13:06 +0000
commit1f9c9d853067635305f72e247c5b49e3fa5da8af (patch)
tree1f2152603d23c7511ed669c6524245148f3db4cf /src/cmd/internal/obj/textflag.go
parentf1dce319ffd9d3663f522141abfb9c1ec9d92e04 (diff)
downloadgo-1f9c9d853067635305f72e247c5b49e3fa5da8af.tar.gz
go-1f9c9d853067635305f72e247c5b49e3fa5da8af.zip
doc: use "high address/low address" instead of "top/bottom"
The current document uses the "top" and "bottom" when talking about the address within a frame, which may easily lead to misunderstandings. This patch directly uses "high address" and "low address" to make the expression clearer. Change-Id: I7469330bbdc158672d7f0314fe6680ebdd9ab79a Reviewed-on: https://go-review.googlesource.com/c/go/+/339369 Trust: fannie zhang <Fannie.Zhang@arm.com> Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/cmd/internal/obj/textflag.go')
-rw-r--r--src/cmd/internal/obj/textflag.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/textflag.go b/src/cmd/internal/obj/textflag.go
index 881e192203..5ae75027c2 100644
--- a/src/cmd/internal/obj/textflag.go
+++ b/src/cmd/internal/obj/textflag.go
@@ -49,8 +49,8 @@ const (
// Function can call reflect.Type.Method or reflect.Type.MethodByName.
REFLECTMETHOD = 1024
- // Function is the top of the call stack. Call stack unwinders should stop
- // at this function.
+ // Function is the outermost frame of the call stack. Call stack unwinders
+ // should stop at this function.
TOPFRAME = 2048
// Function is an ABI wrapper.