diff options
author | Wei Xiao <Wei.Xiao@arm.com> | 2018-05-02 14:25:00 +0800 |
---|---|---|
committer | Cherry Zhang <cherryyz@google.com> | 2018-05-02 16:59:27 +0000 |
commit | 20102594a027336b08b8b38584f27656d4fc689e (patch) | |
tree | 2441b7fd954889d5e1aee903d1f034a1a8e1ab65 /src/runtime/asm_s390x.s | |
parent | 836fe697c4ec34fb30fcba65052cb42822edf752 (diff) | |
download | go-20102594a027336b08b8b38584f27656d4fc689e.tar.gz go-20102594a027336b08b8b38584f27656d4fc689e.zip |
cmd/compile: intrinsify runtime.getcallerpc on all link register architectures
Add a compiler intrinsic for getcallerpc on following architectures:
arm
mips mipsle mips64 mips64le
ppc64 ppc64le
s390x
Change-Id: I758f3d4742fc214b206bcd07d90408622c17dbef
Reviewed-on: https://go-review.googlesource.com/110835
Run-TryBot: Wei Xiao <Wei.Xiao@arm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/asm_s390x.s')
-rw-r--r-- | src/runtime/asm_s390x.s | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/runtime/asm_s390x.s b/src/runtime/asm_s390x.s index b569d8b421..9ef1b8a4c8 100644 --- a/src/runtime/asm_s390x.s +++ b/src/runtime/asm_s390x.s @@ -725,11 +725,6 @@ TEXT setg_gcc<>(SB),NOSPLIT|NOFRAME,$0-0 MOVD R1, LR RET -TEXT runtime·getcallerpc(SB),NOSPLIT|NOFRAME,$0-8 - MOVD 0(R15), R3 // LR saved by caller - MOVD R3, ret+0(FP) - RET - TEXT runtime·abort(SB),NOSPLIT|NOFRAME,$0-0 MOVW (R0), R0 UNDEF |