LLVM/project 0aaca05llvm/utils/gn/secondary/clang/lib/Frontend BUILD.gn, llvm/utils/gn/secondary/clang/tools/clang-linker-wrapper BUILD.gn

[gn] port llvm/lib/Plugins changes

This ports:
* 2634a2bda1db92ab5324
* c3678c4165b554a2908d
DeltaFile
+5-0llvm/utils/gn/secondary/llvm/lib/Plugins/BUILD.gn
+1-4llvm/utils/gn/secondary/llvm/lib/Extensions/BUILD.gn
+1-1llvm/utils/gn/secondary/clang/tools/clang-linker-wrapper/BUILD.gn
+1-1llvm/utils/gn/secondary/clang/lib/Frontend/BUILD.gn
+1-1llvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn
+1-1llvm/utils/gn/secondary/llvm/tools/llvm-lto2/BUILD.gn
+10-86 files not shown
+16-1012 files

FreeBSD/ports b482f74x11/xterm distinfo Makefile

x11/xterm: Update to 406
DeltaFile
+3-3x11/xterm/distinfo
+1-1x11/xterm/Makefile
+4-42 files

FreeNAS/freenas ff2214asrc/middlewared/middlewared/plugins sysdataset.py

Remove various services from sysdataset restart logic
DeltaFile
+0-6src/middlewared/middlewared/plugins/sysdataset.py
+0-61 files

FreeNAS/freenas c7e0c23src/middlewared/middlewared/api/base decorator.py, src/middlewared/middlewared/plugins/webshare sharing.py config.py

Address review
DeltaFile
+191-0src/middlewared/middlewared/pytest/unit/api/base/test_decorator.py
+14-4src/middlewared/middlewared/api/base/decorator.py
+1-1src/middlewared/middlewared/plugins/webshare/sharing.py
+1-1src/middlewared/middlewared/plugins/webshare/config.py
+207-64 files

LLVM/project 5acbb9e. test

test
DeltaFile
+0-0test
+0-01 files

LLVM/project 2e16cadlibc/src/__support alloc-checker.h, libc/src/__support/CPP new.h README.md

