FreeBSD/ports 5a683d7editors/fresh distinfo Makefile.crates

editors/fresh: Update to 0.3.5
DeltaFile
+71-59editors/fresh/distinfo
+34-28editors/fresh/Makefile.crates
+1-1editors/fresh/Makefile
+106-883 files

LLVM/project 9bb265cllvm/runtimes CMakeLists.txt

Revert "[Runtimes] Pass through per-runtime CMake options for target runtimes…"

This reverts commit c0faa30f317f4de6afc2378ce480c97da5755b6f.
DeltaFile
+0-3llvm/runtimes/CMakeLists.txt
+0-31 files

LLVM/project 5274cc8llvm/lib/Analysis InstructionSimplify.cpp

drop zero check
DeltaFile
+1-1llvm/lib/Analysis/InstructionSimplify.cpp
+1-11 files

FreeBSD/ports d8161addevel/glab distinfo pkg-plist

devel/glab: update to 1.94.0

Changes:        https://gitlab.com/gitlab-org/cli/-/releases
DeltaFile
+5-5devel/glab/distinfo
+9-0devel/glab/pkg-plist
+2-2devel/glab/Makefile
+16-73 files

NetBSD/src 7GDyVVLsys/arch/m68k/m68k pmap_68k.c

   Keep stats on the number of allocated user PT pages, both current count
   and high water mark.
VersionDeltaFile
1.64+22-2sys/arch/m68k/m68k/pmap_68k.c
+22-21 files

FreeBSD/src ff426cesys/contrib/zstd/doc zstd_manual.html zstd_compression_format.md, sys/contrib/zstd/doc/educational_decoder zstd_decompress.c

MFV: zstd 1.5.7.

MFC after:      2 weeks
Relnotes:       yes

(cherry picked from commit c0d9a07101a1e72769ee0619a583f63a078fb391)
(cherry picked from commit 7c9418613a31571e4eceda55a417f7183d26acb5)
(cherry picked from commit 111a42d7d78a88ba6ff7b5d61b0867faccc00276)
DeltaFile
+2,416-1,011sys/contrib/zstd/lib/common/xxhash.h
+2,413-897sys/contrib/zstd/lib/compress/zstd_compress.c
+0-2,320sys/contrib/zstd/doc/educational_decoder/zstd_decompress.c
+0-1,908sys/contrib/zstd/doc/zstd_manual.html
+1,063-820sys/contrib/zstd/programs/fileio.c
+0-1,692sys/contrib/zstd/doc/zstd_compression_format.md
+5,892-8,648185 files not shown
+18,051-23,812191 files

LLVM/project 6f18f55llvm/test/Transforms/InstSimplify compare.ll

update test
DeltaFile
+3-1llvm/test/Transforms/InstSimplify/compare.ll
+3-11 files

FreeBSD/src 5169e95sys/conf ldscript.arm64

arm64: Define the .iplt section placement.

Ensure that the .plt and .ipld sections are in the executable memory segment.

Reviewed by:    andrew
Differential Revision: https://reviews.freebsd.org/D56403

(cherry picked from commit 1dddb580f950a27fb9859b2879755dde114c9d8b)
DeltaFile
+6-1sys/conf/ldscript.arm64
+6-11 files

LLVM/project 99490acllvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorConfigFile.cpp, llvm/test/Instrumentation/Instrumentor multi_config.ll alloca_and_function.ll

[Instrumentor] Allow multiple config files with different filters

To instrument different functions in different ways we allow to provide
multiple config files now. Each file will result in one instrumentation
run. Multiple files can be passed via command line option or listed in
a "summary" file that is passed via command line option (to keep the
command length managable).
DeltaFile
+53-14llvm/lib/Transforms/IPO/Instrumentor.cpp
+56-0llvm/test/Instrumentation/Instrumentor/multi_config.ll
+20-20llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+37-0llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+16-0llvm/test/Instrumentation/Instrumentor/multi_config_4.json
+12-0llvm/test/Instrumentation/Instrumentor/multi_config_1.json
+194-3415 files not shown
+247-4521 files

LLVM/project 3fb1fe7llvm/lib/Analysis InstructionSimplify.cpp

