diff options
| author | Michael Pratt <mpratt@google.com> | 2026-01-22 11:47:42 -0500 |
|---|---|---|
| committer | Michael Pratt <mpratt@google.com> | 2026-01-27 08:24:58 -0800 |
| commit | 64e8b238a1e5ce4cc47eec561db0ccf904e29e50 (patch) | |
| tree | b5d38e6a365e017c15c32ae46523d0ed38957609 /src/runtime/asm_arm64.s | |
| parent | a977717393fd779921ca258988230dbc741f5912 (diff) | |
| download | go-64e8b238a1e5ce4cc47eec561db0ccf904e29e50.tar.xz | |
runtime: rename aeshashbody to runtime.aeshashbody
Currently this is a raw symbol name with no package component, which is
confusing when seen in profilers or similar tools.
This function does not follow a Go ABI, and thus should not have a Go
function declaration. go vet requires declaration for standard assembly
functions.
CL 176100 removed the package name as part of making vet pass on package
runtime, but simply making the function static via the <> suffix is
sufficient, there is no need to shorten the symbol name.
Change-Id: I6a6a636c6030f1c9a4b8bb330978733bb336b08e
Reviewed-on: https://go-review.googlesource.com/c/go/+/738521
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/asm_arm64.s')
| -rw-r--r-- | src/runtime/asm_arm64.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/asm_arm64.s b/src/runtime/asm_arm64.s index 9916378a93..a9da26990e 100644 --- a/src/runtime/asm_arm64.s +++ b/src/runtime/asm_arm64.s @@ -742,7 +742,7 @@ noaes: TEXT runtime·memhash<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-32 MOVB runtime·useAeshash(SB), R10 CBZ R10, noaes - B aeshashbody<>(SB) + B runtime·aeshashbody<>(SB) noaes: B runtime·memhashFallback<ABIInternal>(SB) @@ -751,7 +751,7 @@ TEXT runtime·strhash<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-24 MOVB runtime·useAeshash(SB), R10 CBZ R10, noaes LDP (R0), (R0, R2) // string data / length - B aeshashbody<>(SB) + B runtime·aeshashbody<>(SB) noaes: B runtime·strhashFallback<ABIInternal>(SB) @@ -759,7 +759,7 @@ noaes: // R1: seed data // R2: length // At return, R0 = return value -TEXT aeshashbody<>(SB),NOSPLIT|NOFRAME,$0 +TEXT runtime·aeshashbody<>(SB),NOSPLIT|NOFRAME,$0 VEOR V30.B16, V30.B16, V30.B16 VMOV R1, V30.D[0] VMOV R2, V30.D[1] // load length into seed |
