feat(asm): encode the arm64 local-exec TLS load

Assisted-by: GLM 5.3 Flash
This commit is contained in:
petrbalvin committed 2026-10-07 21:34:30 +02:00
1 parent 5f6be4584d
commit c27ba30862
6 files changed
+114 -2

No files matched your search

+6
View File
@@ -69,6 +69,12 @@ type arm64FrameInfo struct {
// autosize below StackSmall as NOSPLIT.
needSplit bool
splitClass int // 0: <=StackSmall, 1: <=StackBig, 2: >StackBig
// tls holds the names the file's own GLOBL declarations mark TLSBSS:
// the toolchain's aclass keys the TLS-LE load off the symbol's type
// (objabi.STLSBSS), which only the file's declarations reveal. A nil
// map answers no, the plain static-symbol load.
tls map[string]bool
}
// arm64ComputeFrame derives the frame layout for a TEXT function.