invert non-strict predicates
DeltaFile
+6-7llvm/lib/Analysis/InstructionSimplify.cpp
+6-71 files

FreeBSD/src 40d59eesys/fs/p9fs p9fs_vnops.c p9fs_subr.c

p9fs: Fix creating files with restrictive permissions

When a file is created via p9fs with restrictive permissions (like 000),
the 9P TCREATE request successfully creates and natively opens the file,
returning an open, writable file descriptor. Previously, p9fs would
attempt a subsequent TOPEN. That TOPEN would fail with EACCES due to the
restrictive mode, leaving a 0-byte file and causing operations like 'mv'
to abort.

We now preserve the writable descriptor returned by TCREATE so that the
subsequent VOP_OPEN can use it directly, avoiding the failing TOPEN.
Additionally, p9fs_compatible_mode now appropriately isolates the base
access intent when matching fids, preventing extended flags from
breaking the match.

A test case for this behavior has been submitted to pjdfstest:
https://github.com/pjd/pjdfstest/pull/87

Resolves: https://github.com/CTSRD-CHERI/cheribsd/issues/2617

    [4 lines not shown]
DeltaFile
+23-1sys/fs/p9fs/p9fs_vnops.c
+9-5sys/fs/p9fs/p9fs_subr.c
+32-62 files

FreeBSD/src 96b2f4asys/fs/p9fs p9fs_vnops.c p9fs.h

p9fs: implement basic pathconf support

This is needed for various pjdfstest tests which fail with syntax errors
if pathconf _PC_NAME_MAX/_PC_PATH_MAX return -1. For NAME_MAX we can use
the 9P2000.L Tstatfs call to get namelen from the host. While this could
theoretically be different for nested filesystems in the shared mount it
is a much better guess than just returning 255.
There does not seem to be a way to get the host PATH_MAX, so we just
return the conservative kernel default.

Found while fixing https://github.com/CTSRD-CHERI/cheribsd/issues/2617.

Reviewed by:    markj, kib
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D56493
DeltaFile
+71-2sys/fs/p9fs/p9fs_vnops.c
+1-0sys/fs/p9fs/p9fs.h
+72-22 files

FreeBSD/src 1ed2ef4sys/dev/virtio/p9fs virtio_p9fs.c, sys/fs/p9fs p9fs_vfsops.c

p9fs: Move UMA zone initialization to VFS module lifecycle

Previously, the UMA zones required for 9P requests (p9fs_buf_zone,
p9fs_req_zone, etc.) were initialized and destroyed in the
virtio_p9fs transport module. This caused issues when unloading
the core p9fs module.

This change moves p9_init_zones() and p9_destroy_zones() into
p9fs_init() and p9fs_uninit() inside p9fs_vfsops.c so that they
are correctly bound to the VFS filesystem module lifecycle via
vfs_modevent, aligning p9fs with standard FreeBSD VFS semantics.

Found while fixing https://github.com/CTSRD-CHERI/cheribsd/issues/2617.

Reviewed by:    kib
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D56492
DeltaFile
+4-0sys/fs/p9fs/p9fs_vfsops.c
+1-2sys/dev/virtio/p9fs/virtio_p9fs.c
+5-22 files

FreeBSD/src 3fe5069sys/dev/virtio/p9fs virtio_p9fs.c

virtio_p9fs: Fix kernel panic on module unload

The virtio_p9fs module event handler can be invoked multiple times.
Previously, this caused p9_init_zones() and p9_register_trans() to be
executed multiple times, leaking UMA zones and corrupting the transport
list. During module unload, p9_destroy_zones() was also called multiple
times on the same zone pointers, triggering a duplicate free kernel panic
in uma_zdestroy().

This patch introduces a static reference counter in vt9p_modevent() to
ensure the zones and transports are only initialized and destroyed exactly
once, aligning with the approach used by other virtio drivers like vtnet.

Reviewed by:    kib, markj
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D56497
DeltaFile
+9-3sys/dev/virtio/p9fs/virtio_p9fs.c
+9-31 files

FreeBSD/src 3daa43bsys/sys rtprio.h priority.h, tools/build/test-includes badfiles.inc

