LLVM/project 254e167llvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn build] Port f84556dffb72 (#216112)
DeltaFile
+1-0llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+1-01 files

LLVM/project e82c98fllvm/utils/gn/secondary/llvm/lib/Transforms/Utils BUILD.gn, llvm/utils/gn/secondary/llvm/unittests/Transforms/Utils BUILD.gn

[gn build] Port edc3a42bc22d (#216111)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn
+1-0llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
+2-02 files

LLVM/project b8361fbllvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn build] Port c8027b4e95d5 (#216110)
DeltaFile
+1-0llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+1-01 files

LLVM/project c0366d6llvm/utils/gn/secondary/llvm/tools/obj2yaml BUILD.gn

[gn build] Port 5f59554a3922 (#216109)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/tools/obj2yaml/BUILD.gn
+1-01 files

LLVM/project f176f20llvm/utils/gn/secondary/clang/unittests/CIR BUILD.gn

[gn build] Port 16ca9a2e1a5b (#216108)
DeltaFile
+1-0llvm/utils/gn/secondary/clang/unittests/CIR/BUILD.gn
+1-01 files

LLVM/project d9e6f69llvm/lib/Target/AMDGPU AMDGPUPromoteAlloca.cpp, llvm/test/CodeGen/AMDGPU promote-alloca-vector-dynamic-idx-bitcasts.ll

[AMDGPU] Fix a crash caused by bitcast type mismatch (#215933)

Fixes ROCM-29461.
DeltaFile
+22-0llvm/test/CodeGen/AMDGPU/promote-alloca-vector-dynamic-idx-bitcasts.ll
+4-2llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
+26-22 files

FreeBSD/src f9dfe9blib/libc/string strpbrk.3 memchr.3

libc: Use C23 pseudo-types in qualifier-preserving man page synopses

Reviewed by:    fuz
Approved by:    fuz (mentor)
MFC after:      1 month
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2288
DeltaFile
+10-10lib/libc/string/wmemchr.3
+8-8lib/libc/string/strstr.3
+8-8lib/libc/string/string.3
+6-6lib/libc/string/strchr.3
+4-4lib/libc/string/memchr.3
+2-2lib/libc/string/strpbrk.3
+38-383 files not shown
+44-449 files

FreeBSD/src d08296cinclude wchar.h string.h, lib/libc/string string.3 strstr.3

libc: Implement qualifier-preserving standard library functions

Several standard library functions are specified to return an unqualified
pointer while accepting a pointer to a potentially const-qualified object.
N3020 addresses this behaviour, discarding qualifiers due to incompatible
pointer types, by introducing qualifier-preserving macros for the affected
set of standard library functions.

Add `__qualsel()` helper to `<sys/cdefs.h>`, implemented using the generic
selection, and define qualifier-preserving macros for that set of functions
in `<string.h>`, `<wchar.h>`, and `<stdlib.h>`.

Macros are gated on `_STDC_VERSION__ >= 202311L && !__cplusplus`, therefore
there is no behavioural change for earlier C modes or C++ translation units.
The kernel is likewise unaffected, as it does not include userland headers.

As function-like macros, they are transparent except at a call site where
the address-of operator is applied, the macro is suppressed via `#undef`,
or the identifier appears in parenthesised form; all of which cause the

    [6 lines not shown]
DeltaFile
+46-10lib/libc/string/wmemchr.3
+28-0include/string.h
+17-4lib/libc/string/strstr.3
+21-0sys/sys/cdefs.h
+11-5lib/libc/string/string.3
+14-0include/wchar.h
+137-197 files not shown
+187-3313 files

LLVM/project 5fa5caaclang/lib/Lex HeaderSearch.cpp, clang/test/Preprocessor header-shadowing-stats.c

[clang][lex] Cache stat failures in `-Wshadow-header` (#215962)

The `-Wshadow-header` warning introduced in
https://github.com/llvm/llvm-project/pull/162491 gets enabled by
`-Weverything` and causes `O(H*I*S)` extra `status()` syscalls (where H
is the number of included headers, I is the average number of inclusions
per header, S is the number of search paths). This is caused by
proactively probing search paths even after finding a suitable header,
and calling `FileManager` with `CacheFailure = false`.

There's no reason to not cache the non-existence of header files during
these probes. This PR starts caching these, bringing down the complexity
to `O(H*S)` and adds a regression test.
DeltaFile
+22-0clang/test/Preprocessor/header-shadowing-stats.c
+2-2clang/lib/Lex/HeaderSearch.cpp
+24-22 files

NetBSD/pkgsrc HJhVDl3doc CHANGES-2026

   doc: Updated www/ruby-rack2 to 2.2.24
VersionDeltaFile
1.5256+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 3HoI6pFwww/ruby-rack2 Makefile distinfo

   www/ruby-rack2: update to 2.2.24

   2.2.23 (2026-04-01)

   Security

   * CVE-2026-34763 Root directory disclosure via unescaped regex interpolation
     in Rack::Directory.

   * CVE-2026-34230 Avoid O(n^2) algorithm in Rack::Utils.select_best_encoding
     which could lead to denial of service.

   * CVE-2026-26961 Raise error for multipart requests with multiple boundary
     parameters.

   * CVE-2026-34786 Rack::Static header_rules bypass via URL-encoded path
     mismatch.

   * CVE-2026-34831 Content-Length mismatch in Rack::Files error responses.

    [19 lines not shown]
VersionDeltaFile
1.17+4-4www/ruby-rack2/distinfo
1.17+2-2www/ruby-rack2/Makefile
+6-62 files

LLVM/project d18189fllvm/include/llvm/ProfileData SampleProf.h, llvm/unittests/ProfileData SampleProfTest.cpp

[ProfileData] Reject incompatible ExtBinary section flags (#215470)

Reject section-specific ExtBinary flags that do not belong to the given
section type, instead of silently accepting the mismatch. A death unit
test covers applying SecFlagOrdered to SecLBRProfile.
DeltaFile
+10-0llvm/unittests/ProfileData/SampleProfTest.cpp
+2-1llvm/include/llvm/ProfileData/SampleProf.h
+12-12 files

LLVM/project 0a33cf5llvm/lib/Transforms/IPO LowerTypeTests.cpp ThinLTOBitcodeWriter.cpp, llvm/test/Transforms/LowerTypeTests promoted-internal.ll

[CFI] Create an external linkage alias instead of promoting internals
DeltaFile
+19-32llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+35-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+29-0llvm/test/Transforms/LowerTypeTests/promoted-internal.ll
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+4-2llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll
+3-2llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
+100-432 files not shown
+104-478 files

LLVM/project fd2c8bbllvm/lib/Transforms/IPO WholeProgramDevirt.cpp, llvm/test/ThinLTO/X86 devirt-alias-attributes.ll devirt-alias-cross-module.ll

[WPD] Dereference `GlobalAlias` targets
DeltaFile
+84-0llvm/test/ThinLTO/X86/devirt-alias-cross-module-interposable.ll
+78-0llvm/test/ThinLTO/X86/devirt-alias-attributes-interposable.ll
+61-0llvm/test/ThinLTO/X86/devirt-alias-cross-module.ll
+51-0llvm/test/ThinLTO/X86/devirt-alias-attributes.ll
+37-0llvm/test/Transforms/WholeProgramDevirt/uniform-retval-alias.ll
+11-4llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+322-41 files not shown
+327-77 files

LLVM/project 121e0c9llvm/include/llvm-c/CAS PluginAPI_functions.h, llvm/include/llvm/CAS ObjectStore.h

[CAS] Add ObjectStore::getStandaloneMemoryBuffer() (#215360)

getMemoryBuffer() is documented as returning a buffer "whose lifetime is
independent of the CAS (it can live longer)", but it is implemented with
MemoryBuffer::getMemBuffer() over whatever getData() returns. For an
on-disk CAS that is a pointer into the store's own mapping, so the buffer
dies with the store. Fix the comment to say what it does, and add
getStandaloneMemoryBuffer() for callers that need the documented
behavior.

The default implementation copies, which always satisfies the lifetime
requirement, so ObjectStore implementations are correct without changes.
An implementation that can hand out storage outliving itself overrides
getStandaloneMemoryBufferImpl() to avoid the copy.

OnDiskGraphDB does that for objects big enough to have a file of their own,
reading that file again rather than sharing the mapping it already has, so
the result stays valid even once the CAS directory is pruned and its pages
can be shared and reclaimed rather than charged to the process. Everything

    [5 lines not shown]
DeltaFile
+150-0llvm/unittests/CAS/ObjectStoreTest.cpp
+83-0llvm/lib/CAS/OnDiskGraphDB.cpp
+51-0llvm/lib/CAS/PluginCAS.cpp
+33-4llvm/include/llvm/CAS/ObjectStore.h
+37-0llvm/tools/libCASPluginTest/libCASPluginTest.cpp
+23-0llvm/include/llvm-c/CAS/PluginAPI_functions.h
+377-49 files not shown
+449-515 files

NetBSD/pkgsrc fo4OhyUdoc CHANGES-2026

   doc: Updated www/ruby-rack to 3.2.7
VersionDeltaFile
1.5255+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 3VjoZsUwww/ruby-rack Makefile distinfo

   www/ruby-rack: update to 3.2.7

   3.2.7 (2026-08-13)

   Fixed

   * Restore Ruby 2.4/2.5 compatibility.
VersionDeltaFile
1.56+4-4www/ruby-rack/distinfo
1.58+2-2www/ruby-rack/Makefile
+6-62 files

FreeBSD/ports 581f7eddevel/gitlab-runner Makefile distinfo

devel/gitlab-runner: update to 19.2.2

Changes:        https://gitlab.com/gitlab-org/gitlab-runner/-/blob/v19.2.2/CHANGELOG.md?ref_type=tags
(cherry picked from commit 429512bc67e5b0001b6d3568e7f8c94f7526445b)
DeltaFile
+9-9devel/gitlab-runner/distinfo
+1-2devel/gitlab-runner/Makefile
+10-112 files

FreeBSD/ports 5267d2adevel/gitaly distinfo, net/gitlab-agent distinfo

www/gitlab: security and patch update to 19.2.2

Changes:        https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-2-released/?nav=19.2.2
Security:       2c73b6d5-971c-11f1-bdc8-2cf05da270f3
(cherry picked from commit b014d5682749e953872aee14b4764bb0281d8e86)
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.common
+35-356 files

FreeBSD/ports 823a94cdevel/glab pkg-plist Makefile

devel/glab: update to 1.113.0

Changes:        https://gitlab.com/gitlab-org/cli/-/releases
(cherry picked from commit a767b82a3581746c08fa2a811348a5c650ac14ee)
DeltaFile
+5-5devel/glab/distinfo
+2-2devel/glab/Makefile
+3-0devel/glab/pkg-plist
+10-73 files

FreeBSD/ports bb0b2d3security/trivy Makefile distinfo

security/trivy: update to 0.73.0

Changes:        https://github.com/aquasecurity/trivy/releases
(cherry picked from commit d03738973f576ecdc8c7bc05f3ad26c791cf2956)
DeltaFile
+5-5security/trivy/distinfo
+1-2security/trivy/Makefile
+6-72 files

FreeBSD/ports e76546fwww/linux-freetube Makefile distinfo

www/linux-freetube: Update to 0.25.2.b

ChangeLog:      https://github.com/FreeTubeApp/FreeTube/releases/tag/v0.25.2-beta
Reported by:    efb4f5ff-1298-471a-8973-3d47447115dc <notifications at github.com>
DeltaFile
+3-3www/linux-freetube/distinfo
+1-1www/linux-freetube/Makefile
+4-42 files

FreeBSD/ports 742fa13devel/glab pkg-plist Makefile

devel/glab: update to 1.112.0

Changes:        https://gitlab.com/gitlab-org/cli/-/releases
(cherry picked from commit 267e634699e2f76cff5276a68d9a436a23c4d666)
DeltaFile
+5-5devel/glab/distinfo
+2-2devel/glab/Makefile
+3-0devel/glab/pkg-plist
+10-73 files

LLVM/project f4bfcf2llvm/lib/Target/DirectX DXILShaderFlags.cpp, llvm/test/CodeGen/DirectX/ShaderFlags advanced-texture-ops.ll

[DirectX] Set AdvancedTextureOps flag for basic sample ops with non-constant offset (#215916)

Fixes https://github.com/llvm/llvm-project/issues/210462

This PR modifies `DXILShaderFlags.cpp` to set the `AdvancedTextureOps`
shader flag true whenever any of

- `Intrinsic::dx_resource_load_level`
- `Intrinsic::dx_resource_sample`
- `Intrinsic::dx_resource_sample_clamp`
- `Intrinsic::dx_resource_samplebias`
- `Intrinsic::dx_resource_samplebias_clamp`
- `Intrinsic::dx_resource_samplelevel`
- `Intrinsic::dx_resource_samplegrad`
- `Intrinsic::dx_resource_samplegrad_clamp`
  
are used with a non-constant offset.

Assisted by: Claude Opus 5
DeltaFile
+185-0llvm/test/CodeGen/DirectX/ShaderFlags/advanced-texture-ops.ll
+37-0llvm/lib/Target/DirectX/DXILShaderFlags.cpp
+222-02 files

LLVM/project 9713dc8clang/lib/CodeGen CGDebugInfo.cpp, clang/test/DebugInfo/X86 debug-info-thread-locals.cpp debug-info-static-locals.cpp

[clang][DebugInfo] Emit static local variables in their lexical block scope (#213153)

With the backend support from #187927 in place, emit DIGlobalVariable
nodes for static local variables in their corresponding DILexicalBlock
scope. This allows debug info consumers to distinguish between static
local variables with the same name declared in different lexical blocks.

Fixes https://github.com/llvm/llvm-project/issues/19612.

Authored-by: Kristina Bessonova <kbessonova at accesssoftek.com>
DeltaFile
+57-0clang/test/DebugInfo/X86/debug-info-static-locals.cpp
+45-0cross-project-tests/debuginfo-tests/dexter-tests/static-locals-in-lb.c
+25-0clang/test/DebugInfo/X86/debug-info-thread-locals.cpp
+8-0clang/lib/CodeGen/CGDebugInfo.cpp
+135-04 files

LLVM/project 1ccdf48mlir/lib/Dialect/Vector/Transforms LowerVectorTransfer.cpp, mlir/test/Dialect/Vector vector-transfer-permutation-lowering.mlir

[mlir][vector] Support masked ops in the transfer permutation lowerings (#215318)

`LowerVectorTransfer.cpp` builds its patterns on `MaskableOpRewritePattern`,
whose purpose is to let a pattern rewrite an op sitting inside a `vector.mask`
region, but every one of them declines to:

```cpp
// TODO: Support transfer_read inside MaskOp case.
if (maskOp)
  return rewriter.notifyMatchFailure(op, "Masked case not supported");
```

This turns that path on for `TransferReadPermutationLowering` and
`TransferWritePermutationLowering`.

The mask itself needs no adjustment, which is the part worth checking. Per
`inferTransferOpMaskType`, a transfer op's mask is not indexed like the
transferred vector: its shape is the vector shape mapped back through the
inverse of the permutation map, so it is indexed in memory order. Both rewrites

    [17 lines not shown]
DeltaFile
+37-9mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
+25-11mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
+62-202 files

FreeBSD/src 4a8bf4dtests/sys/netpfil/pf pfsync.sh

pfsync test: reduce the number of states to bulk-sync

We created so many states that our bulk-sync occasionally caused epair
to drop packets, which in turn caused the test to fail. That's not what
we're testing here, make it more robust by creating fewer states.

PR:             297307
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+1-1tests/sys/netpfil/pf/pfsync.sh
+1-11 files

LLVM/project 462a341llvm/lib/Target/AMDGPU SIInstrInfo.h AMDGPUBarrierLatency.cpp

[NFC][AMDGPU] Avoid using raw TSFlags in AMDGPUBarrierLatency.cpp (#213064)

Add safety namespace to prevent future attempts - this also proves
we don't have those uses anymore.
DeltaFile
+69-61llvm/lib/Target/AMDGPU/SIDefines.h
+7-9llvm/lib/Target/AMDGPU/AMDGPUBarrierLatency.cpp
+2-2llvm/lib/Target/AMDGPU/SIInstrInfo.h
+78-723 files

LLVM/project 8eeef73lldb/source/Plugins/SymbolFile/NativePDB SymbolFileNativePDB.cpp, lldb/test/Shell/SymbolFile/NativePDB invalid-field-list-reference.yaml

[lldb][NativePDB] Check record types before deserializing (#215847)

When running the `lldb/test/Shell/Expr/TestIRMemoryMapWindows.test` on
my machine, I saw an assertion failure when walking an `LF_FIELDLIST`.
Specifically this assertion:
https://github.com/llvm/llvm-project/blob/8fda9eee8956d4ac5a393689ccbde16a0d3a72b3/llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp#L243

The exact assertion isn't that important, although I think `MemberKind`
isn't reset correctly in `TypeRecordMapping::visitMemberEnd`.

The point is that we were visiting data that didn't belong to an
`LF_FIELDLIST` when building the parent map, because we didn't check the
record type before deserializing with
`TypeDeserializer::deserializeAs<FieldListRecord>`. I added a check for
this.

There are more cases where we call `deserializeAs` but didn't check the
symbol type in the function. However, in these cases, the callers
already check the type. I still added safety checks for them.
Furthermore, we still have some `lldbassert`s in the file. I'll remove
them in a followup PR.
DeltaFile
+233-0lldb/test/Shell/SymbolFile/NativePDB/invalid-field-list-reference.yaml
+10-1lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
+243-12 files

LLVM/project 5802296libc/test/src CMakeLists.txt, libc/test/src/math CMakeLists.txt

[libc] Add `NEED_MPFR_F128` argument to add_fp_unittest. (#215657)

Currently, the MPFR would link unconditionally when we remove the
function from the guards to make it available everywhere. This
introduces another problem with the function's test, in which MPFR is
used, which would also get tested unconditionally now .

The MPFR would use native float128 types internally when built on a
compiler with float128 support. But where it doesn't have native
support, it would fail .
Thus, to prevent this failure, we only run the MPFR tests for targets
with native float128 by adding `NEED_MPFR128`
DeltaFile
+14-9libc/test/src/math/smoke/atanbf16_test.cpp
+14-9libc/test/src/math/smoke/acosbf16_test.cpp
+9-9libc/test/src/math/CMakeLists.txt
+12-1libc/test/src/CMakeLists.txt
+0-6libc/test/src/math/smoke/CMakeLists.txt
+49-345 files