[AMDGPU] Add LDS encoding granularity to TargetParser
Model LDS encoding granularity with dedicated features and expose the
byte-valued getLDSEncodingGranule query for GPUKind and subarch. Keep
encoding independent of the hardware allocation granularity used for
occupancy; GFX10.3, GFX11 and GFX12.0 encode in 512-byte units while
allocating 1024-byte blocks.
Migrate program resource register and PAL metadata encoding to the new
query and remove getLdsDwGranularity from AMDGPUBaseInfo. gfx9-4-generic
uses gfx950's 1280-byte encoding granule independently of LDS capacity.
Test encoding queries, feature membership, generic-target validation and
encoded LDS sizes, including the GFX10.3 allocation/encoding distinction.
Change-Id: I9d3c2c041605e9a45fa8fbda09fc3460a74953ea
compat_linux sendmsg(2): Handle msg_controllen more cautiously.
Also add an assertion about cmsg_len arithmetic in recvmsg(2) and
recvmmsg(2).
PR kern/60748: compat_linux: possible integer truncation/overflow
issues in socket syscalls
Poison ccache and sccache so they can't be used directly by ports.
Previously these were a common hidden dependency that could be silently
picked by a port at configure time, then junked during build, resulting
in breakage for bulk builders.
Users can still build ports with ccache (for C/C++) and sccache (for
Rust) by setting USE_CCACHE/USE_SCCACHE in mk.conf(5) as described in
bsd.port.mk(5).
ok sthen@ tb@
[WebKit Checkers][NFC] Thread the sink type through the local vars checker (#224862)
So an upcoming borrow checker can track assignment through indirection.
For example, in `out = &vec`, where `out`'s declared type is
`Vector<char>*&`, the relevant sink type is `Vector<char>*`.
Assisted-by: Claude