sys: Make priority.h and rtprio.h include all dependencies

This ensures this header can be included without an explicit or implicit
sys/types.h include first. This causes issues building SPEC2017 which
includes sys/rtprio.h and then we get an error due to missing u_char
definition.

Reviewed by:    emaste
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D52041
DeltaFile
+5-4sys/sys/rtprio.h
+4-4sys/sys/priority.h
+0-2tools/build/test-includes/badfiles.inc
+9-103 files

LLVM/project b773a97llvm/lib/Analysis InstructionSimplify.cpp, llvm/test/Transforms/InstSimplify select-icmp.ll

[InstSimplify] Canonicalize `X uge 1` to `X ne 0` and `X sle -1` to `X slt 0` in `simplifyICmpInst`
DeltaFile
+11-3llvm/lib/Analysis/InstructionSimplify.cpp
+1-5llvm/test/Transforms/InstSimplify/select-icmp.ll
+12-82 files

LLVM/project 2e82d5dllvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add a global function regexp to limit the instrumentation

Only functions that match the "function_regex" will be instrumented,
or if they have the instrumentation attribute.
DeltaFile
+57-0llvm/test/Instrumentation/Instrumentor/function_regex.ll
+26-0llvm/test/Instrumentation/Instrumentor/function_regex.json
+20-2llvm/lib/Transforms/IPO/Instrumentor.cpp
+7-1llvm/include/llvm/Transforms/IPO/Instrumentor.h
+3-1llvm/test/Instrumentation/Instrumentor/default_config.json
+113-45 files

LLVM/project 228ecc2clang/test/Instrumentor UnreachableRT.cpp InstrumentorUnreachable.cpp, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add unreachable support; unreachable stack trace printing

Allow to instrument unreachable and provide a use case for stack trace
printing.
DeltaFile
+22-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+20-0clang/test/Instrumentor/UnreachableRT.cpp
+20-0clang/test/Instrumentor/InstrumentorUnreachable.cpp
+15-0clang/test/Instrumentor/UnreachableRT.json
+13-1llvm/lib/Transforms/IPO/Instrumentor.cpp
+5-1clang/test/Instrumentor/lit.local.cfg
+95-21 files not shown
+100-27 files

LLVM/project 3f8a2dfclang/test/Instrumentor StackUsageRT.cpp StackUsageRT.json, llvm/include/llvm/Transforms/IPO Instrumentor.h

[Instrumentor] Add Alloca and Function support; stack usage example

This adds support for alloca instrumentation and function pre/post
instrumentation. Alloca support follows load/store support directly.
Functions require special care to determine the insertion points.

Together, we can showcase how the stack high watermark can be profiled,
see InstrumentorStackUsage.cpp.
DeltaFile
+287-1llvm/lib/Transforms/IPO/Instrumentor.cpp
+112-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+59-0clang/test/Instrumentor/StackUsageRT.cpp
+59-0llvm/test/Instrumentation/Instrumentor/default_config.json
+56-0llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+54-0clang/test/Instrumentor/StackUsageRT.json
+627-12 files not shown
+666-18 files

LLVM/project 504a112lldb/include/lldb/Target Process.h, lldb/source/Target Policy.cpp Process.cpp

