LLVM/project 651037b — llvm/lib/Remarks YAMLRemarkParser.cpp YAMLRemarkParser.h, llvm/unittests/Remarks YAMLRemarksParsingTest.cpp

[Remarks] Parse YAML hotness as a 64-bit count (#243469)

We hit a parse error when reading YAML remarks with `Hotness` above
`UINT32_MAX`. The parser reads it as `unsigned`, rejecting valid 64-bit
counts. Parse `Hotness` as `uint64_t` to match `Remark::Hotness` and the
YAML serializer, while keeping debug-location fields as `unsigned`.

Add 3 unit tests to the existing YAML parser tests:

- Hotness = 2^32 / UINT64_MAX -> parsed without truncation
- Hotness = 2^64 -> rejected
- DebugLoc.Line = 2^32 -> rejected

Tested on Linux x86-64, Release build with assertions enabled:

- The 64-bit Hotness test fails before the fix for both 2^32 and
UINT64_MAX.
- All 52 Remarks unit tests pass after the fix.
- Hotness = 2^64 and DebugLoc.Line = 2^32 remain rejected.

    [3 lines not shown]
DeltaFile
+34-0llvm/unittests/Remarks/YAMLRemarksParsingTest.cpp
+17-2llvm/lib/Remarks/YAMLRemarkParser.h
+1-12llvm/lib/Remarks/YAMLRemarkParser.cpp
+52-143 files

FreeBSD/ports 6923863 — net/py-python-socks Makefile distinfo

net/py-python-socks: Update to 3.2.2
DeltaFile
+3-3net/py-python-socks/distinfo
+1-2net/py-python-socks/Makefile
+4-52 files

FreeBSD/ports d37335f — security/py-pwntools Makefile distinfo

security/py-pwntools: Update to 4.15.1
DeltaFile
+3-3security/py-pwntools/distinfo
+1-2security/py-pwntools/Makefile
+4-52 files

LLVM/project 2bee3e3 — compiler-rt/lib/scudo/standalone combined.h secondary.h, compiler-rt/lib/scudo/standalone/tests secondary_test.cpp

[scudo] Clean up zero on deallocate change. (#244070)

Instead of having a separate bool for Zero in the secondary cache entry,
use the already existing Flags instead.

Fix bug where a secondary cache entry is zeroed by releasing to the
kernel, but the entry was not marked as being zeroed. Update the test
for this since it was wrong too.

Move the zeroing of the entry so that if the secondary quarantine is
enabled, the entry is zeroed before being put in quarantine.
Move the zeroing outside of the lock when zero on deallocate is enabled.

Use the ClassId value in combined.h instead of using Header->ClassId.

BUG=b:581873117
BUG=b:582375770
DeltaFile
+17-11compiler-rt/lib/scudo/standalone/secondary.h
+8-9compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
+1-2compiler-rt/lib/scudo/standalone/combined.h
+26-223 files

FreeBSD/src 2db63f8 — contrib/elftoolchain/libdwarf dwarf.h dwarf_dump.c

MFC: libdwarf: standard DWARF 5 form names, DW_LANG_C17 and C23

7bb441c86678 added the fixed-size string and address index forms
0x25 to 0x2c as DW_FORM_ref_strx1..4 and DW_FORM_ref_addrx1..4; the
standard (DWARF 5, table 7.6) names them DW_FORM_strx1..4 and
DW_FORM_addrx1..4, with no "ref".  Rename them, keep the old spellings
as aliases since the header is installed, and update dwarf_dump.c's
form names accordingly.  Add DW_LANG_C17 (0x2c) and DW_LANG_C23 (0x3e),
which clang emits for -std=c17 and -std=c23 units.  ctfconv(1) needs
all of these; it carried them in a private header until now.

Reviewed by:    markj, emaste
Differential Revision: https://reviews.freebsd.org/D61154

(cherry picked from commit f22d65998fe15b6bed9c8c3a2eede25c706837e1)
DeltaFile
+16-16contrib/elftoolchain/libdwarf/dwarf_dump.c
+19-8contrib/elftoolchain/libdwarf/dwarf.h
+35-242 files

FreeBSD/src a0e9782 — sys/contrib/zlib gzwrite.c inflate.c

MFC: MFV: zlib 1.4

(cherry picked from commit 724bb39e83e369209d8e42a52370684b82e26350)
DeltaFile
+100-41sys/contrib/zlib/gzread.c
+73-37sys/contrib/zlib/deflate.c
+44-33sys/contrib/zlib/zlib.h
+37-37sys/contrib/zlib/gzlib.c
+43-13sys/contrib/zlib/inflate.c
+40-8sys/contrib/zlib/gzwrite.c
+337-16917 files not shown
+452-19723 files

LLVM/project 483d43f — flang/include/flang/Utils OpenMP.h, flang/lib/Optimizer/OpenMP DoConcurrentConversion.cpp

[flang][OpenMP][NFC] Move DoConcurrent live-in/target-op helpers into shared utils
DeltaFile
+8-341flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp
+309-0flang/lib/Utils/OpenMP.cpp
+55-0flang/include/flang/Utils/OpenMP.h
+1-0flang/lib/Utils/CMakeLists.txt
+373-3414 files

LLVM/project ddd2bce — libc/src/sys/mount/linux mount.cpp CMakeLists.txt, libc/test/src/sys/mount CMakeLists.txt mount_test.cpp

[libc] implement sys/mount.h (#244047)

The mount header is for mounting and unmounting filesystems. This PR
adds mount, umount, and umount2, plus tests. Tests are pretty minimal
since we generally can't and don't want to mount or unmount random
files.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+65-0libc/test/src/sys/mount/umount_test.cpp
+65-0libc/test/src/sys/mount/umount2_test.cpp
+60-0libc/test/src/sys/mount/mount_test.cpp
+55-0libc/test/src/sys/mount/CMakeLists.txt
+44-0libc/src/sys/mount/linux/CMakeLists.txt
+37-0libc/src/sys/mount/linux/mount.cpp
+326-018 files not shown
+648-2324 files

NetBSD/pkgsrc-wip 99795d1 — py-ksef2 Makefile distinfo

py-ksef2: update to 1.3.0
DeltaFile
+939-667py-ksef2/PLIST
+3-3py-ksef2/distinfo
+1-1py-ksef2/Makefile
+943-6713 files

LLVM/project c078d7b — clang CMakeLists.txt

[Clang][CMake] Support MinGW in CLANG_ENABLE_BOOTSTRAP (#242849)

When bootstrapping Clang with a MinGW toolchain on Windows (`WIN32` and
`MINGW` are both true), `clang/CMakeLists.txt` currently assumes `WIN32`
implies an MSVC-like toolchain:

- Use `clang${CMAKE_EXECUTABLE_SUFFIX}` and
`clang++${CMAKE_EXECUTABLE_SUFFIX}` instead of `clang-cl.exe` when
`MINGW` is set.
- Extend the `elseif(NOT WIN32)` LTO archiver branch to `elseif((NOT
WIN32) OR MINGW)` with `${CMAKE_EXECUTABLE_SUFFIX}` (keeping `LLVMgold`
restricted to `NOT WIN32`).
- Restrict the `lld-link` `CMAKE_LINKER` override under
`BOOTSTRAP_LLVM_ENABLE_LLD` to `WIN32 AND NOT MINGW` (or cross-compiling
to `Windows`), since MinGW uses the GNU driver like Unix targets.

Tested locally on Windows with llvm-mingw (`x86_64-w64-windows-gnu`),
`CLANG_ENABLE_BOOTSTRAP=ON`, `BOOTSTRAP_LLVM_ENABLE_LLD=ON`, and
`BOOTSTRAP_LLVM_ENABLE_LTO=Thin` (`stage2-configure` and stage2
`llvm-tblgen` build succeed).
DeltaFile
+8-8clang/CMakeLists.txt
+8-81 files

LLVM/project 44debce — flang/lib/Semantics resolve-directives.cpp, flang/test/Semantics/OpenMP common-block-data-sharing.f90

[flang][OpenMP] Detect conflicting data-sharing clauses for common blocks (#213913)

Issue: Flang accepts conflicting OpenMP data-sharing when a named COMMON
and one of its members appear on the same directive (e.g. PRIVATE(/C/)
and SHARED(X)), though OpenMP treats the block as all explicit members.

Fixes #205779

Root cause
- CheckMultipleAppearances only tracked the symbol named in the clause
(block name or variable), not COMMON membership.
- Listing /C/ did not register X, Y, so a later SHARED(X) looked like a
new symbol.
- Listing X did not check whether /C/ was already in another clause.
- OpenMP 2.15.3: a named COMMON in a data-sharing clause ≡ listing every
explicit member — semantics layer did not model that.
```
common /c/ x, y
!$omp parallel private(/c/) shared(x)   ! x listed twice — should error

    [16 lines not shown]
DeltaFile
+70-0flang/test/Semantics/OpenMP/common-block-data-sharing.f90
+10-13flang/lib/Semantics/resolve-directives.cpp
+80-132 files

FreeBSD/ports 42a0217 — www/iridium Makefile.crates distinfo, www/iridium/files patch-chrome_browser_chrome__content__browser__client.cc patch-build_rust_gni__impl_cpp__api__from__rust.gni

www/iridium: update to 2027.11.172.2
DeltaFile
+163-381www/iridium/distinfo
+125-152www/iridium/files/patch-chrome_browser_about__flags.cc
+77-187www/iridium/Makefile.crates
+0-233www/iridium/files/patch-media_base_audio__bus.h
+205-0www/iridium/files/patch-build_rust_gni__impl_cpp__api__from__rust.gni
+72-72www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc
+642-1,025977 files not shown
+7,841-6,180983 files

LLVM/project f19509b — libc/src/__support/OSUtil/linux/syscall_wrappers capget.h capset.h, libc/src/sys/capability/linux capget.cpp capset.cpp

[libc] Add capability functions (#244053)

The capget and capset functions are weird, the current linux API expects
that they are provided by the system libc, but not exposed via headers.
Based on that, the lack of a yaml change is intentional.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+57-0libc/test/src/sys/capability/capset_test.cpp
+41-0libc/test/src/sys/capability/capget_test.cpp
+37-0libc/src/__support/OSUtil/linux/syscall_wrappers/capset.h
+36-0libc/src/sys/capability/linux/capget.cpp
+36-0libc/src/__support/OSUtil/linux/syscall_wrappers/capget.h
+36-0libc/src/sys/capability/linux/capset.cpp
+243-015 files not shown
+479-021 files

NetBSD/pkgsrc-wip fa276db — rust1100/patches patch-vendor_crossbeam-utils-0.8.21_no__atomic.rs patch-vendor_crossbeam-utils-0.8.20_no__atomic.rs

rust1100: remove two patches no longer needed.
DeltaFile
+0-13rust1100/patches/patch-vendor_crossbeam-utils-0.8.21_no__atomic.rs
+0-13rust1100/patches/patch-vendor_crossbeam-utils-0.8.20_no__atomic.rs
+0-262 files

FreeBSD/src c16da33 — contrib/kyua/utils datetime.cpp auto_array.hpp, contrib/kyua/utils/signals timer_test.cpp

contrib/kyua: update to 0.15.2

This change contains a few bugfixes to the test executor.

MFC after:      1 week
Merge commit 'dab80d5deaf7d998d587b99f7941890237960638'
DeltaFile
+0-312contrib/kyua/utils/auto_array_test.cpp
+0-227contrib/kyua/utils/auto_array.ipp
+117-0contrib/kyua/utils/datetime_test.cpp
+92-19contrib/kyua/utils/signals/timer_test.cpp
+0-102contrib/kyua/utils/auto_array.hpp
+88-0contrib/kyua/utils/datetime.cpp
+297-66014 files not shown
+442-77020 files

FreeBSD/src dab80d5 — utils datetime.cpp auto_array.hpp, utils/signals timer_test.cpp

kyua: import kyua-0.15.2

This change adds kyua kyua-0.15.2 from [upstream][1].

The kyua-0.15.2 artifact was been verified by [SHA256 checksum][3].

This version update contains a few bugfixes and some developer workflow changes.

More information about the release (from a high level) can be found in
the [release notes][4].

Updated via [`update_kyua.sh`][4] `update_kyua.sh 0.15.2 kyua-0.15.2`.

1: https://github.com/freebsd/kyua/releases/download/kyua-0.15.2/kyua-0.15.2.tar.gz
2: https://github.com/freebsd/kyua/releases/download/kyua-0.15.2/kyua-0.15.2.tar.gz.sha256
3: https://github.com/freebsd/kyua/blob/kyua-0.15.2/NEWS.md
4: https://codeberg.org/ngie/freebsd-powertools:shell/update_kyua.sh@10a04edb
DeltaFile
+0-312utils/auto_array_test.cpp
+0-227utils/auto_array.ipp
+117-0utils/datetime_test.cpp
+92-19utils/signals/timer_test.cpp
+0-102utils/auto_array.hpp
+88-0utils/datetime.cpp
+297-66020 files not shown
+480-84026 files

LLVM/project ae9b54f — mlir/lib/Dialect/Vector/Transforms VectorUnroll.cpp, mlir/test/Dialect/Vector vector-transfer-unroll.mlir

[mlir][vector] Unroll transfers masked by vector.mask (#239554)

`UnrollTransferReadPattern` and `UnrollTransferWritePattern` reject
transfers inside `vector.mask` (#230461). Transfers with `in_bounds =
false` unroll today, so replacing `in_bounds` with masks (#227821) would
lose this unrolling if the masks are introduced before unrolling and
survive mask elimination.

Unroll them into one `vector.mask` per tile, with the matching tile of
the mask (and passthru, if any). Both patterns now use
`MaskableOpRewritePattern`.

Limited to minor identity maps, fixed-size vectors and target shapes of
the vector's rank. The mask-operand form is left unchanged; its removal
from transfers is tracked in #239511. Other masked transfers and other
ops under `vector.mask` are still not unrolled.

After `-canonicalize`, slices of a `vector.create_mask` become per-tile
`vector.create_mask` ops. For example, with step 4 and bound 1024,

    [3 lines not shown]
DeltaFile
+105-5mlir/test/Dialect/Vector/vector-transfer-unroll.mlir
+82-24mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
+187-292 files

FreeBSD/ports d44bd07 — graphics/imlib2_loaders Makefile distinfo

graphics/imlib2_loaders: Update to 1.13.0

ChangeLog:
https://git.enlightenment.org/old/legacy-imlib2_loaders/src/branch/master/ChangeLog
DeltaFile
+3-3graphics/imlib2_loaders/distinfo
+1-1graphics/imlib2_loaders/Makefile
+4-42 files

FreeBSD/ports 33f5b40 — graphics/imlib2 Makefile distinfo

graphics/imlib2: Update to 1.13.0

ChangeLog:
https://git.enlightenment.org/old/legacy-imlib2/src/branch/master/ChangeLog
DeltaFile
+3-3graphics/imlib2/distinfo
+1-2graphics/imlib2/Makefile
+4-52 files

LLVM/project fb9f551 — clang/lib/CIR/Dialect/Transforms CIRABIClassifierAMDGPU.cpp, clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.h CIRABIRewriteContext.cpp

[CIR] Lower va_arg for AMDGPU in CallConvLowering
DeltaFile
+130-0clang/test/CIR/Transforms/abi-lowering/amdgpu-vaarg.cir
+89-0clang/test/CodeGen/AMDGPU/abi-va-arg.c
+59-13clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+4-5clang/lib/CIR/Dialect/Transforms/CIRABIClassifierAMDGPU.cpp
+1-1clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.h
+283-195 files

FreeNAS/freenas 8c5d4f6 — src/middlewared/middlewared/plugins/webui dataset_details.py

Return usedbysnapshots from webui.dataset.details

## Problem
webui.dataset.details doesn't request the usedbysnapshots property, which pool.dataset.details (the method it replaces) returns and the Datasets page reads. It can't be derived from the other space fields because usedbyrefreservation gets mixed in.

## Solution
Request usedbysnapshots alongside the other space accounting properties. The result model already declares it, so the schema doesn't change.
DeltaFile
+1-0src/middlewared/middlewared/plugins/webui/dataset_details.py
+1-01 files

FreeBSD/src ad0cd01 — sys/arm64/arm64 pmap.c

arm64 pmap: Eliminate page table rewalks after demotions

pmap_demote_l1() and pmap_demote_l2_locked() return the virtual address
of the page table page that replaces the demoted superpage mapping.  In
pmap_advise(), pmap_change_props_locked(), and pmap_clear_modify() use
that address instead of rewalking the page table from the L1 or L2
entry.  Similarly, after pmap_advise() demotes an L3C superpage, compute
the virtual address of the L3 entry that it removes from the virtual
address of the current L3 entry.

Reviewed by:    kib
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D61599
DeltaFile
+17-13sys/arm64/arm64/pmap.c
+17-131 files

FreeBSD/ports ffb1cd5 — devel/gitaly distinfo, net/gitlab-agent distinfo

www/gitlab: security and patch update to 19.5.6

Changes:        https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-6-released/?nav=19.5.6
Security:       b2317a60-e358-11f1-b3a2-2cf05da270f3
DeltaFile
+13-13devel/gitaly/distinfo
+6-6www/gitlab/distinfo
+5-5www/gitlab-workhorse/distinfo
+5-5www/gitlab-pages/distinfo
+5-5net/gitlab-agent/distinfo
+1-1www/gitlab/Makefile
+35-351 files not shown
+36-367 files

FreeBSD/ports 01faea2 — security/rubygem-cose Makefile distinfo

security/rubygem-cose: update to 1.4.0

Changes:        https://github.com/cedarcode/cose-ruby/blob/master/CHANGELOG.md
DeltaFile
+3-3security/rubygem-cose/distinfo
+2-2security/rubygem-cose/Makefile
+5-52 files

FreeBSD/ports 9c84278 — security/rubygem-tpm-key_attestation Makefile distinfo

security/rubygem-tpm-key_attestation: update to 0.14.2

Changes:        https://github.com/cedarcode/tpm-key_attestation/blob/master/CHANGELOG.md
DeltaFile
+3-3security/rubygem-tpm-key_attestation/distinfo
+1-2security/rubygem-tpm-key_attestation/Makefile
+4-52 files

FreeBSD/ports f1a7da7 — security/rubygem-openssl-signature_algorithm Makefile distinfo

security/rubygem-openssl-signature_algorithm: update to 1.3.0

Changes:        https://github.com/cedarcode/openssl-signature_algorithm/blob/master/CHANGELOG.md
DeltaFile
+3-3security/rubygem-openssl-signature_algorithm/distinfo
+3-1security/rubygem-openssl-signature_algorithm/Makefile
+6-42 files

FreeBSD/ports 037c6f0 — security/rubygem-webauthn distinfo Makefile

security/rubygem-webauthn: update to 3.4.4

Changes:        https://github.com/cedarcode/webauthn-ruby/blob/master/CHANGELOG.md
DeltaFile
+3-4security/rubygem-webauthn/Makefile
+3-3security/rubygem-webauthn/distinfo
+6-72 files

FreeBSD/ports 7a0e423 — devel/rubygem-cbor Makefile distinfo

devel/rubygem-cbor: update to 0.6.2.2

Changes:        https://github.com/cbor/cbor.github.io/commits/master/
DeltaFile
+3-3devel/rubygem-cbor/distinfo
+1-1devel/rubygem-cbor/Makefile
+4-42 files

LLVM/project 65fac40 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Move extract-lane(0, canWideIV) combine before unrolling

Some extract-lane combines can't be performed before unrolling, e.g. the one that combines it to Instruction::ExtractElement can end up extracting from a different part. But the extract-lane(0, canWideIV) can because at index 0 you're always extracting from the first part. Do this before unrolling, which improves codegen of unrolled code.
DeltaFile
+16-24llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+4-12llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+6-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+26-423 files

LLVM/project 81785cf — llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanUnroll.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Support interleaving early exit loops with side effects

We couldn't do this on main previously because the exit mask `active-lane-mask(0, FirstActiveLane(Cond))` doesn't get unrolled properly across parts. Now that we use mask.beforefirst we can unroll it properly in a chain. The unrolled form is:

    unroll(mask.beforefirst, P) = mask.beforefirst(cond[P] | broadcast(anyof(not(unroll(mask.beforefirst, P-1)))))

On AArch64 this can be combined to brkpb in another patch.
DeltaFile
+106-7llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+10-0llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+10-0llvm/lib/Transforms/Vectorize/VPlanLowering.cpp
+0-9llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+126-164 files