[libc] Split out src/__support/alloc-checker.h (#173104)

This moves the libc-internal AllocChecker API out of
src/__support/CPP/new.h and updates CPP/README.md to state the
intent to keep src/__support/CPP and the LIBC_NAMESPACE::cpp
namespace a "pure" subset of standard C++ API polyfills.
DeltaFile
+77-0libc/src/__support/alloc-checker.h
+4-62libc/src/__support/CPP/new.h
+23-8libc/src/__support/CPP/README.md
+3-3libc/src/string/strndup.cpp
+2-2libc/test/src/__support/File/file_test.cpp
+2-1libc/src/__support/File/linux/file.cpp
+111-7612 files not shown
+123-7618 files

HardenedBSD/src e4bd7c1sys/kern vfs_inotify.c, sys/netpfil/pf pf.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+38-2tests/sys/netpfil/pf/divert-to.sh
+31-0tests/sys/kern/inotify_test.c
+6-4sys/netpfil/pf/pf.c
+1-7tests/sys/netpfil/pf/icmp.py
+1-6tests/sys/netpfil/pf/nat66.py
+2-5sys/kern/vfs_inotify.c
+79-244 files not shown
+93-2910 files

HardenedBSD/src 5f003ccsys/kern vfs_inotify.c, sys/netpfil/pf pf.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+38-2tests/sys/netpfil/pf/divert-to.sh
+31-0tests/sys/kern/inotify_test.c
+6-4sys/netpfil/pf/pf.c
+1-7tests/sys/netpfil/pf/icmp.py
+1-6tests/sys/netpfil/pf/nat66.py
+2-5sys/kern/vfs_inotify.c
+79-244 files not shown
+93-2910 files

FreeNAS/freenas 06aaed2src/middlewared/middlewared/plugins smb.py directoryservices.py, src/middlewared/middlewared/plugins/smb_ constants.py util_smbconf.py

Improve handling of SMB paths for HA systems

This commit shifts the majority of SMB-related paths that aren't
required for SMB session persistence to the boot pool. This
enables the standby controller to more readily be prepared to take
over sessions because we have to resync fewer items on failover
and don't have to replace winbindd / sssd state and flush caches.

Semi-persistent (new on upgrade):
---------------------------------
/var/lib/truenas-samba: samba state dir
* winbindd_idmap.tdb (winbindd-generated automatic mappings of
  dynamic accounts -- this is managed by middlewared)
* account_policy.tdb (STIG-related SMB server account configuration
  setting expiry details)
* share_info.tdb (SMB share ACLs -- this is managed by middlewared)
* group_mapping.tdb (mappings of local groups to samba SIDs and
  NT groups -- managed by middlewared)


    [30 lines not shown]
DeltaFile
+0-57src/middlewared/middlewared/plugins/smb.py
+12-21src/middlewared/middlewared/plugins/directoryservices.py
+6-6src/middlewared/middlewared/plugins/smb_/constants.py
+5-5tests/api2/test_430_smb_sharesec.py
+5-5src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+1-4src/middlewared/middlewared/plugins/system_dataset/hierarchy.py
+29-986 files not shown
+37-10712 files

LLVM/project 1235409llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine/X86 shuffle-of-intrinsics.ll

[VectorCombine] foldShuffleOfIntrinsics - support multiple uses of shuffled ops (#173183)

Fixes #173037

Remove the `m_OneUse` restriction in `foldShuffleOfIntrinsics` and
update the cost model to account for additional uses of the original intrinsics.
DeltaFile
+82-0llvm/test/Transforms/VectorCombine/X86/shuffle-of-intrinsics.ll
+11-4llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+93-42 files

HardenedBSD/ports 259b723devel/electron39/files yarn.lock package.json, devel/electron39/files/packagejsons yarn.lock package.json

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+14,606-0devel/electron39/files/packagejsons/yarn.lock
+0-8,361devel/electron39/files/yarn.lock
+85-1,349editors/imhex/pkg-plist
+942-0devel/electron39/files/packagejsons/.yarn/releases/yarn-4.12.0.cjs
+155-0devel/electron39/files/packagejsons/package.json
+0-138devel/electron39/files/package.json
+15,788-9,84843 files not shown
+16,264-10,22649 files

LLVM/project 06d90fdclang-tools-extra/clang-doc JSONGenerator.cpp Serialize.cpp, clang-tools-extra/clang-doc/assets clang-doc-mustache.css

[clang-doc] Add navigation via namespaces
DeltaFile
+91-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+33-5clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
+29-3clang-tools-extra/test/clang-doc/namespace.cpp
+29-0clang-tools-extra/clang-doc/Serialize.cpp
+14-0clang-tools-extra/clang-doc/Representation.h
+12-0clang-tools-extra/test/clang-doc/basic-project.mustache.test
+208-97 files not shown
+246-1313 files

LLVM/project 9892870lldb/packages/Python/lldbsuite/test/tools/lldb-dap dap_server.py lldbdap_testcase.py

[lldb-dap][test] Add Python 3.8 compatibility for test suite (#173264)

Python 3.8 does not support subscriptable built-in types (dict[int],
list[str], etc.) without importing annotations from __future__.
This change adds `annotations` imports and handles missing API
functions.
DeltaFile
+8-1lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
+3-0lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
+11-12 files

LLVM/project b359616llvm/include/llvm/Analysis DXILResource.h, llvm/lib/Target/DirectX DXILMemIntrinsics.cpp

[DirectX] Resources and simple GEP traversal in DXILMemIntrinsics (#173054)

Walk through GEPs and recognize resource target extension types when
trying to infer the underlying types of memory intrinsics.
DeltaFile
+106-0llvm/test/CodeGen/DirectX/MemIntrinsics/memcpy-pointee.ll
+52-13llvm/lib/Target/DirectX/DXILMemIntrinsics.cpp
+8-0llvm/include/llvm/Analysis/DXILResource.h
+166-133 files

LLVM/project 22a89b9llvm/test/CodeGen/AArch64 sve-lrint.ll sve-llrint.ll, llvm/test/CodeGen/AMDGPU rsq.f64.ll amdgpu-codegenprepare-fdiv.f64.ll

rebase

Created using spr 1.3.5-bogner
DeltaFile
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+714-6llvm/test/CodeGen/AMDGPU/GlobalISel/fma.ll
+200-209llvm/test/CodeGen/AArch64/sve-lrint.ll
+200-209llvm/test/CodeGen/AArch64/sve-llrint.ll
+306-56llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fdiv.f64.ll
+160-167llvm/test/CodeGen/AArch64/sve-fixed-vector-lrint.ll
+6,112-3,842194 files not shown
+8,221-4,893200 files

LLVM/project c60e63fllvm/test/CodeGen/AArch64 sve-lrint.ll sve-llrint.ll, llvm/test/CodeGen/AMDGPU rsq.f64.ll amdgpu-codegenprepare-fdiv.f64.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5-bogner

[skip ci]
DeltaFile
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+714-6llvm/test/CodeGen/AMDGPU/GlobalISel/fma.ll
+200-209llvm/test/CodeGen/AArch64/sve-lrint.ll
+200-209llvm/test/CodeGen/AArch64/sve-llrint.ll
+306-56llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fdiv.f64.ll
+160-167llvm/test/CodeGen/AArch64/sve-fixed-vector-lrint.ll
+6,112-3,842194 files not shown
+8,221-4,893200 files

LLVM/project fe16fe0llvm/include/llvm/IR Attributes.h Argument.h, llvm/lib/AsmParser LLParser.cpp

update

Created using spr 1.3.7
DeltaFile
+19-11llvm/lib/AsmParser/LLParser.cpp
+21-9llvm/lib/IR/Attributes.cpp
+7-6llvm/include/llvm/IR/Attributes.h
+7-2llvm/test/Bitcode/attributes.ll
+3-3llvm/test/Transforms/DeadStoreElimination/simple.ll
+4-2llvm/include/llvm/IR/Argument.h
+61-337 files not shown
+71-4013 files

LLVM/project 4c88966llvm/docs LangRef.rst, llvm/include/llvm/IR Attributes.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+32-16llvm/lib/AsmParser/LLParser.cpp
+43-0llvm/lib/IR/Attributes.cpp
+13-0llvm/include/llvm/IR/Attributes.h
+7-0llvm/test/Bitcode/dead-on-return-upgrade.ll
+3-4llvm/lib/IR/Function.cpp
+4-2llvm/docs/LangRef.rst
+102-2211 files not shown
+133-3017 files

LLVM/project 3ed27e9llvm/include/llvm/IR Attributes.h Function.h, llvm/lib/AsmParser LLParser.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+31-0llvm/lib/IR/Attributes.cpp
+15-7llvm/lib/AsmParser/LLParser.cpp
+12-0llvm/include/llvm/IR/Attributes.h
+3-4llvm/lib/IR/Function.cpp
+7-0llvm/test/Bitcode/dead-on-return-upgrade.ll
+6-0llvm/include/llvm/IR/Function.h
+74-1111 files not shown
+96-2417 files

LLVM/project c3678c4clang/include/clang/Frontend CompilerInstance.h, clang/lib/CodeGen BackendUtil.cpp

Reland "[Clang] Load pass plugins before parsing LLVM options" (#171868)

This permits pass plugins to use llvm::cl::opt. Additionally, add a test
of -fpass-plugin, this was previously not tested at all.

I'm not sure whether using the LLVM Bye.so in the tests is possible this
way (e.g., if Clang is built standalone).

Reland after #173279.

Pull Request: https://github.com/llvm/llvm-project/pull/173287
DeltaFile
+3-10clang/lib/CodeGen/BackendUtil.cpp
+12-0clang/include/clang/Frontend/CompilerInstance.h
+11-0clang/lib/Frontend/CompilerInstance.cpp
+10-0clang/test/CodeGen/pass-plugins.c
+7-1clang/test/CMakeLists.txt
+2-0clang/test/lit.cfg.py
+45-112 files not shown
+47-118 files

FreeNAS/freenas 4794df0src/middlewared/middlewared/plugins/account_ constants.py, src/middlewared/middlewared/utils privilege_constants.py

NAS-139060 / 25.10.2 / Eliminate some duplication gid definitions. (by mgrimesix) (#17895)

Automatic cherry-pick failed. Please resolve conflicts by running:

    git reset --hard HEAD~1
    git cherry-pick -x d133771324a48226fb5e7cdb117f4bb77ee7aa68

If the original PR was merged via a squash, you can just cherry-pick the
squashed commit:

    git reset --hard HEAD~1
    git cherry-pick -x f40ae0ef0a6a1314d04e23e251fdebee3299dafa

We want to avoid duplicated definitions.  
This PR expands the LocalAdminGroups enum class to cover the GIDS
specified in ALLOWED_BUILTIN_GIDS.

Backport is requested to avoid using hardcoded GIDs in some in-progress
work that will be backports.

    [3 lines not shown]
DeltaFile
+9-6src/middlewared/middlewared/plugins/account_/constants.py
+7-0src/middlewared/middlewared/utils/privilege_constants.py
+16-62 files

LLVM/project 6778f0dmlir/test/Integration/GPU/CUDA dump-ptx.mlir, mlir/test/Integration/GPU/CUDA/sm90/transform-dialect tma_load_64x8_8x128_noswizzle-transform.mlir

[MLIR][NVVM][Tests]: Update FileCheck primitives (#173252)

This patch updates a few FileCheck primitives for the TMA test
to use CHECK-PTX-DAG instead of CHECK-PTX to accommodate
a slightly different ordering of BB's.

The dump-ptx integration test fails when the PTX is generated
through nvcc (intermediates) from public toolkit. This patch fixes
it by allowing regex strings from both the backends.

Signed-off-by: Durgadoss R <durgadossr at nvidia.com>
DeltaFile
+4-4mlir/test/Integration/GPU/CUDA/sm90/transform-dialect/tma_load_64x8_8x128_noswizzle-transform.mlir
+2-2mlir/test/Integration/GPU/CUDA/dump-ptx.mlir
+6-62 files

LLVM/project 877df9ellvm/include/llvm/CodeGen ISDOpcodes.h, llvm/include/llvm/Target TargetSelectionDAG.td

[SelectionDAG] Make SSHLSAT/USHLSAT obey getShiftAmountTy(). (#173216)

Treat these like other shift operations by allowing the shift amount to
be a different type than the result.

The PromoteIntOp_Shift and LegalizeDAG code are not tested due to lack
of target support.

I'm looking at adding SSHLSAT for the RISC-V P extension. I don't need
this support for that since RISC-V only has one legal type. I just thought it
was odd that they weren't like other shifts.
DeltaFile
+17-7llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+7-5llvm/include/llvm/CodeGen/ISDOpcodes.h
+7-2llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+4-2llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+2-2llvm/include/llvm/Target/TargetSelectionDAG.td
+1-2llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+38-203 files not shown
+42-229 files

FreeNAS/freenas e17e2e3src/middlewared/middlewared/plugins truesearch.py, src/middlewared/middlewared/pytest/unit/plugins test_truesearch.py

NAS-138961 / 26.04 / Fix truesearch crash when legacy mountpoints are present (#17874)

DeltaFile
+30-0src/middlewared/middlewared/pytest/unit/plugins/test_truesearch.py
+6-5src/middlewared/middlewared/plugins/truesearch.py
+36-52 files

FreeNAS/freenas ba4135bsrc/middlewared/middlewared event.py

NAS-139021 / 25.10.2 / Prevent reporting.realtime event being automatically unsubscribed (by themylogin) (#17896)

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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+10-1src/middlewared/middlewared/event.py
+10-11 files

FreeNAS/freenas 3fda4ebsrc/middlewared/middlewared event.py

NAS-139021 / 26.04 / Prevent reporting.realtime event being automatically unsubscribed (#17876)

DeltaFile
+10-1src/middlewared/middlewared/event.py
+10-11 files

LLVM/project e2956felibc/cmake/modules LLVMLibCCompileOptionRules.cmake, libc/config config.json

[libc][math] Add LIBC_CONF_MATH_USE_SYSTEM_FENV / LIBC_MATH_USE_SYSTEM_FENV (#172902)

This is to allow math function implementations to use system libc's
fenv.h instead of internal fenv implementations.
DeltaFile
+47-0libc/src/__support/FPUtil/FEnvImpl.h
+8-0libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+5-1libc/config/config.json
+5-0libc/shared/libc_common.h
+4-0libc/test/UnitTest/FEnvSafeTest.cpp
+2-1libc/docs/configure.rst
+71-235 files not shown
+141-241 files

LLVM/project 55b9b60llvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

Rebased to include PAuth+Memtag composition

Created using spr 1.3.5
DeltaFile
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+6,871-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-load.ll
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+39,671-9,5945,441 files not shown
+301,623-121,7355,447 files

LLVM/project 5d3f664llvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+6,871-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-load.ll
+5,963-0llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+39,671-9,5945,441 files not shown
+301,633-121,7395,447 files

LLVM/project c6d0f79lld/ELF Relocations.cpp SyntheticSections.h, lld/test/ELF aarch64-pauth-rela-iplt-end.s

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.5

[skip ci]
DeltaFile
+22-25lld/ELF/Relocations.cpp
+34-5lld/ELF/SyntheticSections.h
+20-0lld/test/ELF/aarch64-pauth-rela-iplt-end.s
+3-14lld/ELF/Writer.cpp
+5-1lld/ELF/SyntheticSections.cpp
+84-455 files