[lldb] Adopt Policy for private/public view and capability decisions (#195771)

Push Policy::PrivateState() at all sites where the private state thread
needs to see the private reality instead of the public illusion:
- StopInfoBreakpoint::ShouldStopSynchronous (sync callbacks, WasHit)
- StopInfoWatchpoint::ShouldStopSynchronous
- RunThreadPlan (original PST during expression evaluation)
- RunPrivateStateThread (override PSTs)

Consult the policy at all view/capability decision points:
- Process::GetState() -- private vs public state
- Target::GetAPIMutex() -- private vs public mutex
- PrivateStateThread::GetRunLock() -- private vs public run lock
- Thread::GetStackFrameList() -- parent vs provider-augmented frames
- StackFrameList::SelectMostRelevantFrame() -- skip frame recognizers
- StopInfoBreakpoint::PerformAction() -- skip breakpoint actions
- StopInfoWatchpoint::PerformAction() -- skip watchpoint actions

The existing host thread identity checks remain as fallbacks until

    [7 lines not shown]
DeltaFile
+37-40lldb/unittests/Target/PolicyTest.cpp
+23-10lldb/source/Target/Policy.cpp
+22-9lldb/source/Target/Process.cpp
+1-28lldb/include/lldb/Target/Process.h
+23-1lldb/source/Target/StopInfo.cpp
+7-8lldb/source/Target/Thread.cpp
+113-965 files not shown
+141-10311 files

LLVM/project c6eb268clang/lib/Serialization ASTReaderDecl.cpp, clang/test/Modules decl-attr-merge.mm

[Clang] Fix mergeInheritableAttributes() to propagate all AvailabilityAttrs (#181482)

`getAttr<AvailabilityAttr>()` only returns the first matching attribute,
but a declaration can carry multiple AvailabilityAttrs (one per
platform, e.g. macOS + iOS).  Use `specific_attrs<AvailabilityAttr>()`
to iterate over all of them so every platform's availability is
propagated during cross-module redeclaration merging.

This aligns the PCM merge path with how `mergeDeclAttributes` already
iterates via `specific_attrs<InheritableAttr>()` on the Sema side.

Extend clang/test/Modules/decl-attr-merge.mm with a multi-platform
case and an iOS triple RUN line that triggers the bug without the fix.

Fixes https://github.com/llvm/llvm-project/issues/181298
DeltaFile
+23-5clang/test/Modules/decl-attr-merge.mm
+6-5clang/lib/Serialization/ASTReaderDecl.cpp
+29-102 files

LLVM/project c8c86f1clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen TargetInfo.cpp

Address comments
DeltaFile
+30-7clang/lib/CIR/CodeGen/TargetInfo.cpp
+2-0clang/include/clang/CIR/MissingFeatures.h
+32-72 files

LLVM/project 8057b7dclang/test/CIR/CodeGenCUDA address-spaces.cu

Fix cc mismatch
DeltaFile
+5-5clang/test/CIR/CodeGenCUDA/address-spaces.cu
+5-51 files

LLVM/project cca5112clang/lib/CIR/CodeGen TargetInfo.cpp, clang/test/CIR/CodeGenCUDA ptx-kernels.cu

[CIR][CUDA] Set ptx_kernel calling convention on CUDA kernels
DeltaFile
+42-0clang/test/CIR/CodeGenCUDA/ptx-kernels.cu
+18-0clang/lib/CIR/CodeGen/TargetInfo.cpp
+60-02 files

LLVM/project 4e51c93clang/lib/CIR/CodeGen CIRGenCUDANV.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu kernel-call.cu

Add HIP LLVM lowering and proper HIP host kernel handle emission.
DeltaFile
+39-3clang/test/CIR/CodeGenCUDA/device-stub.cu
+2-2clang/lib/CIR/CodeGen/CIRGenCUDANV.cpp
+2-2clang/test/CIR/CodeGenCUDA/kernel-call.cu
+1-1clang/test/CIR/CodeGenHIP/simple.cpp
+44-84 files

LLVM/project db1d226clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix fmt
DeltaFile
+4-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+4-51 files

LLVM/project dae37a9clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][HIP] Handle HIP module constructor and destructor emission
DeltaFile
+147-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+121-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+268-52 files

LLVM/project 7f2acb9clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Simplify `RegisterFunction` call on target divergance
DeltaFile
+8-12clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+8-121 files

FreeBSD/ports 10584eedatabases/pgmodeler distinfo Makefile

databases/pgmodeler: Update to 1.2.3
DeltaFile
+3-3databases/pgmodeler/distinfo
+1-1databases/pgmodeler/Makefile
+4-42 files

FreeBSD/ports 6fbaa6eeditors/cudatext distinfo Makefile

editors/cudatext: Update to 1.234.3.0

ChangeLog at:   https://github.com/Alexey-T/CudaText/blob/master/app/readme/history.txt
DeltaFile
+9-9editors/cudatext/distinfo
+4-4editors/cudatext/Makefile
+13-132 files