]> Cypherpunks repositories - gostls13.git/commit
cmd/link: reduce alignment for some funcdata symbols
authorCherry Mui <cherryyz@google.com>
Thu, 30 Sep 2021 15:46:00 +0000 (11:46 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 1 Oct 2021 14:06:36 +0000 (14:06 +0000)
commit96d3ba868aae7aa043147f18e0ca299ada4e34b7
treee3ffb90973ca24d4d79102c455e4d5469f541928
parent8ac5cbe05d61df0a7a7c9a38ff33305d4dcfea32
cmd/link: reduce alignment for some funcdata symbols

Funcdata like opendefer info and traceback arginfo are varints or
bytes. There is no need to align them.

GC liveness map and inline tree have 32-bit fields, so continue
align them to 4 bytes.

Change-Id: I9d5dd750a926c65a910efe5817f9f5c473019bc6
Reviewed-on: https://go-review.googlesource.com/c/go/+/353469
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/symtab.go