LLVM/project 09c4d8cclang/lib/CodeGen CGCall.cpp, clang/test/CodeGenCXX dead-on-return-deleting-destructor.cpp microsoft-vector-deleting-dtors2.cpp

[Clang] Fix miscompile with custom operator delete (#190017)

See discussion in #183347.

Added a separate test case rather than reusing
destructor-dead-on-return.cpp as we need to test functionality of the
deleting destructor which update_cc_test_checks.py does not add check
lines for.
DeltaFile
+12-0clang/test/CodeGenCXX/dead-on-return-deleting-destructor.cpp
+7-1clang/lib/CodeGen/CGCall.cpp
+2-2clang/test/CodeGenCXX/microsoft-vector-deleting-dtors2.cpp
+1-1clang/test/CodeGenCXX/ptrauth-apple-kext-indirect-virtual-dtor-call.cpp
+22-44 files

FreeBSD/ports 904bc0csysutils/nut/files patch-tools_nut-scanner_nutscan-init.c patch-scripts_Makefile

sysutils/nut: Add two missing patches

Add two patches not added in dc50ab13e8b2.

Fixes:          dc50ab13e8b2
PR:             294189
DeltaFile
+14-0sysutils/nut/files/patch-tools_nut-scanner_nutscan-init.c
+8-0sysutils/nut/files/patch-scripts_Makefile
+22-02 files

LLVM/project 873d6bcclang/docs ReleaseNotes.rst, clang/lib/Analysis ThreadSafety.cpp

Thread Safety Analysis: Drop call-based alias invalidation (#187691)

Local variables passed by non-const pointer or reference to a function
were previously invalidated in the LocalVariableMap (VarMapBuilder), on
the assumption that the callee might change what they point to. This
caused false positives when the function also carries ACQUIRE/RELEASE
annotations: handleCall translates those annotations with the pre-call
context, while subsequent guard checks use the post-invalidation
context, producing an expansion mismatch and a spurious warning.

The invalidation rules were a heuristic with significant complexity
(including a special-case carve-out for std::bind/bind_front) and
unclear benefit. Instead of adding more heuristics, drop the
alias-invalidation rules entirely.

Discussion: https://github.com/llvm/llvm-project/pull/183640
DeltaFile
+0-52clang/lib/Analysis/ThreadSafety.cpp
+26-11clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+5-0clang/docs/ReleaseNotes.rst
+31-633 files

LLVM/project 8ea475fclang/include/clang/Serialization ModuleCache.h, clang/lib/DependencyScanning InProcessModuleCache.cpp

[clang] Introduce `ModuleCache::read()` (#188876)

This PR introduces new `ModuleCache` API for reading PCM files. This
makes it so that we don't go through the `FileManager` and VFS, which is
problematic downstream. We interpose a VFS that unintentionally shuffles
implicitly-built modules in and out of the CAS database, leading to some
unnecessary storage and runtime overhead. Moreover, this (together with
a reading API) will enable adding a caching layer into the
`InProcessModuleCache` implementation, hopefully reducing IO cost.
DeltaFile
+25-21clang/lib/Serialization/ModuleManager.cpp
+28-0clang/lib/Serialization/ModuleCache.cpp
+12-0clang/lib/DependencyScanning/InProcessModuleCache.cpp
+10-1clang/include/clang/Serialization/ModuleCache.h
+75-224 files

FreeBSD/doc aaae324website/content/en/cgi man.cgi

man.cgi: fix typos for linux aliases
DeltaFile
+2-2website/content/en/cgi/man.cgi
+2-21 files

FreeBSD/ports 9b2af50sysutils/twa-kmod Makefile

sysutils/twa-kmod: support for FreeBSD-15
DeltaFile
+1-1sysutils/twa-kmod/Makefile
+1-11 files

LLVM/project 75333a0libc CMakeLists.txt, libc/shared CMakeLists.txt

[libc] Install the RPC headers so they can be used without LLVM source (#189996)

Summary:
The RPC headers are completely freestanding and can be installed and
used. This just places them in the standard compiler install directory
along with everything else. We put it under `shared/` so the usage
matches with using the upstream version. People using the installed
version will need to manuall `-isystem` into the include directory, but
this is part for the course for these LLVM extra headers.
DeltaFile
+14-0libc/shared/CMakeLists.txt
+1-0libc/CMakeLists.txt
+15-02 files

FreeBSD/ports 0732522dns/bind-tools pkg-plist-devel, dns/bind9-devel pkg-plist Makefile

dns/bind9-devel: update to 9.21.21

Changes:        https://downloads.isc.org/isc/bind9/9.21.21/doc/arm/html/changelog.html
(cherry picked from commit 073987603c564a8c1fbe77e1ac8ae3e865a48bf1)
DeltaFile
+13-13dns/bind9-devel/files/patch-meson.build
+12-12dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+9-7dns/bind9-devel/pkg-plist
+6-9dns/bind9-devel/Makefile
+6-5dns/bind-tools/pkg-plist-devel
+3-3dns/bind9-devel/distinfo
+49-491 files not shown
+51-517 files

FreeBSD/ports 0732521dns/bind-tools pkg-plist, dns/bind920 pkg-plist distinfo

dns/bind920: update to 9.20.22

Changes:        https://downloads.isc.org/isc/bind9/9.20.22/doc/arm/html/changelog.html
(cherry picked from commit 07398750495541d3d973337648affbefb57ed42a)
DeltaFile
+7-7dns/bind920/files/extrapatch-bind-min-override-ttl
+5-5dns/bind-tools/pkg-plist
+5-5dns/bind920/pkg-plist
+3-3dns/bind920/distinfo
+1-1dns/bind920/Makefile
+21-215 files

FreeBSD/ports dc50ab1sysutils/nut pkg-plist Makefile, sysutils/nut/files patch-m4_nut__check_libltdl.m4 patch-scripts_Makefile

sysutils/nut: Update to 2.8.4

Copied nut-devel Makefile and pkg-plist for the same time period to
avoid having to test rebuild every option. Hopefully this is good
enough.

PR:             294189
DeltaFile
+35-8sysutils/nut/pkg-plist
+0-21sysutils/nut/files/patch-m4_nut__check_libltdl.m4
+10-8sysutils/nut/Makefile
+0-8sysutils/nut/files/patch-scripts_Makefile
+3-3sysutils/nut/distinfo
+48-485 files

LLVM/project 3402829offload/include/Shared RefCnt.h, offload/liboffload/API Event.td

[Offload] Add support for measuring elapsed time between events (#186856)

This patch adds `olGetEventElapsedTime` to the new LLVM Offload API, as
requested in
[#185728](https://github.com/llvm/llvm-project/issues/185728), and adds
the corresponding support in `plugins-nextgen`.

A main motivation for this change is to make it possible to measure the
elapsed time of work submitted to a queue, especially kernel launches.
This is relevant to the intended use of the new Offload API for
microbenchmarking GPU libc math functions.

### Summary

The new API returns the elapsed time, in milliseconds, between two
events on the same device.

To support the common pattern `create start event → enqueue kernel →
create end event → sync end event → get elapsed time`, `olCreateEvent`

    [63 lines not shown]
DeltaFile
+233-31offload/plugins-nextgen/amdgpu/src/rtl.cpp
+146-0offload/unittests/OffloadAPI/event/olGetEventElapsedTime.cpp
+39-19offload/liboffload/src/OffloadImpl.cpp
+22-0offload/plugins-nextgen/common/src/PluginInterface.cpp
+9-9offload/include/Shared/RefCnt.h
+16-1offload/liboffload/API/Event.td
+465-6010 files not shown
+517-6016 files

FreeBSD/ports 0732520dns/bind918 pkg-plist distinfo

dns/bind918: update to 9.18.48

Changes:        https://downloads.isc.org/isc/bind9/9.18.48/doc/arm/html/changelog.html
(cherry picked from commit 07398740b0d005401e4d8099e247e1a94d35bd3c)
DeltaFile
+7-7dns/bind918/pkg-plist
+3-3dns/bind918/distinfo
+1-1dns/bind918/Makefile
+11-113 files

FreeBSD/ports 0739876dns/bind-tools pkg-plist-devel, dns/bind9-devel pkg-plist Makefile

dns/bind9-devel: update to 9.21.21

Changes:        https://downloads.isc.org/isc/bind9/9.21.21/doc/arm/html/changelog.html
DeltaFile
+13-13dns/bind9-devel/files/patch-meson.build
+12-12dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+9-7dns/bind9-devel/pkg-plist
+6-9dns/bind9-devel/Makefile
+6-5dns/bind-tools/pkg-plist-devel
+3-3dns/bind9-devel/distinfo
+49-491 files not shown
+51-517 files

FreeBSD/ports 0739875dns/bind-tools pkg-plist, dns/bind920 pkg-plist distinfo

dns/bind920: update to 9.20.22

Changes:        https://downloads.isc.org/isc/bind9/9.20.22/doc/arm/html/changelog.html
DeltaFile
+7-7dns/bind920/files/extrapatch-bind-min-override-ttl
+5-5dns/bind-tools/pkg-plist
+5-5dns/bind920/pkg-plist
+3-3dns/bind920/distinfo
+1-1dns/bind920/Makefile
+21-215 files

FreeBSD/ports 0739874dns/bind918 pkg-plist distinfo

dns/bind918: update to 9.18.48

Changes:        https://downloads.isc.org/isc/bind9/9.18.48/doc/arm/html/changelog.html
DeltaFile
+7-7dns/bind918/pkg-plist
+3-3dns/bind918/distinfo
+1-1dns/bind918/Makefile
+11-113 files

LLVM/project 150aa6fmlir/lib/Dialect/XeGPU/Transforms XeGPUSgToWiDistributeExperimental.cpp, mlir/test/Dialect/XeGPU sg-to-wi-experimental-unit.mlir

[MLIR][XeGPU] Add support for convert layout with scalar in Sg to WI distribution (#189721)
DeltaFile
+15-0mlir/test/Dialect/XeGPU/sg-to-wi-experimental-unit.mlir
+9-2mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToWiDistributeExperimental.cpp
+24-22 files

FreeBSD/src 970e0dbusr.sbin/bhyve iov.c iov.h

bhyve/virtio: Fix comparison of integer expressions of different signedness

It's a bit silly to have iov_to_buf() and buf_to_iov() return a ssize_t
to begin with, just to be able to return -1 for error. Change this to
size_t and use 0 as an error indicator, which won't require any changes
to the code using these functions.

While here, switch iov_to_buf() to use reallocf() instead of realloc().

Reviewed by: jhb
Fixes: 2a514d377b37 ("bhyve/virtio-scsi: Preallocate all I/O requests")
Differential Revision: https://reviews.freebsd.org/D55800
DeltaFile
+5-5usr.sbin/bhyve/iov.c
+2-2usr.sbin/bhyve/iov.h
+7-72 files

LLVM/project 35ceec6libc/config config.json, libc/src/__support CMakeLists.txt

[libc] Finetune libc.src.__support.OSUtil.osutil dependency. (#189501)

Several key targets unconditionally depend on `OSUtil.osutil` target,
causing errors when it is unnecessarily linked, or not available. This
PR fine-tuning the dependency on `OSUtil.osutil` to cleanly decouple
those targets, and gracefully skip targets that need `osutil`. Main
changes include:

* Make `LIBC_COPT_USE_C_ASSERT` to a cmake config, allowing
`LIBC_ASSERT` to use system's `assert` and not depending on `osutil`.
* Adjust cmake dependency for the following targets:
  - libc.src.__support.libc_assert
  - libc.src.__support.time.*
  - libc.src.time.linux.*
  - libc.src.unistd.*
  - LibcTest
* Give an option for `TestLogger` to use system's `fprintf` instead of
`osutil`.
DeltaFile
+17-9libc/src/__support/CMakeLists.txt
+19-5libc/test/UnitTest/CMakeLists.txt
+21-2libc/test/UnitTest/TestLogger.cpp
+6-0libc/config/config.json
+6-0libc/src/time/linux/CMakeLists.txt
+6-0libc/src/unistd/CMakeLists.txt
+75-163 files not shown
+87-179 files

FreeBSD/ports 146b0bdgames/bluemoon Makefile distinfo, games/bluemoon/files patch-bluemoon.adoc

games/bluemoon: Update to 2.15

- Upstream don't ship manual.6 anymore. Install manual.adoc as README
- Remove DOCS option

ChangeLog: https://gitlab.com/esr/bluemoon/-/blob/master/NEWS.adoc
DeltaFile
+31-0games/bluemoon/files/patch-bluemoon.adoc
+3-7games/bluemoon/Makefile
+3-3games/bluemoon/distinfo
+37-103 files

FreeBSD/ports e168172devel/aws-c-s3 distinfo Makefile

devel/aws-c-s3: Update to 0.12.1

ChangeLog: https://github.com/awslabs/aws-c-s3/releases/tag/v0.12.1
DeltaFile
+3-3devel/aws-c-s3/distinfo
+1-1devel/aws-c-s3/Makefile
+4-42 files

FreeBSD/ports c0ff520devel/aws-c-http distinfo Makefile

devel/aws-c-http: Update to 0.10.14

ChangeLog: https://github.com/awslabs/aws-c-http/releases/tag/v0.10.14
DeltaFile
+3-3devel/aws-c-http/distinfo
+1-1devel/aws-c-http/Makefile
+4-42 files

FreeBSD/ports 28b1d4ftextproc/R-cran-vroom distinfo Makefile, textproc/R-cran-vroom/files patch-fix-tests

textproc/R-cran-vroom: Update tp 1.7.1

ChangeLog: https://cran.r-project.org/web/packages/vroom/news/news.html
DeltaFile
+0-35textproc/R-cran-vroom/files/patch-fix-tests
+3-3textproc/R-cran-vroom/distinfo
+1-1textproc/R-cran-vroom/Makefile
+4-393 files

FreeBSD/ports 2f35cb2devel/R-cran-progressr distinfo Makefile

devel/R-cran-progressr: Update to 0.19.0

ChangeLog: https://cran.r-project.org/web/packages/progressr/news/news.html
DeltaFile
+3-3devel/R-cran-progressr/distinfo
+1-1devel/R-cran-progressr/Makefile
+4-42 files

LLVM/project e5d57ceclang/docs ReleaseNotes.rst, clang/lib/Sema SemaObjC.cpp

Revert "[Clang] Fix assertion when __block is used on global variables in C mode" (#190018)

Reverts llvm/llvm-project#183988

Breaks ObjC code, see
https://github.com/llvm/llvm-project/pull/183988#issuecomment-4134934748
DeltaFile
+0-6clang/lib/Sema/SemaObjC.cpp
+0-5clang/test/Sema/gh183974.c
+0-1clang/docs/ReleaseNotes.rst
+0-123 files

FreeBSD/ports 3148e88security/arti distinfo Makefile.crates

security/arti: Update to 2.2.0
DeltaFile
+229-227security/arti/distinfo
+113-112security/arti/Makefile.crates
+2-3security/arti/Makefile
+344-3423 files

FreeBSD/ports 3fa67feeditors/marknote Makefile

editors/marknote: Fix email address
DeltaFile
+1-1editors/marknote/Makefile
+1-11 files

OpenBSD/src KivBzLLsbin/iked ikev2_pld.c

   Add ikev2_validate_ef() to validate fragment payload header size field
   as we do for other IKEv2 payloads.

   Reported by Dirk Loss
   ok markus@
VersionDeltaFile
1.137+22-3sbin/iked/ikev2_pld.c
+22-31 files

LLVM/project c794742flang/include/flang/Evaluate tools.h, flang/lib/Optimizer/Transforms/CUDA CUFAddConstructor.cpp CUFOpConversionLate.cpp

[flang][cuda] Support non-allocatable module-level managed variables (#189753)

Add support for non-allocatable module-level CUDA managed variables
using pointer indirection through a companion global in
__nv_managed_data__. The CUDA runtime populates this pointer with the
unified memory address via __cudaRegisterManagedVar and
__cudaInitModule.

- Create a .managed.ptr companion global in the __nv_managed_data__
section and register it with _FortranACUFRegisterManagedVariable
- Call __cudaInitModule once after all variables are registered, only
when non-allocatable managed globals are present, to populate managed
pointers
- Annotate managed globals in gpu.module with nvvm.managed for PTX
.attribute(.managed) generation
- Suppress cuf.data_transfer for assignments to/from non-allocatable
module managed variables, since cudaMemcpy would target the shadow
address rather than the actual unified memory
- Preserve cuf.data_transfer for device_var = managed_var assignments

    [4 lines not shown]
DeltaFile
+74-14flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+39-0flang/test/Fir/CUDA/cuda-device-address.mlir
+36-1flang/test/Fir/CUDA/cuda-constructor-2.f90
+36-0flang/test/Lower/CUDA/cuda-data-transfer.cuf
+31-5flang/include/flang/Evaluate/tools.h
+20-2flang/lib/Optimizer/Transforms/CUDA/CUFOpConversionLate.cpp
+236-224 files not shown
+269-2210 files

FreeBSD/ports 6c93a5bmath/octave-forge-octave-pool Makefile, math/octave-forge-octave-pool/files patch-DESCRIPTION

math/octave-forge-octave-pool: Bug fix to version number

- correct version number in DESCRIPTION.
- bump portrevision.
DeltaFile
+9-0math/octave-forge-octave-pool/files/patch-DESCRIPTION
+2-0math/octave-forge-octave-pool/Makefile
+11-02 files

OpenBSD/src ylTxbOTsbin/iked ikev2.c

   Add SA state check for CREATE_CHILD_SA exchange, similar to what we do
   for INFORMATIONAL exchanges. iked currently assumes that IKE_AUTH always
   results in valid child SAs, so IKEV2_STATE_ESTABLISHED means we have
   successfully completed the IKE_AUTH exchange for the SA.

   Independently found by Dirk Loss and Daniel Polak (SYS.nl)
   ok and discussed with markus@ stsp@
VersionDeltaFile
1.396+7-1sbin/iked/ikev2.c
+7-11 files