FreeNAS/freenas ae63e84 — src/middlewared/middlewared/plugins/webshare utils.py fs_attachment_delegate.py

Convert `sharing.webshare` to new style
DeltaFile
+15-182src/middlewared/middlewared/plugins/webshare/sharing.py
+133-0src/middlewared/middlewared/plugins/webshare/sharing_validate.py
+83-0src/middlewared/middlewared/plugins/webshare/sharing_crud.py
+29-0src/middlewared/middlewared/plugins/webshare/fs_attachment_delegate.py
+6-0src/middlewared/middlewared/plugins/webshare/utils.py
+266-1825 files

LLVM/project 8c9e29b — clang/test/Analysis nonreturn-destructors-cfg-output.cpp lifetime-end-simple-cfg-output.cpp

Remove cfg-lifetime from RUN lines in test files.
DeltaFile
+1-1clang/test/Analysis/nonreturn-destructors-cfg-output.cpp
+1-1clang/test/Analysis/lifetime-end-simple-cfg-output.cpp
+1-1clang/test/Analysis/lifetime-end-path-notes.cpp
+1-1clang/test/Analysis/lifetime-cfg-output.cpp
+1-1clang/test/Analysis/lifetime-bound.cpp
+1-1clang/test/Analysis/exprwithcleanups-lifetime-marker-cfg.cpp
+6-62 files not shown
+7-88 files

LLVM/project ce11f15 — llvm/include/llvm/Bitcode LLVMBitCodes.h, llvm/include/llvm/IR FunctionLocalMetadata.h

[DebugInfo][FLMD] Add bitcode printing/parsing for function context

This patch adds support for bitcode printing/parsing for
MDFunctionLocalContext. This is an unusual entry in that it contains
multiple variable-length arrays, and collectively comprises a potentially
very large (technically up to ~2^32, realistically >10000 is possible)
number of records. There is no abbreviation, since the existing
abbreviation mechanism does not easily translate to this case.

Also unique is that, as with the LLParser, we use a custom forward
reference resolution. In this case, we track the metadata IDs rather than
maintaining a TrackingMDRef, and resolve these at the general metadata
resolution step, where the MetadataList has been finalized.
DeltaFile
+133-0llvm/lib/Bitcode/Reader/MetadataLoader.cpp
+118-0llvm/test/Bitcode/flmd-context.ll
+68-18llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
+29-1llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+1-0llvm/include/llvm/IR/FunctionLocalMetadata.h
+1-0llvm/include/llvm/Bitcode/LLVMBitCodes.h
+350-196 files

LLVM/project 8c5407b — lldb/test/API/tools/lldb-dap/server TestDAP_server.py, lldb/test/Shell/DAP TestPrivateSymbols.test

