HardenedBSD/src 45935a4sys/dev/sound sndstat.c dummy.c, sys/dev/sound/midi midi.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+0-1,456sys/dev/sound/pcm/sndstat.c
+1,454-0sys/dev/sound/sndstat.c
+81-314sys/dev/sound/midi/midi.c
+16-36sys/dev/sound/pcm/feeder_rate.c
+48-2sys/dev/sound/dummy.c
+42-0sys/dev/sound/sndstat.h
+1,641-1,80836 files not shown
+1,751-2,00942 files

HardenedBSD/src 6ffcf5fsys/dev/sound sndstat.c dummy.c, sys/dev/sound/midi midi.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+0-1,456sys/dev/sound/pcm/sndstat.c
+1,454-0sys/dev/sound/sndstat.c
+81-314sys/dev/sound/midi/midi.c
+16-36sys/dev/sound/pcm/feeder_rate.c
+48-2sys/dev/sound/dummy.c
+42-0sys/dev/sound/sndstat.h
+1,641-1,80836 files not shown
+1,751-2,00942 files

LLVM/project 83ae144clang-tools-extra/clang-doc/assets class-template.mustache enum-template.mustache, clang-tools-extra/test/clang-doc enum.cpp

[clang-doc] Add class member enums to template (#173958)

Some Mustache tags for member enums already existed in the class
template, but they weren't compatible with the current JSON scheme.
DeltaFile
+31-12clang-tools-extra/test/clang-doc/enum.cpp
+10-12clang-tools-extra/clang-doc/assets/class-template.mustache
+1-1clang-tools-extra/clang-doc/assets/enum-template.mustache
+42-253 files

LLVM/project e4af5b1mlir/docs/Bindings Python.md, mlir/examples/standalone pyproject.toml CMakeLists.txt

[mlir][python] fix symbol resolution on MacOS with multiple packages (#174057)

# Problem:

There are two build system bugs on MacOS in the case where one intends
to use multiple bindings packages simultaneously (same Python
interpreter session):

1. The nanobind modules are built with
[`-Wl,-flat_namespace`](https://github.com/llvm/llvm-project/blob/8518d2c4057d9aa4249b8466a4d77771e4f1bf4f/llvm/cmake/modules/HandleLLVMOptions.cmake#L268)
thereby leading to ambiguous symbols across multiple whatever dylibs;
2. Intra-library symbol resolution (within the C API aggregate dylib)
fails to resolve symbols correctly unless things are built with
`-DCMAKE_C_VISIBILITY_PRESET=hidden -DCMAKE_CXX_VISIBILITY_PRESET=hidden
-DCMAKE_VISIBILITY_INLINES_HIDDEN=ON`.

# Repro:

On a Mac (with this patch applied):

    [51 lines not shown]
DeltaFile
+19-7mlir/examples/standalone/test/python/smoketest.py
+11-2mlir/test/Examples/standalone/test.wheel.toy
+12-0mlir/docs/Bindings/Python.md
+5-7mlir/examples/standalone/test/lit.cfg.py
+8-3mlir/examples/standalone/pyproject.toml
+6-1mlir/examples/standalone/CMakeLists.txt
+61-202 files not shown
+70-208 files

LLVM/project c77f0c1utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Fix Bazel build for 003b28d (#174232)

Co-authored-by: Pranav Kant <prka at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project 1140957llvm/test/CodeGen/X86 vector-smin-range.ll vector-smax-range.ll

[X86] Add basic test coverage for #174169 (#174226)

DeltaFile
+347-0llvm/test/CodeGen/X86/vector-smin-range.ll
+328-0llvm/test/CodeGen/X86/vector-smax-range.ll
+292-0llvm/test/CodeGen/X86/vector-umax-range.ll
+292-0llvm/test/CodeGen/X86/vector-umin-range.ll
+1,259-04 files

LLVM/project 501aa37llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

[SelectionDAG] Fix return type of JUMP_TABLE_DEBUG_INFO node (#174228)

The node has a chain result, not a glue.

Extracted from #168421.
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+1-11 files

LLVM/project 725abb3utils/bazel/llvm-project-overlay/lld BUILD.bazel

[Bazel] Fix buildifier failures

502c34250420eff47318568ab154f0a66c4a2324 fixed the build, but did not
order the dependencies correctly, so this broke buildifier.
DeltaFile
+2-2utils/bazel/llvm-project-overlay/lld/BUILD.bazel
+2-21 files

LLVM/project dd31576mlir/cmake/modules AddMLIR.cmake, mlir/examples/standalone pyproject.toml

remove vis attributes
DeltaFile
+0-9mlir/cmake/modules/AddMLIR.cmake
+3-3mlir/examples/standalone/pyproject.toml
+3-122 files

LLVM/project b45c20dllvm/include/llvm/IR IRBuilder.h, llvm/lib/IR IRBuilder.cpp

[IRBuilder] Introduce CreateSelectFMFWithUnknownProfile (#174162)

This came up in review feedback in
c163e7a72249cbc8105fbc5cc6a772e5dc90c94d. This function makes it easier
to create select instructions that propagate fast math flags with
unknown profile info, which is a common case. This mirrors the already
existing CreateSelectWithUknownProfile helper.
DeltaFile
+11-0llvm/lib/IR/IRBuilder.cpp
+2-4llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+6-0llvm/include/llvm/IR/IRBuilder.h
+19-43 files

LLVM/project 77149b3llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool BUILD.gn

[gn] port 5a9f34f16b90c29
DeltaFile
+1-0llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
+1-01 files

LLVM/project 35ab731clang-tools-extra/clang-doc Serialize.cpp JSONGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache

[clang-doc] Add friends to class template

This patch also allows comments to be associated with friend
declarations. Currently, it seems like the comments for friend `RecordDecl`
are taken from the actual class declaration, while a friend
function's comments are taken from the actual `friend` declaration.
DeltaFile
+59-3clang-tools-extra/test/clang-doc/json/class.cpp
+35-0clang-tools-extra/clang-doc/assets/class-template.mustache
+5-2clang-tools-extra/clang-doc/Serialize.cpp
+5-2clang-tools-extra/clang-doc/JSONGenerator.cpp
+4-0clang-tools-extra/clang-doc/BitcodeReader.cpp
+2-0clang-tools-extra/clang-doc/BitcodeWriter.cpp
+110-71 files not shown
+111-77 files

LLVM/project 7f18100clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache

[clang-doc] Add nested records to template

Nested records already had some tags, but they weren't
compatible with the current JSON scheme.
DeltaFile
+26-4clang-tools-extra/test/clang-doc/json/class.cpp
+12-12clang-tools-extra/clang-doc/assets/class-template.mustache
+7-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+45-173 files

LLVM/project f38dc1cclang-tools-extra/clang-doc/assets class-template.mustache enum-template.mustache, clang-tools-extra/test/clang-doc enum.cpp

[clang-doc] Add class member enums to template

Some Mustache tags for member enums already existed in the class
template, but they weren't compatible with the current JSON scheme.
DeltaFile
+31-12clang-tools-extra/test/clang-doc/enum.cpp
+10-12clang-tools-extra/clang-doc/assets/class-template.mustache
+1-1clang-tools-extra/clang-doc/assets/enum-template.mustache
+42-253 files

LLVM/project 5a9f34fclang-tools-extra/clang-doc HTMLGenerator.cpp Representation.h, clang-tools-extra/clang-doc/assets class-template.mustache namespace-template.mustache

[clang-doc] Add typedefs and aliases to templates (#173957)

This patch also adds optional template information to the typedef info
struct.
DeltaFile
+87-0clang-tools-extra/test/clang-doc/typedef-alias.cpp
+21-7clang-tools-extra/clang-doc/assets/class-template.mustache
+22-0clang-tools-extra/clang-doc/assets/namespace-template.mustache
+12-0clang-tools-extra/clang-doc/assets/alias-template.mustache
+5-5clang-tools-extra/clang-doc/HTMLGenerator.cpp
+3-3clang-tools-extra/clang-doc/Representation.h
+150-159 files not shown
+174-1615 files

LLVM/project 003b28dmlir/include/mlir/Dialect/MemRef/Utils MemRefUtils.h, mlir/lib/Dialect/Affine/Transforms FoldMemRefAliasOps.cpp

[mlir] Move affine's FoldMemRefAliasOps into its own pass (#172548)

I'm planning to introduce an interface that'll allow FoldMemRefAliasOps
to not know about dialects like NVVM or GPU. To do this, however, I need
to get the `affine` ops (which need special handling in order to handle
their implicit affine maps) into a separate pass, analogously to how
`amdgpu` ops have these patterns under their dialect and ton under
`memref`.

This commit also changes the expand/collapse_shape index resolvers to
return `void`, since they never actually failed and to make it clearer
that they modify IR.

(Note: An LLM did the initial refactoring and test movement, I've
reviewed the results and edited them some.)
DeltaFile
+253-0mlir/lib/Dialect/Affine/Transforms/FoldMemRefAliasOps.cpp
+2-193mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
+191-0mlir/test/Dialect/Affine/fold-memref-alias-ops.mlir
+25-149mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
+15-11mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
+9-11mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
+495-3645 files not shown
+519-37611 files

LLVM/project 20ef8b0llvm/include/llvm/IR IntrinsicsAMDGPU.td IntrinsicsNVVM.td, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-static-indirect-access-function-param-asan.ll amdgpu-sw-lower-lds-static-dynamic-lds-test-asan.ll

[AMDGPU] Add `nocreateundeforpoison` annotations (#166450)

This commit goes through IntrinsicsAMDGPU.td and adds
`nocreateundeforpoison` to intrinsics that (to my knowledge) perform
arithmetic operations that are defined everywhere (so no bitfield
extracts and such since those can have invalid inputs, and similarly for permutations).
DeltaFile
+238-290llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+99-93llvm/include/llvm/IR/IntrinsicsNVVM.td
+9-7llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-indirect-access-function-param-asan.ll
+14-2llvm/include/llvm/IR/Intrinsics.td
+7-6llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-dynamic-lds-test-asan.ll
+6-3llvm/test/Instrumentation/AddressSanitizer/asan-pass-second-run.ll
+373-40112 files not shown
+406-42718 files

LLVM/project c8119c2llvm/utils/gn/secondary/lld/COFF BUILD.gn, llvm/utils/gn/secondary/lld/ELF BUILD.gn

[gn] port b66557d8f852 and 24fb00dd2f439 (DTLTO)
DeltaFile
+9-0llvm/utils/gn/secondary/llvm/lib/DTLTO/BUILD.gn
+1-0llvm/utils/gn/secondary/lld/COFF/BUILD.gn
+1-0llvm/utils/gn/secondary/lld/ELF/BUILD.gn
+11-03 files

LLVM/project 2d45a91clang/lib/AST/ByteCode Descriptor.cpp Pointer.h, clang/test/AST/ByteCode cxx26.cpp

[clang][bytecode] Fix void*-to-ptr casts originating from new/new[] (#174132)

In void*-to-ptr casts, the type of the pointed-to object in the source
operand needs to be compared to the target pointee type.

If a block was created for a `new`/`new[]`/`std::allocator` expression,
then a pointer needs to be stripped from the type of the expression
(which points to the single-object allocation or first element of the
allocation) to get the former.

`Descriptor::getType` did not do this and `Descriptor::getDataType`
returns an array type for array allocations. Therefore this introduces a
new function `Descriptor::getDataElemType` with the same behavior as
`Descriptor::getDataType`, except that it always produces the element
type in the array case and avoids the need for an `ASTContext`
reference. Make `Pointer::getType` use this function instead.

Fixes #174131
DeltaFile
+16-0clang/lib/AST/ByteCode/Descriptor.cpp
+9-0clang/test/AST/ByteCode/cxx26.cpp
+2-1clang/lib/AST/ByteCode/Pointer.h
+1-0clang/lib/AST/ByteCode/Descriptor.h
+28-14 files

LLVM/project aa34f24lldb/source/Plugins/ExpressionParser/Clang ClangExpressionDeclMap.cpp

[lldb][ClangExpressionDeclMap][NFC] Remove redundant std::string cast

`getName` is an `llvm::StringRef`, which we can safely compare against a `const char*`. So there's no need to go via `std::string`.
DeltaFile
+1-2lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
+1-21 files

LLVM/project b4d8331llvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/X86 cast-costs.ll

[VPlan] Handle non-free bitcasts in getCostForRecipeWithOpcode.

Update bitcast cost handling to match the legacy cost model.
DeltaFile
+98-0llvm/test/Transforms/LoopVectorize/X86/cast-costs.ll
+6-2llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+104-22 files

NetBSD/pkgsrc GZ1FjIcdoc CHANGES-2026

   doc: updated dbmail
VersionDeltaFile
1.32+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc BE5PypAmail/dbmail Makefile PLIST, mail/dbmail/files dbmailsieved.sh dbmailhttpd.sh

   dbmail: update to 3.5.5

   pkgsrc changes:
     package now creates an unprivileged user
     conf file subsitutions for sane pgksrc defaults

   3.5.5
     DBMail 3.5.5 offers new features and a few bug fixes, including a new
     authentication method, improved support for Postfix, logging improvements
     and listing forwarders.
   DBMail 3.5.4
     Te main changes are better support for docker and systemd, MySQL compression
     and an anomaly in how libzdb handles NULLs.

   Version 3.5.3
     Various memory leaks fixed
     Fix invalid free and invalid read
     sieve port changed to 4190 as per rfc5804


    [20 lines not shown]
VersionDeltaFile
1.88+29-14mail/dbmail/Makefile
1.15+21-7mail/dbmail/PLIST
1.1+18-0mail/dbmail/files/dbmailsieved.sh
1.1+18-0mail/dbmail/files/dbmailhttpd.sh
1.14+4-4mail/dbmail/options.mk
1.22+4-4mail/dbmail/distinfo
+94-296 files not shown
+104-3912 files

Linux/linux 9b04368drivers/gpu/drm drm_pagemap.c, drivers/gpu/drm/i915/gem i915_gem_execbuffer.c

Merge tag 'drm-fixes-2026-01-02' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Happy New Year, jetlagged fixes from me, still pretty quiet, xe is
  most of this, with i915/nouveau/imagination fixes and some shmem
  cleanups.

  shmem:
   - docs and MODULE_LICENSE fix

  xe:
   - Ensure svm device memory is idle before migration completes
   - Fix a SVM debug printout
   - Use READ_ONCE() / WRITE_ONCE() for g2h_fence

  i915:
   - Fix eb_lookup_vmas() failure path

  nouveau:

    [14 lines not shown]
DeltaFile
+38-13drivers/gpu/drm/xe/xe_svm.c
+17-20drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+20-5drivers/gpu/drm/xe/xe_migrate.c
+14-3include/drm/drm_pagemap.h
+13-4drivers/gpu/drm/drm_pagemap.c
+10-4drivers/gpu/drm/xe/xe_guc_ct.c
+112-495 files not shown
+144-5411 files

DragonFlyBSD/src d21046eshare/man/man8 swapcache.8, sys/sys spinlock.h vnode.h

Fix various typos
DeltaFile
+2-2share/man/man8/swapcache.8
+2-2sys/vm/vm_zone.c
+1-1sys/sys/spinlock.h
+1-1sys/vfs/hammer2/hammer2_vnops.c
+1-1sys/vm/vm_map.c
+1-1sys/sys/vnode.h
+8-81 files not shown
+9-97 files

NetBSD/pkgsrc JKwONImdatabases/libzdb distinfo buildlink3.mk, databases/libzdb/patches patch-src_system_Time.c patch-src_util_Str.c

   libzdb: update to 3.5.0

   Version 3.5.0
   Added numeric DB error codes and SQLSTATE support (PostgreSQL).
   Blocks MySQL proxies by default due to protocol issues.
   Oracle cleanup; supports 18c+, fixes transaction bugs.
   More reliable MySQL/PostgreSQL ping and reconnect behavior.
   Fixed multi-threaded pool memory and locking issues.

   Version 3.4.1
   ConnectionPool can report database type.
   Optional SQLite shared cache for better concurrency.
   SSL/TLS options added to MySQL and PostgreSQL URLs.
   Removed SQLite heap_limit URL parameter.

   Version 3.4.0
   Configurable transaction isolation on begin.
   New valueOr macro for safer return handling.
   SQLite multi-thread mode enabled by default.

    [8 lines not shown]
VersionDeltaFile
1.3+12-12databases/libzdb/patches/patch-src_system_Time.c
1.12+5-9databases/libzdb/distinfo
1.29+6-6databases/libzdb/buildlink3.mk
1.2+6-3databases/libzdb/options.mk
1.42+2-3databases/libzdb/Makefile
1.2+1-1databases/libzdb/patches/patch-src_util_Str.c
+32-344 files not shown
+36-3710 files

LLVM/project a5e59faclang-tools-extra/clang-doc JSONGenerator.cpp Serialize.cpp, clang-tools-extra/clang-doc/assets class-template.mustache

[clang-doc] Add friends to class template

This patch also allows comments to be associated with friend
declarations. Currently, it seems like the comments for friend `RecordDecl`
are taken from the actual class declaration, while a friend
function's comments are taken from the actual `friend` declaration.
DeltaFile
+59-3clang-tools-extra/test/clang-doc/json/class.cpp
+35-0clang-tools-extra/clang-doc/assets/class-template.mustache
+5-2clang-tools-extra/clang-doc/JSONGenerator.cpp
+5-2clang-tools-extra/clang-doc/Serialize.cpp
+4-0clang-tools-extra/clang-doc/BitcodeReader.cpp
+2-0clang-tools-extra/clang-doc/BitcodeWriter.cpp
+110-71 files not shown
+111-77 files

LLVM/project 33b7a89clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache

[clang-doc] Add nested records to template

Nested records already had some tags, but they weren't
compatible with the current JSON scheme.
DeltaFile
+26-4clang-tools-extra/test/clang-doc/json/class.cpp
+12-12clang-tools-extra/clang-doc/assets/class-template.mustache
+7-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+45-173 files

LLVM/project e2ee738clang/lib/Analysis RetainSummaryManager.cpp, clang/lib/StaticAnalyzer/Core CallEvent.cpp

Retire StrInStrNoCase. NFC.
DeltaFile
+7-8clang/lib/Analysis/RetainSummaryManager.cpp
+0-13llvm/lib/Support/StringExtras.cpp
+6-6clang/lib/StaticAnalyzer/Core/CallEvent.cpp
+0-5llvm/include/llvm/ADT/StringExtras.h
+13-324 files

LLVM/project 80466ffclang-tools-extra/clang-doc/assets class-template.mustache enum-template.mustache, clang-tools-extra/test/clang-doc enum.cpp

[clang-doc] Add class member enums to template

Some Mustache tags for member enums already existed in the class
template, but they weren't compatible with the current JSON scheme.
DeltaFile
+31-12clang-tools-extra/test/clang-doc/enum.cpp
+10-12clang-tools-extra/clang-doc/assets/class-template.mustache
+1-1clang-tools-extra/clang-doc/assets/enum-template.mustache
+42-253 files