LLVM/project e69fb46llvm/lib/DebugInfo/GSYM GsymReader.cpp, llvm/tools/llvm-gsymutil llvm-gsymutil.cpp Opts.td

[gsymutil] Disable readahead in `GsymReader::openFile()` (#199230)

`GsymReader::lookup()` has random access pattern (i.e. binary search an
address, then spot-load/parse info from rest of the GSYM data).
Readahead strategies in kernels (which was enabled by default) don't
necessarily improve (and may degrade) performance. This patch disables
readahead.

In a production system, similar change has seen 5% improvement on IOPS
and data reads. An offline performance test on a Linux machine shows
similar results - it reduces 14.3% total data read, 3.5% CPU%, and 2.9%
wall time (while adding 9.4% page faults). The reduction of total data
read and CPU % may help the performance of a heavily-loaded production
system.
```
  ┌────────────────┬─────────────┬─────────┬────────┐
  │     Metric     │ MADV_RANDOM │ Default │  Diff  │
  ├────────────────┼─────────────┼─────────┼────────┤
  │ Wall (s)       │ 0.286       │ 0.294   │ -2.9%  │

    [18 lines not shown]
DeltaFile
+41-7llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
+6-2llvm/tools/llvm-gsymutil/Opts.td
+3-1llvm/lib/DebugInfo/GSYM/GsymReader.cpp
+50-103 files

LLVM/project 9d16447llvm/lib/Target/DirectX/DXILWriter DXILValueEnumerator.cpp DXILBitcodeWriter.cpp, llvm/lib/Target/DirectX/DirectXIRPasses DXILDebugInfo.cpp DXILDebugInfo.h

[DirectX] Add an "offset" operand to llvm.dbg.value (#197478)

Offset operand was removed in abe04759a6, so we need to bring it back
for DXIL. If offset is not specified, it should be zero.

---------

Co-authored-by: Andrew Savonichev <andrew.savonichev at gmail.com>
DeltaFile
+65-26llvm/lib/Target/DirectX/DXILWriter/DXILValueEnumerator.cpp
+50-0llvm/lib/Target/DirectX/DirectXIRPasses/DXILDebugInfo.cpp
+48-0llvm/test/tools/dxil-dis/dbg-value.ll
+40-3llvm/lib/Target/DirectX/DirectXIRPasses/DXILDebugInfo.h
+16-9llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
+3-3llvm/test/tools/dxil-dis/debug-info.ll
+222-412 files not shown
+229-418 files

OpenBSD/src DH4BMeEregress/usr.bin/ssh dropbear-server.sh

   Test all mutually supported algorithms, using dropbear's new -Q option
   to query its algorithms where possible.
VersionDeltaFile
1.3+178-26regress/usr.bin/ssh/dropbear-server.sh
+178-261 files

FreeBSD/src 97cad01usr.bin/xinstall xinstall.c install.1

install: add -z <max_cmp_size> option

Introduces the -z <max_cmp_size> flag, enabling users to set a custom file
size limit for pre-installation change checks and avoiding future hard-coded
limit modifications.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:  https://reviews.freebsd.org/D57230
DeltaFile
+14-4usr.bin/xinstall/xinstall.c
+11-2usr.bin/xinstall/install.1
+1-1usr.bin/xinstall/Makefile
+26-73 files

FreeBSD/src 5a8e0e0usr.bin/xinstall xinstall.c

install: Bump compare size limit (128MB) to support large binaries

Preserve metadata and prevent redundant disk writes during builds with
the install's -C (compare) flag.

The previous historical comparison limit of 16MB is insufficient for
modern toolchains, frequently choked or bypassed by a large base
components like LLVM/Clang, kernels, Rust apps, and large runtime
libraries.

By leaving matching files alone, install keeps their modification timestamps
intact. make(1) safely ignores those files on subsequent runs.

Base examples: 15.0 amd64 GENERIC kernel - 28MB, clang - 105MB, lldb - 97MB, etc.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks

    [2 lines not shown]
DeltaFile
+1-1usr.bin/xinstall/xinstall.c
+1-11 files

LLVM/project 9409c07lldb/source/Plugins/DynamicLoader/MacOSX-DYLD DynamicLoaderDarwin.h DynamicLoaderDarwin.cpp

[lldb][Darwin] Read Mach-O binaries out of memory more efficiently (#200072)

When lldb needs to read a Mach-O binary out of memory, it first reads
512 bytes to get the mach header, which includes the size of the load
commands, and then does a second read to get the mach header and load
commands.

I am changing the initial read to get 3192 bytes, which will include the
full load commands for most binaries.

In April I changed debugserver to return the correct size of the mach
header and load commands in a `sizeof_mh_and_loadcmds` key. If this
number is provided, refine the amount we read to this size.

This reduces the number of memory read packets we issue from 2 to 1 for
a memory module, outside of packets that may be needed to get the symbol
table.
DeltaFile
+9-1lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
+6-1lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
+15-22 files

NetBSD/pkgsrc-wip 6a50aae. Makefile, fsbl-sophgo-cv180x Makefile distinfo

fsbl-sophgo-cv180x: new package
DeltaFile
+50-0fsbl-sophgo-cv180x/Makefile
+13-0fsbl-sophgo-cv180x/patches/patch-make__helpers_build__macros.mk
+6-0fsbl-sophgo-cv180x/distinfo
+3-0Makefile
+2-0fsbl-sophgo-cv180x/PLIST
+2-0fsbl-sophgo-cv180x/DESCR
+76-06 files

NetBSD/pkgsrc VxdOfcNdoc CHANGES-2026

   doc: Updated misc/tmux to 3.6b
VersionDeltaFile
1.3312+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc k1TU2NUmisc/tmux distinfo Makefile

   tmux: update to 3.6b.

   CHANGES FROM 3.6a TO 3.6b

   * Remove images from the correct list when they are removed while in the
     alternate screen (reported by xlabai at tencent dot com).
VersionDeltaFile
1.63+4-4misc/tmux/distinfo
1.70+2-2misc/tmux/Makefile
+6-62 files

FreeBSD/ports fff0d35databases/mysql-connector-j distinfo Makefile

databases/mysql-connector-j: Update to 9.7.0

Changes: https://dev.mysql.com/doc/relnotes/connector-j/en/news-9-7-0.html
DeltaFile
+3-3databases/mysql-connector-j/distinfo
+1-2databases/mysql-connector-j/Makefile
+4-52 files

NetBSD/pkgsrc-wip e6b3048opensbi-milkv-duo Makefile buildlink3.mk

opensbi-milkv-duo: new package
DeltaFile
+14-0opensbi-milkv-duo/Makefile
+13-0opensbi-milkv-duo/buildlink3.mk
+2-0opensbi-milkv-duo/PLIST
+1-0opensbi-milkv-duo/DESCR
+30-04 files

NetBSD/pkgsrc NxAuW9vdoc CHANGES-2026

   doc: Updated lang/perl5 to 5.42.2nb2
VersionDeltaFile
1.3311+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc QGw1UsXlang/perl5 Makefile distinfo, lang/perl5/patches patch-cpan_Archive-Tar_lib_Archive_Tar.pm

   perl: fix security problem in Archive::Tar

   Archive::Tar versions before 3.10 for Perl allow memory exhaustion via
   attacker controlled entry size field in tar header

   Bump PKGREVISION.
VersionDeltaFile
1.1+54-0lang/perl5/patches/patch-cpan_Archive-Tar_lib_Archive_Tar.pm
1.293+2-2lang/perl5/Makefile
1.198+2-1lang/perl5/distinfo
+58-33 files

NetBSD/pkgsrc-wip fa5550bu-boot-milkv-duo Makefile distinfo, u-boot-milkv-duo/patches patch-configs_cvitek__cv1800b__milkv__duo__sd__defconfig

u-boot-milkv-duo: new package
DeltaFile
+25-0u-boot-milkv-duo/Makefile
+21-0u-boot-milkv-duo/patches/patch-configs_cvitek__cv1800b__milkv__duo__sd__defconfig
+6-0u-boot-milkv-duo/distinfo
+5-0u-boot-milkv-duo/DESCR
+4-0u-boot-milkv-duo/PLIST
+61-05 files

FreeBSD/ports 9a52f63games/powder-toy-devel distinfo Makefile

games/powder-toy-devel: update snapshot-392 → snapshot-396
DeltaFile
+3-3games/powder-toy-devel/distinfo
+1-1games/powder-toy-devel/Makefile
+4-42 files

FreeBSD/ports 9fc330faudio/sdl2_mixer distinfo Makefile

audio/sdl2_mixer: update 2.8.1 → 2.8.2
DeltaFile
+3-3audio/sdl2_mixer/distinfo
+1-1audio/sdl2_mixer/Makefile
+4-42 files

FreeBSD/ports 7a083aegames/luanti distinfo pkg-plist

games/luanti: update 5.15.2 → 5.16.1
DeltaFile
+3-3games/luanti/distinfo
+2-0games/luanti/pkg-plist
+1-1games/luanti/Makefile
+6-43 files

FreeBSD/ports ae3d386devel/sdl3 distinfo Makefile

devel/sdl3: update 3.4.2 → 3.4.8
DeltaFile
+3-3devel/sdl3/distinfo
+1-2devel/sdl3/Makefile
+4-52 files

OpenBSD/ports wQy3VKctextproc/p5-XML-LibXML Makefile distinfo, textproc/p5-XML-LibXML/patches patch-Makefile_PL patch-t_08findnodes_t

   update p5-XML-LibXML to 2.0213
VersionDeltaFile
1.76+3-3textproc/p5-XML-LibXML/Makefile
1.13+3-3textproc/p5-XML-LibXML/patches/patch-Makefile_PL
1.34+2-2textproc/p5-XML-LibXML/distinfo
1.24+2-0textproc/p5-XML-LibXML/pkg/PLIST
1.2+0-0textproc/p5-XML-LibXML/patches/patch-t_08findnodes_t
1.2+0-0textproc/p5-XML-LibXML/patches/patch-t_16docnodes_t
+10-86 files not shown
+10-812 files

FreeBSD/ports 58d0187graphics/sdl2_image distinfo Makefile

graphics/sdl2_image: update 2.8.8 → 2.8.12
DeltaFile
+3-3graphics/sdl2_image/distinfo
+1-3graphics/sdl2_image/Makefile
+4-62 files

FreeBSD/ports 19e6d6cgraphics/sdl3_image distinfo Makefile

graphics/sdl3_image: update 3.2.6 → 3.4.4
DeltaFile
+3-3graphics/sdl3_image/distinfo
+1-1graphics/sdl3_image/Makefile
+4-42 files

FreeBSD/ports bbfd6b1astro/josm distinfo Makefile

astro/josm: update 19481 → 19555
DeltaFile
+3-3astro/josm/distinfo
+1-2astro/josm/Makefile
+4-52 files

FreeBSD/ports d8c41c7net Makefile, net/sdl3_net Makefile pkg-plist

net/sdl3_net: add port: Simple, cross-platform wrapper over TCP/IP sockets

This is a portable network library for use with SDL. It's goal is
to simplify the use of the usual socket interfaces and use SDL to
handle common portable functionality such as threading and reporting
errors.
DeltaFile
+21-0net/sdl3_net/Makefile
+9-0net/sdl3_net/pkg-plist
+4-0net/sdl3_net/pkg-descr
+3-0net/sdl3_net/distinfo
+1-0net/Makefile
+38-05 files

FreeBSD/ports b942ee5net/sdl2_net pkg-descr Makefile

net/sdl2_net: Update COMMENT and pkg-descr
DeltaFile
+4-1net/sdl2_net/pkg-descr
+1-1net/sdl2_net/Makefile
+5-22 files

NetBSD/pkgsrc E6IVF3Mdoc CHANGES-2026

   doc: Updated lang/perl5 to 5.42.2nb1
VersionDeltaFile
1.3310+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc JYUFKGwlang/perl5 Makefile distinfo, lang/perl5/patches patch-regcomp__study.c

   perl: apply upstream security fix for regex on 32-bit systems.

   Bump PKGREVISION.
VersionDeltaFile
1.1+21-0lang/perl5/patches/patch-regcomp__study.c
1.292+2-1lang/perl5/Makefile
1.197+2-1lang/perl5/distinfo
+25-23 files

NetBSD/pkgsrc kDQpliEdoc CHANGES-2026

   doc: Updated geography/qgis to 3.44.10
VersionDeltaFile
1.3309+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 6MiOk1Pgeography/qgis distinfo Makefile

   geography/qgis: Update to 3.44.10

   Upstream NEWS: micro release
VersionDeltaFile
1.91+4-4geography/qgis/distinfo
1.273+2-3geography/qgis/Makefile
1.38+2-1geography/qgis/PLIST
+8-83 files

LLVM/project eb0cb0cclang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeAnnotations.h, clang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp FactsGenerator.cpp

[LifetimeSafety] Propagate inner origins through std::move and related casts (#199600)

std::move and related casts (std::forward, std::forward_like,
std::move_if_noexcept, std::as_const) are reference casts: the result
refers to the same object as the argument. Flow all origin levels for
this family.
  
Fixes #191954
DeltaFile
+37-5clang/test/Sema/warn-lifetime-safety.cpp
+15-0clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+10-2clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+5-0clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeAnnotations.h
+3-0clang/test/Sema/Inputs/lifetime-analysis.h
+70-75 files

FreeBSD/src 2018defusr.sbin/syslogd syslogd.c, usr.sbin/syslogd/tests syslogd_test.sh

syslogd: Fix ereregex property filters and add test

This change fixes Bug 293879, where ereregex filters in syslogd
did not handle alternation correctly.

The issue appears to come from mixing up two different kinds of
flags: syslogd's internal serialized filter flags in
usr.sbin/syslogd/syslogd.h, and the regex compilation flags from
include/regex.h. ereregex was storing REG_EXTENDED in cmp_flags,
even though cmp_flags is meant to carry syslogd's own FILT_FLAG_*
values for configuration serialization and reconstruction.

REG_EXTENDED has the same bit value as FILT_FLAG_EXCLUDE, so the
filter could be reconstructed with the wrong semantics.

The fix stores FILT_FLAG_EXTENDED instead, allowing syslogd to
correctly REG_EXTENDED when compiling the regex.

A test was also added for both ereregex and !ereregex filters.

    [8 lines not shown]
DeltaFile
+22-0usr.sbin/syslogd/tests/syslogd_test.sh
+1-1usr.sbin/syslogd/syslogd.c
+23-12 files