LLVM/project 7354df8flang/lib/Optimizer/Transforms/CUDA CUFDeviceGlobal.cpp, flang/test/Fir/CUDA cuda-device-global-cycle.fir

[flang][cuda] Keep cycle-broken device globals defined (#211897)

Breaking cyclic global initializers by removing an initializer produced
an
external declaration, which could leave references unresolved during
device
linking.

Replace selected cyclic initializers with zero initializers instead.
This
breaks the NVPTX dependency cycle while preserving device symbol
definitions.
DeltaFile
+21-14flang/lib/Optimizer/Transforms/CUDA/CUFDeviceGlobal.cpp
+8-6flang/test/Fir/CUDA/cuda-device-global-cycle.fir
+29-202 files

LLVM/project 0a6eec1clang/lib/AST Decl.cpp, clang/lib/Sema SemaDecl.cpp

[Sema] Skip expansion statements when determing local extern context (#210512)

This bug showed up as a failed assertion that was asserting that if
not in a function or method context we should be in the global/file
context.

The root cause is that when determining the linkage context for a
decl we were failing to account for the existence of expansion
contexts. Ignoring the assertion failure, the functional effect of
this is that we would fail to detect incorrect local extern
declarations inside expansion contexts. The fix here is to make
sure that we use `getEnclosingNonExpansionStatementContext()` to
find the true DeclContext for the current scope.

The initial report only identified local extern function declarations
but the same bug occurred with extern var decls, but the path did
not lead to an assertion firing, just incorrect behaviour.

Thanks to Sirraide for explaining why this was going wrong, and

    [3 lines not shown]
DeltaFile
+73-0clang/test/SemaCXX/expansion-statements-local-extern-decls.cpp
+3-1clang/lib/AST/Decl.cpp
+1-1clang/lib/Sema/SemaDecl.cpp
+77-23 files

LLVM/project e6a5ed6bolt/lib/Passes BinaryPasses.cpp, bolt/test/X86 jump-table-empty-block-strict.s

[BOLT] Fix strict mode bug in removal of block referenced by JT

Summary:
BOLT can create a jump table object from a PC-relative
operand reference (e.g. leaq JT(%rip)) whenever the referenced memory
looks like a PIC jump table -- see
BinaryContext::handleAddressRef. This is independent of whether BOLT
recognizes the indirect jump dispatch itself. The jump table
annotation is only attached to the jmp instruction later, in
BinaryFunction::analyzeIndirectBranch, and only when the
target-specific analyzeIndirectBranch matcher recognizes the dispatch
pattern.

If the matcher does not recognize the pattern, the annotation is never
attached to the jmp, even though the jump table object and its entries
exist and reference basic blocks in the function.

In strict mode BOLT still fully processes such a function: it stays
simple, the block is marked as having unknown control flow, and the jump

    [12 lines not shown]
DeltaFile
+99-0bolt/test/X86/jump-table-empty-block-strict.s
+9-1bolt/lib/Passes/BinaryPasses.cpp
+108-12 files

LLVM/project 6d2df92bolt/include/bolt/Core BinaryContext.h

Format
DeltaFile
+2-2bolt/include/bolt/Core/BinaryContext.h
+2-21 files

FreeBSD/ports ec77dc5news/inn Makefile

news/inn, news/inn-current: Add p5-DBD-SQLite RUN_DEPENDS for SQLITE

ovsqlite-util needs DBI with the DBD::SQLite driver.  Declare it under
the SQLITE option so the utility works out of the box.
DeltaFile
+1-0news/inn/Makefile
+1-01 files

FreeBSD/ports a4422b4. UPDATING, news/inn Makefile

news/inn, news/inn-current: Switch BERKELEYDB to db18

databases/db5 is EOL.  Depend on databases/db18 instead and document
the in-place ovdb_init -u upgrade for ovdb overview users.

PR:             279151
DeltaFile
+17-0UPDATING
+2-2news/inn/Makefile
+1-1news/inn-current/Makefile
+20-33 files

LLVM/project 9e5db7dlibc/src/__support/CPP string.h, libc/test/src/__support/CPP string_test.cpp

[libc][cpp::string] Do not include null terminator in capacity()

Currently, `capacity()` includes the null terminator of the backing buffer, which does not align with C++20's `std::string`. That is, `s.reserve(s.capacity())` should be a no-op. While there's no requirement these be in-sync, it is less surprising to align its behavior.

Also, this fixes the case where `reserve()` is called on an empty string, where previously the null terminator was not set.
DeltaFile
+28-10libc/src/__support/CPP/string.h
+21-3libc/test/src/__support/CPP/string_test.cpp
+49-132 files

LLVM/project 7273146bolt/include/bolt/Core BinaryContext.h, bolt/lib/Rewrite PseudoProbeRewriter.cpp SDTRewriter.cpp

[BOLT] Release pseudo-probe decoder after emit

Summary:
PseudoProbeRewriter builds sizable data structures and then
hold onto them after they are needed.
PseudoProbeRewriter::postEmitFinalizer() parses the input
.pseudo_probe sections into an MCPseudoProbeDecoder whose
address-to-probe and GUID-to-function-desc maps can be very large
(tens of GiB on big binaries with many probes). This is not used again
once probes have been updated, yet they survive into the memory-heavy
DWARF rewrite (updateDebugInfo), directly inflating BOLT's peak RSS at
the worst possible time.

This frees them at the end of the postEmitFinalizer() calls, before
updateDebugInfo runs.
DeltaFile
+7-0bolt/lib/Rewrite/PseudoProbeRewriter.cpp
+5-0bolt/include/bolt/Core/BinaryContext.h
+2-0bolt/lib/Rewrite/SDTRewriter.cpp
+14-03 files

LLVM/project a65c720llvm/include/llvm/ProfileData SampleProfReader.h, llvm/lib/ProfileData SampleProfReader.cpp

[ProfileData] Split EagerSampleProfileNameTable by key type (NFC) (#211126)

This patch splits EagerSampleProfileNameTable into two separate
classes, EagerStringSampleProfileNameTable and
EagerMD5SampleProfileNameTable.  This patch is meant to be a
preparation patch for centralizing and speeding up symbol membership
queries like "is this symbol in the name table?".

Currently, we have two problems with these membership queries:

- Customers build their own data structures like DenseSet<uint64_t> of
  MD5 values and StringSet<> to serve those queries.  That is, the
  sample profile loader does not directly serve those queries.

- There are two places, namely SampleProfileLoader::doInitialization
  and SampleProfileNameSet, where we build identical StringSet<> of the
  name table entries, costing compilation time at both construction and
  destruction time.


    [17 lines not shown]
DeltaFile
+20-3llvm/include/llvm/ProfileData/SampleProfReader.h
+8-4llvm/lib/ProfileData/SampleProfReader.cpp
+28-72 files

NetBSD/pkgsrc-wip e615c08hawk-scheme Makefile distinfo, hawk-scheme/patches patch-CMakeLists.txt patch-runtime.c

wip/hawk-scheme: import hawk-0.9 as wip/hawk-scheme

Hawk is a tracing JIT compiler for Scheme.  It includes a bytecode
compiler, runtime, garbage collector, interpreter, trace recorder, and native
code emitters for x86-64 and aarch64.
DeltaFile
+50-0hawk-scheme/patches/patch-CMakeLists.txt
+32-0hawk-scheme/Makefile
+17-0hawk-scheme/patches/patch-runtime.c
+14-0hawk-scheme/patches/patch-jitdump.c
+8-0hawk-scheme/distinfo
+6-0hawk-scheme/PLIST
+127-02 files not shown
+131-08 files

NetBSD/pkgsrc-wip a4efaedhawk-scheme Makefile distinfo, hawk-scheme/patches patch-CMakeLists.txt

wip/hawk-scheme: Fix "hawk --exe" compiler.

The compiler needs clang with the correct library paths.
The executable still needs "paxctl +m", which is not
fixed yet.
DeltaFile
+12-2hawk-scheme/patches/patch-CMakeLists.txt
+9-0hawk-scheme/Makefile
+1-1hawk-scheme/distinfo
+1-0hawk-scheme/PLIST
+23-34 files

LLVM/project da798c2clang/lib/AST Decl.cpp, clang/lib/Sema SemaDecl.cpp

[Sema] Skip expansion statements when determing local extern context (#210512) (#211745)

This bug showed up as a failed assertion that was asserting that if
not in a function or method context we should be in the global/file
context.

The root cause is that when determining the linkage context for a
decl we were failing to account for the existence of expansion
contexts. Ignoring the assertion failure, the functional effect of
this is that we would fail to detect incorrect local extern
declarations inside expansion contexts. The fix here is to make
sure that we use `getEnclosingNonExpansionStatementContext()` to
find the true DeclContext for the current scope.

The initial report only identified local extern function declarations
but the same bug occurred with extern var decls, but the path did
not lead to an assertion firing, just incorrect behaviour.

Thanks to Sirraide for explaining why this was going wrong, and

    [2 lines not shown]
DeltaFile
+73-0clang/test/SemaCXX/expansion-statements-local-extern-decls.cpp
+3-1clang/lib/AST/Decl.cpp
+1-1clang/lib/Sema/SemaDecl.cpp
+77-23 files

LLVM/project b9222a4llvm/lib/Target/AMDGPU AMDGPU.td GCNSubtarget.h, llvm/test/MC/AMDGPU gfx13_asm_vds.s gfx13_asm_vds_err.s

[AMDGPU][GFX13] Remove support for LDS atomic add f64 (#211922)

This are not supported by gfx13.

Fixes ROCM-28488.
DeltaFile
+0-39llvm/test/MC/AMDGPU/gfx13_asm_vds.s
+8-5llvm/lib/Target/AMDGPU/AMDGPU.td
+8-0llvm/test/MC/AMDGPU/gfx13_asm_vds_err.s
+0-5llvm/lib/Target/AMDGPU/GCNSubtarget.h
+16-494 files

LLVM/project 1e7e6b3llvm/test/Analysis/CostModel/AArch64 min-max.ll fminmax.ll

[AArch64] Update min/max cost tests. NFC (#211931)
DeltaFile
+236-566llvm/test/Analysis/CostModel/AArch64/min-max.ll
+328-0llvm/test/Analysis/CostModel/AArch64/fminmax.ll
+564-5662 files

FreeBSD/ports 259f12cdevel/please distinfo Makefile

devel/please: Update version 17.31.0=>17.31.1

Changelog: https://github.com/thought-machine/please/releases/tag/v17.31.1
DeltaFile
+5-5devel/please/distinfo
+1-1devel/please/Makefile
+6-62 files

LLVM/project f138dedclang/include/clang/Analysis/Analyses/LifetimeSafety Loans.h Facts.h, clang/lib/Analysis/LifetimeSafety LoanPropagation.cpp Facts.cpp

[LifetimeSafety] Support field-sensitivity in lifetime tracking

This patch enables field-sensitivity when tracking lifetimes of nested objects.

- FactsGenerator now generates `PathElement::getField` for `MemberExpr` accesses, mapping fields to loans.
- LoanPropagation now propagates field paths along flow facts, appending fields to base loans.
- Removes false-positive warnings in `invalidations.cpp` where modifications to one field were incorrectly reported as invalidating iterators/pointers to another field.
- Adds comprehensive unit tests checking nested field access and placeholder fields.

TAG=agy
CONV=2cfd8d00-18d7-4a03-8d78-2aba2f9a8f23
DeltaFile
+106-36clang/lib/Analysis/LifetimeSafety/LoanPropagation.cpp
+72-30clang/unittests/Analysis/LifetimeSafetyTest.cpp
+82-10clang/test/Sema/LifetimeSafety/invalidations.cpp
+29-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Loans.h
+15-11clang/lib/Analysis/LifetimeSafety/Facts.cpp
+24-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Facts.h
+328-874 files not shown
+362-9510 files

LLVM/project 3670a2bclang/lib/Analysis/LifetimeSafety FactsGenerator.cpp Loans.cpp, clang/test/Sema/LifetimeSafety invalidations.cpp

[LifetimeSafety] Support container interior paths and invalidations

This patch completes the implementation of path-sensitive lifetime tracking by supporting container interior paths (`.*`) and deep-nested invalidation.

- Enables `PathElement::getInterior` generation in `FactsGenerator` for GSL Owners and Views (e.g. member functions, function parameters, lambda captures).
- Removes bypass checks in `FactsGenerator::handleInvalidatingCall` to track container invalidation on fields.
- Updates `Checker` to use strict prefix comparison (`isStrictPrefixOf`) for container invalidations, ensuring invalidation of container contents (interior) correctly invalidates iterators but not other sibling fields.
- Reorganizes tests in `invalidations.cpp` by resolving duplicates and distributing them logically.
- Updates unit tests and sema tests with correct expectations for interior paths.

TAG=agy
CONV=2cfd8d00-18d7-4a03-8d78-2aba2f9a8f23
DeltaFile
+243-64clang/test/Sema/LifetimeSafety/invalidations.cpp
+228-67clang/unittests/Analysis/LifetimeSafetyTest.cpp
+30-10clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+9-4clang/test/Sema/LifetimeSafety/Inputs/lifetime-analysis.h
+12-0clang/lib/Analysis/LifetimeSafety/Loans.cpp
+9-2clang/lib/Analysis/LifetimeSafety/Checker.cpp
+531-1476 files

NetBSD/pkgsrc-wip 523be46gotosocial distinfo go-modules.mk, gotosocial/files gotosocial.sh

gotosocial: remove, updated in pkgsrc
DeltaFile
+0-1,871gotosocial/distinfo
+0-623gotosocial/go-modules.mk
+0-456gotosocial/PLIST
+0-83gotosocial/Makefile
+0-49gotosocial/files/gotosocial.sh
+0-29gotosocial/files/smf/manifest.xml
+0-3,1114 files not shown
+0-3,14510 files

FreeBSD/ports 25bd2d7x11/py-pyscreenshot Makefile distinfo

x11/py-pyscreenshot: Update version 3.0=>3.1

- Mark deprecated as upstream recommends using py-pillow
- Set EXPIRATION_DATE to 2026-10-31

Changelog: https://github.com/ponty/pyscreenshot/releases/tag/3.1
DeltaFile
+7-2x11/py-pyscreenshot/Makefile
+3-3x11/py-pyscreenshot/distinfo
+10-52 files

FreeBSD/ports aa5aec6devel/clojure-cider distinfo Makefile

devel/clojure-cider: Update version 2.0.0=>2.0.1

Changelog: https://github.com/clojure-emacs/cider/releases/tag/v2.0.1
DeltaFile
+3-3devel/clojure-cider/distinfo
+1-1devel/clojure-cider/Makefile
+4-42 files

FreeBSD/ports dbb483dtextproc/redisearch2 distinfo Makefile, textproc/redisearch2/files patch-src_geometry_CMakeLists.txt patch-deps_thpool_thpool.c

textproc/redisearch2: Update version 2.10.7=>2.10.8

Changelog: https://github.com/RediSearch/RediSearch/releases/tag/v2.10.8
DeltaFile
+15-0textproc/redisearch2/files/patch-src_geometry_CMakeLists.txt
+5-5textproc/redisearch2/distinfo
+4-4textproc/redisearch2/files/patch-deps_thpool_thpool.c
+3-3textproc/redisearch2/files/patch-src_fork__gc.c
+2-2textproc/redisearch2/files/patch-src_redis__index.c
+2-2textproc/redisearch2/Makefile
+31-161 files not shown
+33-187 files

FreeBSD/ports 196980fdevel/py-hgtools distinfo Makefile

devel/py-hgtools: Update version 7.0=>8.0

Changelog: https://github.com/jaraco/jaraco.vcs/releases/tag/hgtools-8.0
DeltaFile
+3-3devel/py-hgtools/distinfo
+4-1devel/py-hgtools/Makefile
+7-42 files

FreeBSD/ports e924c87finance/py-stripe distinfo Makefile

finance/py-stripe: Update version 6.0.0=>6.1.0

Changelog: https://github.com/stripe/stripe-python/releases/tag/v6.1.0
DeltaFile
+3-3finance/py-stripe/distinfo
+3-2finance/py-stripe/Makefile
+6-52 files

FreeBSD/ports 4d9f519textproc/redisearch28 distinfo Makefile

textproc/redisearch28: Update version 2.8.7=>2.8.8

Changelog: https://github.com/RediSearch/RediSearch/releases/tag/v2.8.8
DeltaFile
+3-3textproc/redisearch28/distinfo
+1-1textproc/redisearch28/Makefile
+4-42 files

FreeBSD/ports 8154b41databases/valkey8 distinfo Makefile

databases/valkey8: Update version 8.1.8=>8.1.9

Changelog: https://github.com/valkey-io/valkey/releases/tag/8.1.9
DeltaFile
+3-3databases/valkey8/distinfo
+1-1databases/valkey8/Makefile
+4-42 files

FreeBSD/ports 716c29ctextproc/redisearch26 distinfo Makefile

textproc/redisearch26: Update version 2.6.7=>2.6.9

Changelog: https://github.com/RediSearch/RediSearch/releases/tag/v2.6.9
DeltaFile
+7-7textproc/redisearch26/distinfo
+3-3textproc/redisearch26/Makefile
+10-102 files

FreeBSD/ports 53ee8e3textproc/redisearch24 distinfo Makefile

textproc/redisearch24: Update version 2.4.8=>2.4.9

Changelog: https://github.com/RediSearch/RediSearch/releases/tag/v2.4.9
DeltaFile
+3-3textproc/redisearch24/distinfo
+1-1textproc/redisearch24/Makefile
+4-42 files

FreeBSD/ports cec3a5edatabases/redis86 distinfo Makefile

databases/redis86: Update version 8.6.4=>8.6.5

Changelog: https://github.com/redis/redis/releases/tag/8.6.5
DeltaFile
+3-3databases/redis86/distinfo
+1-1databases/redis86/Makefile
+4-42 files

FreeBSD/ports c79850bdatabases/valkey distinfo Makefile

databases/valkey: Update version 9.1.0=>9.1.1

Changelog: https://github.com/valkey-io/valkey/releases/tag/9.1.1
DeltaFile
+3-3databases/valkey/distinfo
+1-1databases/valkey/Makefile
+4-42 files

FreeBSD/ports 19d7e50databases/redis distinfo Makefile

databases/redis: Update version 8.8.0=>8.8.1

Changelog: https://github.com/redis/redis/releases/tag/8.8.1
DeltaFile
+3-3databases/redis/distinfo
+1-1databases/redis/Makefile
+4-42 files