]> Cypherpunks repositories - gostls13.git/commit
runtime: move getcallerpc to internal/runtime/sys
authorMichael Pratt <mpratt@google.com>
Mon, 16 Sep 2024 18:07:43 +0000 (14:07 -0400)
committerMichael Pratt <mpratt@google.com>
Tue, 17 Sep 2024 15:14:14 +0000 (15:14 +0000)
commit81c92352a7c6aadc434e7d0921d046a599ba2807
tree33897b9d49c96f9d95cd530eed2d76c15f8b88ea
parentf6c89abf897c4adf7dbd598029f0c12452b4ca25
runtime: move getcallerpc to internal/runtime/sys

Moving these intrinsics to a base package enables other internal/runtime
packages to use them.

For #54766.

Change-Id: I0b3eded3bb45af53e3eb5bab93e3792e6a8beb46
Reviewed-on: https://go-review.googlesource.com/c/go/+/613260
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
49 files changed:
src/cmd/compile/internal/inline/inl.go
src/cmd/compile/internal/ssa/_gen/386Ops.go
src/cmd/compile/internal/ssa/_gen/AMD64Ops.go
src/cmd/compile/internal/ssa/_gen/ARM64Ops.go
src/cmd/compile/internal/ssa/_gen/ARMOps.go
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go
src/cmd/compile/internal/ssa/_gen/MIPSOps.go
src/cmd/compile/internal/ssa/_gen/PPC64Ops.go
src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go
src/cmd/compile/internal/ssa/_gen/S390XOps.go
src/cmd/compile/internal/ssa/_gen/genericOps.go
src/cmd/compile/internal/ssagen/intrinsics.go
src/cmd/compile/internal/ssagen/intrinsics_test.go
src/cmd/internal/testdir/testdir_test.go
src/internal/runtime/sys/empty.s [new file with mode: 0644]
src/internal/runtime/sys/intrinsics.go
src/runtime/asan.go
src/runtime/chan.go
src/runtime/coro.go
src/runtime/debugcall.go
src/runtime/error.go
src/runtime/export_test.go
src/runtime/export_windows_test.go
src/runtime/iface.go
src/runtime/map_fast32_noswiss.go
src/runtime/map_fast64_noswiss.go
src/runtime/map_faststr_noswiss.go
src/runtime/map_noswiss.go
src/runtime/map_swiss.go
src/runtime/mbarrier.go
src/runtime/mprof.go
src/runtime/os2_aix.go
src/runtime/os_solaris.go
src/runtime/os_windows.go
src/runtime/panic.go
src/runtime/panic32.go
src/runtime/proc.go
src/runtime/race_amd64.s
src/runtime/select.go
src/runtime/slice.go
src/runtime/string.go
src/runtime/stubs.go
src/runtime/sys_libc.go
src/runtime/traceback.go
src/runtime/unsafe.go
test/internal/runtime/sys/README [new file with mode: 0644]
test/internal/runtime/sys/inlinegcpc.go [new file with mode: 0644]
test/runtime/inlinegcpc.go