LLVM/project b65f5aclibc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt, libc/src/sys/xattr/linux CMakeLists.txt

[libc] Add sys/xattr.h and entrypoints flistxattr, listxattr, and llistxattr. (#224357)

The header is non-POSIX, and the entrypoints, as described in
https://man7.org/linux/man-pages/man2/listxattr.2.html, have
Linux-specific signatures. BSD defines `listxattr` and `flistxattr`, but
with an additional parameter.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+150-0libc/test/src/sys/xattr/listxattr_test.cpp
+148-0libc/test/src/sys/xattr/llistxattr_test.cpp
+102-0libc/test/src/sys/xattr/flistxattr_test.cpp
+68-0libc/test/src/sys/xattr/CMakeLists.txt
+43-0libc/src/sys/xattr/linux/CMakeLists.txt
+36-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+547-019 files not shown
+912-025 files

LLVM/project 8560e27lldb/source/Interpreter CMakeLists.txt

chore: remove unnecessary target dependency
DeltaFile
+0-1lldb/source/Interpreter/CMakeLists.txt
+0-11 files

LLVM/project c4b7e08clang/include/clang/Basic SourceLocation.h, clang/lib/Rewrite HTMLRewrite.cpp

Call FileID::getOpaqueValue() instead of getHashValue() for file identity (#224510)

The HTML diagnostics and rewriter code calls FileID::getHashValue() to
get a numeric identifier for each file.

#223794 changes getHashValue() so that it is no longer the identity
function, which breaks tests in clang/test/Analysis/html_diagnostics.

Call getOpaqueValue(), which is equivalent to the current implementation
of getHashValue(), from the HTML diagnostics/rewriter code instead. This
is a no-op today; it only matters once #223794 is reapplied.
DeltaFile
+4-4clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
+3-2clang/include/clang/Basic/SourceLocation.h
+2-1clang/lib/Rewrite/HTMLRewrite.cpp
+9-73 files

LLVM/project fe95130llvm/include/llvm/CodeGen LiveDebugVariables.h, llvm/lib/CodeGen RegAllocGreedy.cpp LiveDebugVariables.cpp

[LiveDebugVariables] Repair stale SlotIndexes

The analysis keeps its indexes from before the first register allocator
until DBG_VALUEs are emitted, by which point passes in between have
erased some of the instructions they point at. Resolve them at the
start of each allocator run and before emitting.

SlotIndexes can then reclaim the entries of erased instructions without
sparing the ones held here, which would have made generated code depend
on -g. Emitted locations are unchanged, except that intervals resolving
to one position now emit a single DBG_VALUE rather than identical
consecutive ones.
DeltaFile
+135-0llvm/lib/CodeGen/LiveDebugVariables.cpp
+57-0llvm/test/DebugInfo/AMDGPU/live-debug-vars-stale-slot-indexes.ll
+8-4llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir
+8-0llvm/include/llvm/CodeGen/LiveDebugVariables.h
+7-0llvm/lib/CodeGen/RegAllocGreedy.cpp
+4-2llvm/test/CodeGen/X86/debug-spilled-snippet.mir
+219-61 files not shown
+223-87 files

LLVM/project e16e277llvm/include/llvm/CodeGen SlotIndexes.h, llvm/lib/CodeGen SlotIndexes.cpp

[SlotIndexes] Add queries for stale indexes

An erased instruction leaves its index list entry in place, making the
index indistinguishable from a block boundary entry. Add
isBlockBoundaryIndex() and isStaleIndex() to tell the two apart, and
canonicalizeIndex() to resolve a stale index to the closest preceding
instruction's register slot, or the block start if none survives.

NFC. No caller yet. LiveDebugVariables is next.
DeltaFile
+207-0llvm/unittests/CodeGen/SlotIndexesTest.cpp
+29-0llvm/lib/CodeGen/SlotIndexes.cpp
+14-0llvm/include/llvm/CodeGen/SlotIndexes.h
+1-0llvm/unittests/CodeGen/CMakeLists.txt
+251-04 files

FreeBSD/ports 4a438aatextproc/luceneplusplus Makefile distinfo

textproc/luceneplusplus: Pull in more patches for CMake 4 compat

Approved by:    portmgr (fixit blanket)
DeltaFile
+5-1textproc/luceneplusplus/distinfo
+2-0textproc/luceneplusplus/Makefile
+7-12 files

FreeBSD/ports 0767124Mk bsd.port.mk

Mk/bsd.port.mk: fix the fix of the fix

Fixes:  20f33287b0595c202d793ae03b555e18bca17ffe
DeltaFile
+1-1Mk/bsd.port.mk
+1-11 files

FreeNAS/freenas 819e85csrc/middlewared/debian rules, src/middlewared/middlewared/pytest/unit/test/linter test_api_import_check.py test_etc_check.py

NAS-143927 / 26.0.0 / Check etc files syntax and imports in CI and on build (by themylogin) (#19805)

https://github.com/truenas/middleware/pull/19801 would've been caught by
this check (instead, it is just logged to middleware log on runtime)

Also, legacy APIs are not imported by middleware, so any import-time
error there will only be detected when it crashes middleware on attempt
to access that API.

Original PR: https://github.com/truenas/middleware/pull/19804

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+254-0src/middlewared/middlewared/test/linter/etc_check.py
+150-0src/middlewared/middlewared/pytest/unit/test/linter/test_etc_check.py
+87-0src/middlewared/middlewared/test/linter/api_import_check.py
+48-0src/middlewared/middlewared/pytest/unit/test/linter/test_api_import_check.py
+2-0src/middlewared/debian/rules
+541-05 files

LLVM/project 6c68007llvm/lib/Target/SPIRV SPIRVRegularizer.cpp, llvm/test/CodeGen/SPIRV/passes SPIRVRegularizer-constexpr-metadata.ll

[SPIR-V] Preserve constexpr vectors as OpSpecConstantComposite (#215794)

Let SPIRVEmitIntrinsics handle these the same as structs/arrays, instead
of eagerly expanding them to runtime insertelement chains
DeltaFile
+4-41llvm/lib/Target/SPIRV/SPIRVRegularizer.cpp
+19-1llvm/test/CodeGen/SPIRV/pointers/global-ptrtoint.ll
+16-0llvm/test/CodeGen/SPIRV/passes/SPIRVRegularizer-constexpr-metadata.ll
+39-423 files

OPNSense/core 4fe0a5esrc/opnsense/mvc/app/library/OPNsense/System/Status DiskSpaceStatus.php

system: style sweep
DeltaFile
+2-2src/opnsense/mvc/app/library/OPNsense/System/Status/DiskSpaceStatus.php
+2-21 files

OpenBSD/ports VHjRfzanet/libunbound Makefile distinfo

   update to libunbound-1.26.1
VersionDeltaFile
1.40+2-2net/libunbound/distinfo
1.47+1-1net/libunbound/Makefile
+3-32 files

OpenBSD/ports 0OPqInUdatabases/py-alembic Makefile distinfo, databases/py-alembic/pkg PLIST

   update to py3-alembic-1.20.0
VersionDeltaFile
1.13+8-3databases/py-alembic/pkg/PLIST
1.27+2-2databases/py-alembic/distinfo
1.36+1-1databases/py-alembic/Makefile
+11-63 files

OpenBSD/ports fhskkAMdatabases/py-ldap Makefile distinfo

   update to py3-ldap-3.4.8
VersionDeltaFile
1.29+2-2databases/py-ldap/distinfo
1.72+1-1databases/py-ldap/Makefile
+3-32 files

LLVM/project 540ee7clldb/include/lldb/Target Process.h

[lldb] Fix AddCacheData comments (#224383)

Fix the ambiguity  of "substitute" in comments
DeltaFile
+1-1lldb/include/lldb/Target/Process.h
+1-11 files

FreeBSD/src d7cf720sys/kern kern_umtx.c

umtx: do not sleep on an unowned mutex after a spurious CAS failure

On ll/sc architectures casueword32() may report a spurious
store-conditional failure (reservation lost to an interrupt, preemption,
or another CPU touching the same reservation granule), and this is
indistinguishable from a genuine comparison mismatch: both return 1.
That is intentional since D20772 and documented in casueword(9) ("The
store can fail on load-linked/store-conditional architectures."), so
callers must cope.

do_lock_normal() does not fully cope.  When the initial
UMUTEX_UNOWNED -> id acquire CAS fails spuriously, the observed owner is
still UMUTEX_UNOWNED, so neither the UMUTEX_CONTESTED branch nor the
real-owner case applies, and execution falls through past the "rv == 1
but not contested, likely store failure" comment into the sleep path.
There, the contested-bit CAS (expecting the observed owner, i.e.
UMUTEX_UNOWNED) succeeds because the mutex really is unowned, stamping
m_owner = UMUTEX_CONTESTED with no owner tid, and the thread sleeps on
"umtxn" forever: nobody owns the mutex, so no unlock and no wakeup ever

    [30 lines not shown]
DeltaFile
+12-8sys/kern/kern_umtx.c
+12-81 files

OpenBSD/ports kh3lPZMdatabases/py-sqlalchemy Makefile distinfo, databases/py-sqlalchemy/pkg PLIST

   update to py3-sqlalchemy-2.0.54
VersionDeltaFile
1.57+2-2databases/py-sqlalchemy/distinfo
1.37+4-0databases/py-sqlalchemy/pkg/PLIST
1.91+1-1databases/py-sqlalchemy/Makefile
+7-33 files

LLVM/project 6d3f949llvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp, llvm/test/CodeGen/SPIRV atomicrmw-uinc-udec-wrap-non-amd.ll atomicrmw-uinc-udec-wrap-scopes.ll

[SPIRV] Translate {uinc/udec}_wrap as opaque intrinsics for AMD (#215507)

Translation of `uinc_wrap` and `udec_wrap` as if they were opaque llvm
intrinsics, so that they can be restored in the reverse translation to
the exact original code. This only applies to AMD targets.

Part 1 of #213685 split.
DeltaFile
+84-0llvm/test/CodeGen/SPIRV/atomicrmw-uinc-udec-wrap-signatures.ll
+66-0llvm/test/CodeGen/SPIRV/atomicrmw-uinc-udec-wrap-orderings.ll
+63-0llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+23-37llvm/test/CodeGen/SPIRV/atomicrmw-uinc-udec-wrap.ll
+59-0llvm/test/CodeGen/SPIRV/atomicrmw-uinc-udec-wrap-scopes.ll
+30-0llvm/test/CodeGen/SPIRV/atomicrmw-uinc-udec-wrap-non-amd.ll
+325-372 files not shown
+352-378 files

FreeBSD/src 72ed4d0sys/kern kern_umtx.c

umtx: do not sleep on an unowned mutex after a spurious CAS failure

On ll/sc architectures casueword32() may report a spurious
store-conditional failure (reservation lost to an interrupt, preemption,
or another CPU touching the same reservation granule), and this is
indistinguishable from a genuine comparison mismatch: both return 1.
That is intentional since D20772 and documented in casueword(9) ("The
store can fail on load-linked/store-conditional architectures."), so
callers must cope.

do_lock_normal() does not fully cope.  When the initial
UMUTEX_UNOWNED -> id acquire CAS fails spuriously, the observed owner is
still UMUTEX_UNOWNED, so neither the UMUTEX_CONTESTED branch nor the
real-owner case applies, and execution falls through past the "rv == 1
but not contested, likely store failure" comment into the sleep path.
There, the contested-bit CAS (expecting the observed owner, i.e.
UMUTEX_UNOWNED) succeeds because the mutex really is unowned, stamping
m_owner = UMUTEX_CONTESTED with no owner tid, and the thread sleeps on
"umtxn" forever: nobody owns the mutex, so no unlock and no wakeup ever

    [30 lines not shown]
DeltaFile
+12-8sys/kern/kern_umtx.c
+12-81 files

NetBSD/src SToiOcJsys/netipsec key.c, tests/net/ipsec t_ipsec_policy.c

   ipsec: Require matching src/dst addr family in IPsec policies.

   PR kern/60669: netipsec key_sp2msg buffer overrun
VersionDeltaFile
1.289+42-5sys/netipsec/key.c
1.2+9-9tests/net/ipsec/t_ipsec_policy.c
+51-142 files

LLVM/project 9c6a62coffload/liboffload/src OffloadImpl.cpp, offload/plugins-nextgen/amdgpu/src rtl.cpp

[offload] plumb HostPtr through PluginContextTy::allocate (#224622)

Restore the memory manager pool for libomptarget allocations. Fixes
regression introduced by: #222677

Assisted-By: Claude Opus
DeltaFile
+6-17offload/plugins-nextgen/common/src/PluginInterface.cpp
+5-3offload/plugins-nextgen/common/include/PluginInterface.h
+5-3offload/plugins-nextgen/amdgpu/src/rtl.cpp
+4-2offload/plugins-nextgen/host/src/rtl.cpp
+3-2offload/liboffload/src/OffloadImpl.cpp
+1-1offload/plugins-nextgen/level_zero/include/L0Plugin.h
+24-281 files not shown
+25-287 files

NetBSD/src xtK6jbCdistrib/sets/lists/debug mi, distrib/sets/lists/tests mi

   ipsec: Test edge cases of setting and getting IPsec policies.

   PR kern/60669: netipsec key_sp2msg buffer overrun
VersionDeltaFile
1.1+370-0tests/net/ipsec/t_ipsec_policy.c
1.13+3-1tests/net/ipsec/Makefile
1.1430+2-1distrib/sets/lists/tests/mi
1.519+2-1distrib/sets/lists/debug/mi
+377-34 files

LLVM/project becd8c6llvm/test/Analysis/CostModel/X86 shuffle-replication-i64.ll shuffle-replication-i32.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+635-635llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
+635-635llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost-inseltpoison.ll
+252-252llvm/test/Analysis/CostModel/X86/shuffle-replication-i16.ll
+147-147llvm/test/Analysis/CostModel/X86/shuffle-replication-i8.ll
+105-105llvm/test/Analysis/CostModel/X86/shuffle-replication-i32.ll
+84-84llvm/test/Analysis/CostModel/X86/shuffle-replication-i64.ll
+1,858-1,8584 files not shown
+1,952-1,90610 files

OpenBSD/ports loNOn92net/rdapper distinfo Makefile

   update to rdapper-1.25
VersionDeltaFile
1.14+2-2net/rdapper/distinfo
1.17+2-2net/rdapper/Makefile
+4-42 files

OpenBSD/ports xIe221ynet/p5-Net-RDAP Makefile distinfo

   update to p5-Net-RDAP-0.43
VersionDeltaFile
1.8+2-2net/p5-Net-RDAP/distinfo
1.11+2-1net/p5-Net-RDAP/Makefile
+4-32 files

OpenBSD/ports JeljET1sysutils Makefile

   +p5-File-XDG
VersionDeltaFile
1.804+1-0sysutils/Makefile
+1-01 files

OpenBSD/ports Ns61Skmsysutils/p5-File-XDG distinfo Makefile, sysutils/p5-File-XDG/pkg PLIST DESCR

   import ports/sysutils/p5-File-XDG, ok bluhm

   This module provides a basic implementation of the XDG base directory
   specification as exists by the Free Desktop Organization (FDO). It
   supports all XDG directories except for the runtime directories, which
   require session management support in order to function.
VersionDeltaFile
1.1+19-0sysutils/p5-File-XDG/Makefile
1.1+4-0sysutils/p5-File-XDG/pkg/DESCR
1.1+3-0sysutils/p5-File-XDG/pkg/PLIST
1.1+2-0sysutils/p5-File-XDG/distinfo
1.1.1.1+0-0sysutils/p5-File-XDG/pkg/PLIST
1.1.1.1+0-0sysutils/p5-File-XDG/pkg/DESCR
+28-02 files not shown
+28-08 files

NetBSD/src 0Rwep9Vsys/netipsec key.c

   ipsec: Fix sizing and alignment in IPsec policy import and export.

   Note: I'm not sure whether it makes sense to have mismatched src and
   dst address families -- I doubt it, since userland libipsec rejects
   it in ipsec_set_policy(3).  I'm also not sure whether it makes sense
   to have numbers of addresses other than 0 or 2.  But those can be
   addressed in a separate commit.

   PR kern/60669: netipsec key_sp2msg buffer overrun
VersionDeltaFile
1.288+61-20sys/netipsec/key.c
+61-201 files

FreeBSD/ports 4e67223textproc/luceneplusplus Makefile distinfo

textproc/luceneplusplus: Fix building with CMake 4

Approved by:    portmgr (fixit blanket)
DeltaFile
+3-1textproc/luceneplusplus/distinfo
+1-0textproc/luceneplusplus/Makefile
+4-12 files

LLVM/project 43bdb7bclang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp, clang/test/CIR/CodeGen var-arg-int128.c var-arg-long-double.c

[CIR] Round the va_arg overflow cursor with cir.ptr_mask

Assisted-by: Cursor / claude-opus-5
DeltaFile
+13-12clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+9-15clang/test/CIR/CodeGen/var-arg-vector.c
+7-13clang/test/CIR/CodeGen/var-arg-long-double.c
+7-13clang/test/CIR/CodeGen/var-arg-aggregate.c
+1-2clang/test/CIR/CodeGen/var-arg-int128.c
+37-555 files

FreeNAS/freenas eccac06src/middlewared/middlewared/api/v26_0_0 s3.py, src/middlewared/middlewared/plugins/filesystem_ acl.py

Fix S3 backport

(cherry picked from commit e320c6bca18fdf9c613b0cfa64ae0ccb856a895d)
DeltaFile
+3-3src/middlewared/middlewared/plugins/truenas_s3/__init__.py
+3-3src/middlewared/middlewared/plugins/filesystem_/acl.py
+1-0src/middlewared/middlewared/api/v26_0_0/s3.py
+7-63 files