[lldb-dap] Don't share liblldb's log channels (#235767)

lldb-dap links its own copies of lldbHost and lldbUtility, but liblldb
was listed first, so the few private symbols liblldb exports for the
script interpreter plugins bound there.

One of them is LogChannels, lldb-dap's copy of the code used liblldb's
"lldb" log channel. So in server mode, `log enable lldb comm` logged
lldb-dap's own socket writes, into the debugger's output.

Every debugger's output is sent to the client. Each sent output to the
client in turn creates a new `comm log` to the debugger's output. The
lines circulated forever. Once the pipe was full, the main loop, its
only reader, blocked writing to it while holding the log mutex, and the
server hung on shutdown in DAP::Disconnect.

`log enable lldb comm` from the client console is enough to trigger the
loop in server mode.


    [3 lines not shown]
DeltaFile
+22-0lldb/test/API/tools/lldb-dap/server/TestDAP_server.py
+4-15lldb/tools/lldb-dap/DAP.cpp
+5-0lldb/test/Shell/DAP/TestPrivateSymbols.test
+31-153 files

NetBSD/pkgsrc-wip 85f6aa0 — . Makefile

wip/licasa: import licasa-0.8.1

Licasa is an image viewer and editor for the Linux desktop inspired
by Google's Picasa Photo Viewer. It opens a photo from your file
manager in an image-sized fullscreen window or in a floating mode.
DeltaFile
+1-0Makefile
+1-01 files

NetBSD/pkgsrc-wip 9ae9c29 — licasa DESCR distinfo

wip/licasa: import licasa-0.8.1

Licasa is an image viewer and editor for the Linux desktop inspired
by Google's Picasa Photo Viewer. It opens a photo from your file
manager in an image-sized fullscreen window or in a floating mode.
DeltaFile
+21-0licasa/Makefile
+7-0licasa/PLIST
+5-0licasa/distinfo
+3-0licasa/DESCR
+36-04 files

LLVM/project 4f8df93 — clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

[clang] Fix an MSVC diagnostic with fully covered switches; NFC (#236222)
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project 9d6afbd — llvm/include/llvm/Frontend/Directive Version.h, llvm/include/llvm/Frontend/OpenMP OMPVersion.h

[OpenMP] Unify Version with directive::VersionRange

The limits of VersionRange will now be represented as Versions,
not int values.
DeltaFile
+74-0llvm/include/llvm/Frontend/Directive/Version.h
+25-23llvm/unittests/Frontend/OpenACCTest.cpp
+3-44llvm/include/llvm/Frontend/OpenMP/OMPVersion.h
+18-21llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
+14-12llvm/test/TableGen/directive1.td
+13-11llvm/test/TableGen/directive2.td
+147-1118 files not shown
+169-15314 files

LLVM/project 1165b62 — llvm/include/llvm/Frontend/Directive Version.h

Update llvm/include/llvm/Frontend/Directive/Version.h

Co-authored-by: Tarun Prabhu <tarun at lanl.gov>
DeltaFile
+1-1llvm/include/llvm/Frontend/Directive/Version.h
+1-11 files

LLVM/project 952e160 — flang/include/flang/Parser openmp-utils.h, flang/lib/Parser openmp-utils.cpp

[OpenMP] Switch the underlying type of llvm::omp::Version to int

It was unsigned before. The goal is to unify Version and VersionRange,
and VersionRange stores versions as int.
DeltaFile
+1-1llvm/include/llvm/Frontend/OpenMP/OMPVersion.h
+1-1flang/lib/Parser/openmp-utils.cpp
+1-1flang/include/flang/Parser/openmp-utils.h
+3-33 files

LLVM/project 2566fe6 — flang/lib/Frontend CompilerInvocation.cpp, flang/lib/Parser openmp-utils.cpp

[OpenMP] Replace cast operator with member function (#236088)

Replace the explicit cast operator to the underlying type in
llvm::omp::Version with a member function "value()" that returns
the underlying value.
DeltaFile
+9-2llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
+3-4flang/lib/Frontend/CompilerInvocation.cpp
+2-3llvm/unittests/Frontend/OpenMPDirectiveNameParserTest.cpp
+2-3llvm/include/llvm/Frontend/OpenMP/OMPVersion.h
+2-3flang/lib/Semantics/openmp-utils.cpp
+1-2flang/lib/Parser/openmp-utils.cpp
+19-174 files not shown
+23-2310 files

OPNSense/core 0eda48b — src/opnsense/mvc/app/controllers/OPNsense/IDS/Api SettingsController.php

suricata: add config locking during rule updates (#11101)
DeltaFile
+3-0src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php
+3-01 files

LLVM/project 4db9a5d — clang-tools-extra/clang-tidy/modernize MakeSmartPtrCheck.cpp, clang-tools-extra/docs ReleaseNotes.md

[clang-tidy] Fix false positive in modernize-make-unique (#229802)

It is not valid to turn

    struct P {};
    struct S : P { private: ~S(); };
    std::unique_ptr<P> p;
    void foo() { p.reset(new S); }

into

    void foo() { p = std::make_unique<S>(); }

because the destructor of S is private, so it's illegal to create a
temporary unique_ptr from it.
DeltaFile
+88-0clang-tools-extra/test/clang-tidy/checkers/modernize/make-unique-inaccessible-dtors.cpp
+22-2clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
+4-0clang-tools-extra/docs/ReleaseNotes.md
+114-23 files

LLVM/project 5e1a49c — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/AArch64 abdu.ll neon-abd.ll

[SelectionDAG] Don't always use abs(sub) when expanding abdu (#235043)

`TargetLowering::expandABD` expands `abd(a, b)` to `abs(sub(a, b))` when
`willNotOverflowSub` says the sub can't overflow. For `abdu` without
known
non-negative operands, this checks for unsigned overflow, which only
proves
`a >= b (unsigned)`, so `abdu(a, b) == sub(a, b)`. adding abs around it
is wrong, when the
difference is greater than INT_MAX, e.g. `abdu(lshr(x, 1), or(y,
INT_MIN))`.

Keep abs(sub) for the signed check (abds, or abdu with non-negative
operands) and use just sub when abdu and `a >= b`.

Fixes #233087.

(cherry picked from commit f16dbe0ec4b653736148c78bebdefcfe1c88198e)
DeltaFile
+102-0llvm/test/CodeGen/X86/abdu-vector-128.ll
+57-0llvm/test/CodeGen/AArch64/neon-abd.ll
+36-0llvm/test/CodeGen/X86/abdu.ll
+25-0llvm/test/CodeGen/ARM/abdu.ll
+11-7llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+16-0llvm/test/CodeGen/AArch64/abdu.ll
+247-76 files

LLVM/project ed2ba7d — clang/lib/StaticAnalyzer/Checkers StackUseAfterScope.cpp

Run clang-format on StackUseAfterScope.
DeltaFile
+4-4clang/lib/StaticAnalyzer/Checkers/StackUseAfterScope.cpp
+4-41 files

LLVM/project 8841eb9 — clang/docs/analyzer checkers.md

Remove capital letters and the old checker name.
DeltaFile
+3-3clang/docs/analyzer/checkers.md
+3-31 files

LLVM/project 5d6ea1a — clang/test/Analysis checker-order-in-dump.cpp

Update the checker name correctly in the test file.
DeltaFile
+2-2clang/test/Analysis/checker-order-in-dump.cpp
+2-21 files

LLVM/project e0d240b — clang-tools-extra/clangd ClangdServer.cpp

[clangd] Fix an MSVC diagnostic with fully covered switches; NFC (#236224)
DeltaFile
+1-0clang-tools-extra/clangd/ClangdServer.cpp
+1-01 files

LLVM/project 99faae5 — clang/docs/analyzer checkers.md, clang/include/clang/StaticAnalyzer/Checkers Checkers.td

[analyzer] Rename DanglingPtrDeref to StackUseAfterScope and move it to core
DeltaFile
+0-346clang/test/Analysis/dangling-ptr-deref.cpp
+346-0clang/test/Analysis/stack-use-after-scope.cpp
+0-124clang/lib/StaticAnalyzer/Checkers/DanglingPtrDeref.cpp
+124-0clang/lib/StaticAnalyzer/Checkers/StackUseAfterScope.cpp
+56-56clang/docs/analyzer/checkers.md
+10-10clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
+536-5365 files not shown
+543-54011 files

LLVM/project ecf9bb2 — llvm/include/llvm/Support Allocator.h

[Allocator] Cap MinAlign at alignof(max_align_t) (#235373)

alignof(std::max_align_t) is 4 on NetBSD/i386, whose <stddef.h> defines
max_align_t as a union of void *, long double, and long long.

Fix #230782

(cherry picked from commit 0b6b6ed806536c1b170101061ff3eeed91c8f061)
DeltaFile
+1-1llvm/include/llvm/Support/Allocator.h
+1-11 files

LLVM/project 5c744e1 — lld/ELF SyntheticSections.h

[lld][ELF] Use size_t for getNumSymbols return type (#230760)

Fix 32-bit overflow in `SymbolTableBaseSection::getSize` by changing
`getNumSymbols` to return size_t.

The overflow happens in a real large binary with 258 million symbols.
With 24-byte ELF64 symbol entries, the symbol table size exceeds 4GiB.
DeltaFile
+1-1lld/ELF/SyntheticSections.h
+1-11 files

LLVM/project 3f65373 — llvm/lib/Target/AMDGPU SIISelLowering.cpp SIFoldOperands.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h AMDGPUBaseInfo.cpp

[AMDGPU] Fix packed bf16 inline constant folding with op_sel (#233292)

On targets with BF16InlineConstFromUpperFP32, a bf16 inline constant C
is materialized as the equivalent fp32 value, so the operand reads as
{hi: C, lo: +0.0}. op_sel/op_sel_hi can only pick C or +0.0 for each
half, making <C, C>, <C, +0.0> and <+0.0, C> exactly the foldable immediates.
Handle them up front in tryFoldImmWithOpSel() instead of disabling the
generic op_sel paths: previously <C, +0.0> was folded without the op_sel
bits that steer C into the low lane, and <+0.0, C> was not folded at all.
    
An integer inline constant is sign-extended instead of taken from the
upper fp32 half, so it reads as {hi: 0 or 0xFFFF, lo: C} and needs the
opposite op_sel. Handle that too; only a half wanting the sign extension of a
negative constant has no encoding and is turned away.
    
This also makes the SCALAR_TO_VECTOR splat combine (#227479) redundant,
so remove it. Scalar bf16 ops now get their inline constant through op_sel
as well, leaving +0.0 in the dead high lane.
    
Fixes: ROCM-32187
DeltaFile
+421-90llvm/test/CodeGen/AMDGPU/bf16-inline-const-opsel.ll
+38-11llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+42-0llvm/test/CodeGen/AMDGPU/bf16-inline-int-const-opsel.mir
+0-12llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+5-1llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+2-2llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+508-1166 files

LLVM/project 8ceacf8 — llvm/lib/Transforms/Vectorize VPlanUtils.h VPlanRecipes.cpp

[VPlan] Avoid recursive-fan-out of usesFirstLaneOnly (NFC) (#229130)

This fixes compile-time for the original slow case mentioned in #228403,
without affecting compile-time for smaller cases.

Ref:
https://github.com/llvm/llvm-project/pull/220730#issuecomment-5992802596.
Fixes #228403.

Co-authored-by: Florian Hahn <flo at fhahn.com>
(cherry picked from commit 7a1922aff2176215675b94bb1b3dca331eda2d9a)
DeltaFile
+34-2llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+4-16llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+6-2llvm/lib/Transforms/Vectorize/VPlanUtils.h
+44-203 files

LLVM/project 94467ed — flang/lib/Semantics check-omp-loop.cpp, flang/test/Lower/OpenMP declare-simd.f90

[flang][OpenMP] Fix verification of REF modifier on LINEAR clause (#232367)

The OpenMP spec has a bug: the restriction should read
> If linear-modifier is ref, list items must not be polymorphic variables,
> assumed-shape arrays, or variables with the ALLOCATABLE attribute.

---------

Co-authored-by: Markus Mützel <markus.muetzel at gmx.de>
(cherry picked from commit 53d096bbf31d12fddbbe2508b7f80bab9628430d)
DeltaFile
+21-1flang/test/Semantics/OpenMP/linear-clause01.f90
+4-4flang/test/Lower/OpenMP/declare-simd.f90
+3-3flang/lib/Semantics/check-omp-loop.cpp
+2-2flang/test/Semantics/OpenMP/simd-linear-array.f90
+1-1flang/test/Semantics/OpenMP/linear-clause03.f90
+31-115 files

LLVM/project 093145f — clang/lib/Driver/ToolChains OpenBSD.h OpenBSD.cpp, clang/test/Driver openbsd.cpp

[clang][Driver] Fix libc++ include path on OpenBSD (#212979)

`clang++` defaults to `-stdlib=libc++` on OpenBSD. When building with both
`clang` and `libcxx` included, the freshly built `clang++` uses the system
version of the `libc++` headers. However, this is from the bundled `libc++`
22.1.8, thus inconsistent with the `libc++` being built.

OpenBSD has its own version of addLibCxxIncludePaths which just includes
`/usr/include/c++/v1`.

This patch removes OpenBSD::addLibCxxIncludePaths in favour of the generic
version in `Gnu.cpp`.

(cherry picked from commit 1204f6b4e9d6bef8ec319d121942dca5cbf94a26)
DeltaFile
+12-2clang/test/Driver/openbsd.cpp
+0-6clang/lib/Driver/ToolChains/OpenBSD.cpp
+0-3clang/lib/Driver/ToolChains/OpenBSD.h
+12-113 files

LLVM/project 7ddf6cc — llvm/lib/Transforms/Scalar TailRecursionElimination.cpp, llvm/test/Transforms/TailCallElim accum_recursion.ll

[TailCallElim] Drop poison-generating attributes and metadata from accumulator (#233527)

When accumulator recursion elimination rewrites the accumulator
instruction to use the accumulator PHI (and clones it at each return in
`cleanupAndFinalize()`), its operands change, so poison-generating
annotations derived from the original operands may no longer hold. Only
flags were dropped so far (#200624); return attributes like `range()`
and metadata like `!range` were kept.

In the reproducer from the issue, `umax(%r, 1)` carries `range(i8 1,
3)`, and the per-return copy `umax(%accumulator.tr, %k)` kept it
although it can return 0, so `-O2` inferred `range(i8 1, 3)` for the
whole function (miscompiling the Rust code linked in the issue).

This patch uses `dropPoisonGeneratingAnnotations()` instead of
`dropPoisonGeneratingFlags()`.

Fixes #233085

(cherry picked from commit 21c1bcd7059ca56dee6bc377e60a06a3b18a1d69)
DeltaFile
+36-0llvm/test/Transforms/TailCallElim/accum_recursion.ll
+4-3llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
+40-32 files

LLVM/project 6f1aa07 — clang/docs/analyzer checkers.md

remove the cfg-lifetime prerequisite note from the documentation.
DeltaFile
+0-4clang/docs/analyzer/checkers.md
+0-41 files

LLVM/project 0ba5c57 — llvm/lib/Target/X86 X86FrameLowering.cpp, llvm/test/CodeGen/X86 avx512-intel-ocl.ll avx512-regcall-Mask.ll

[X86] Clamp callee-saved spill slot alignment to the stack alignment (#235883)

Callee-saved spill slots are fixed relative to the incoming stack pointer,
so aligning them beyond the stack alignment cannot make their addresses
more aligned: it only adds padding and raises MaxAlign, which can realign
the stack. X86 used the generic slot assignment in PrologEpilogInserter,
which clamps the alignment, until 4a01230db47e (D4081) added the X86
override without the clamp, so YMM/ZMM slots have been over-aligned since.

Assisted-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+158-158llvm/test/CodeGen/X86/x86-interrupt_cc.ll
+8-8llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
+6-6llvm/test/CodeGen/X86/avx512-regcall-Mask.ll
+4-4llvm/test/CodeGen/X86/avx512-intel-ocl.ll
+3-1llvm/lib/Target/X86/X86FrameLowering.cpp
+179-1775 files

FreeBSD/ports 3e61b16 — sysutils/cni-epair Makefile distinfo

sysutils/cni-epair: Update to 1.2.0

Containers can now join a VLAN of a bridge with vlanfilter, set per
network in the epair plugin block (vlan, taggedVlans).

Changes:        https://github.com/daemonless/cni-epair/releases/tag/v1.2.0
PR:             300139
Approved by:    acm (mentor)
DeltaFile
+3-3sysutils/cni-epair/distinfo
+1-1sysutils/cni-epair/Makefile
+4-42 files

FreeNAS/freenas 95a9385 — src/middlewared/middlewared/plugins/ups upssched_event.py utils.py

Use `alert.oneshot_replace` to atomically manage UPS alerts
DeltaFile
+7-3src/middlewared/middlewared/plugins/ups/__init__.py
+1-3src/middlewared/middlewared/plugins/ups/upssched_event.py
+4-0src/middlewared/middlewared/plugins/ups/utils.py
+12-63 files