-
Keith Randall authored
Functions should be declared to end after the last real instruction, not after the last padding byte. We achieve this by adding the padding while assembling the text section in the linker instead of adding the padding to the function symbol in the compiler. This change makes dtrace happy. TODO: check that this works with external linking Fixes #15969 Change-Id: I973e478d0cd34b61be1ddc55410552cbd645ad62 Reviewed-on: https://go-review.googlesource.com/24040 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
5701174c
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arm | ||
arm64 | ||
mips | ||
ppc64 | ||
s390x | ||
x86 | ||
data.go | ||
flag.go | ||
funcdata.go | ||
go.go | ||
ld.go | ||
line_test.go | ||
link.go | ||
obj.go | ||
objfile.go | ||
pass.go | ||
pcln.go | ||
plist.go | ||
sizeof_test.go | ||
stack.go | ||
stringer.go | ||
sym.go | ||
textflag.go | ||
typekind.go | ||
util.go |