LLVM/project 7817197compiler-rt/lib/asan asan_allocator.cpp asan_malloc_win.cpp, compiler-rt/test/asan/TestCases/Windows rtlsizeheap_zero.cpp heaprealloc_alloc_zero.cpp

[ASan][Windows] Fix false positive for zero sized rtl allocations (#181015)

This is a follow up to #155943

On Windows, ASan's allocator internally upgrades zero-size allocation
requests to size 1 (since malloc(0) must return a unique non-NULL
pointer). However, when the user queries the allocation size through
Windows heap APIs (RtlSizeHeap, HeapSize, \_msize, GlobalSize,
LocalSize), ASan reports the internal size (1) instead of the originally
requested size (0).

This causes false positive heap-buffer-overflow errors in a common
pattern:

```c++
void *buf = HeapAlloc(GetProcessHeap(), 0, 0);
SIZE_T size = HeapSize(GetProcessHeap(), 0, buf);  // Returns 1, should be 0
if(size > 0) // could remove this and still be correct
    memset(buf, 0, size);  // ASan reports heap-buffer-overflow

    [8 lines not shown]
DeltaFile
+107-0compiler-rt/test/asan/TestCases/Windows/rtlsizeheap_zero.cpp
+53-2compiler-rt/lib/asan/asan_allocator.cpp
+12-1compiler-rt/lib/asan/asan_malloc_win.cpp
+3-2compiler-rt/test/asan/TestCases/Windows/heaprealloc_alloc_zero.cpp
+175-54 files

LLVM/project 0a041a6lldb/source/Plugins/Highlighter/TreeSitter/Swift SwiftTreeSitterHighlighter.cpp SwiftTreeSitterHighlighter.h, lldb/source/Plugins/Highlighter/TreeSitter/Swift/tree-sitter-swift grammar.js scanner.c

[lldb] Add tree-sitter based Swift syntax highlighting

This adds tree-sitter based Swift syntax highlighting to LLDB. It
consists of the SwiftTreeSitterHighlighter plugin and the Swift grammar
from [1], which is licensed under MIT.

[1] https://github.com/alex-pinkus/tree-sitter-swift

Depends on:
*  https://github.com/llvm/llvm-project/pull/181282
DeltaFile
+1,594-0lldb/source/Plugins/Highlighter/TreeSitter/Swift/tree-sitter-swift/grammar.js
+865-0lldb/source/Plugins/Highlighter/TreeSitter/Swift/tree-sitter-swift/scanner.c
+336-0lldb/source/Plugins/Highlighter/TreeSitter/Swift/tree-sitter-swift/highlights.scm
+43-0lldb/source/Plugins/Highlighter/TreeSitter/Swift/SwiftTreeSitterHighlighter.cpp
+40-0lldb/source/Plugins/Highlighter/TreeSitter/Swift/SwiftTreeSitterHighlighter.h
+39-0lldb/source/Plugins/Highlighter/TreeSitter/Swift/tree-sitter-swift/tree-sitter.json
+2,917-06 files not shown
+3,036-212 files

LLVM/project 43fcc26clang/lib/Driver/ToolChains Darwin.cpp, lld/MachO Driver.cpp

[Support] Support 5-component VersionTuples (#181275)

LLDB parses compiler versions out of DW_AT_producer DWARF attributes
into a VersionTuple. The Swift compiler recently switched to 5-component
version numbers. In order to support this version scheme without growing
the size of VersionTuple, this patch dedicates the last 10 bits of the
build version to a 5th "sub-build" component. The Swift compiler
currently uses 1 digit for this and promises to never use more than 3
digits for the last 3 components.

This patch still leaves 6 decimal digits for the build component for
other version schemes.

rdar://170181060
DeltaFile
+46-21llvm/include/llvm/Support/VersionTuple.h
+25-6llvm/lib/Support/VersionTuple.cpp
+23-1llvm/unittests/Support/VersionTupleTest.cpp
+5-6lld/MachO/Driver.cpp
+7-3clang/lib/Driver/ToolChains/Darwin.cpp
+3-3lld/test/MachO/platform-version.s
+109-406 files

LLVM/project 6bdabc4clang/docs AMDGPUBuiltins.rst

- further refine
- cross reference from AMD's official GPUOpen Machine-Readable ISA
- Improve readability for broader target audience
DeltaFile
+534-356clang/docs/AMDGPUBuiltins.rst
+534-3561 files

LLVM/project ecee70elibc/src/string/memory_utils/generic inline_strlen.h, libc/src/string/memory_utils/x86_64 inline_strlen.h

Implement vector version of memchr, and dispatch to same (#177711)

As in the description. 

This implementation shares quite a bit of code with the wide-read
versions of string_length.
DeltaFile
+94-17libc/src/string/memory_utils/x86_64/inline_strlen.h
+46-5libc/src/string/memory_utils/generic/inline_strlen.h
+21-0libc/test/src/strings/wide_read_memory_test.cpp
+161-223 files

LLVM/project 3136188clang/docs AMDGPUBuiltins.rst

add a warning
DeltaFile
+5-0clang/docs/AMDGPUBuiltins.rst
+5-01 files

LLVM/project 8eda605clang/docs AMDGPUBuiltins.rst index.rst

[RFC][Docs][Clang][AMDGPU] Add AMDGPU builtins documentation

Add comprehensive documentation for AMDGPU target-specific builtins
(`AMDGPUBuiltins.rst`) covering argument semantics, restrictions, and
lowering notes for all builtin families.

This documentation was generated by AI (Claude) by cross-referencing:
- `clang/include/clang/Basic/BuiltinsAMDGPU.td` (builtin definitions)
- `llvm/include/llvm/IR/IntrinsicsAMDGPU.td` (intrinsic definitions)
- `clang/lib/Sema/SemaAMDGPU.cpp` (argument validation/constraints)
- `clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp` (lowering logic)

I did my best to proofread the parts I'm familiar with, but it would be greatly
appreciated if more people could help review it as well.
DeltaFile
+1,807-0clang/docs/AMDGPUBuiltins.rst
+1-0clang/docs/index.rst
+1,808-02 files

LLVM/project 5e36908clang/docs AMDGPUBuiltins.rst

fix doc build error
DeltaFile
+3-3clang/docs/AMDGPUBuiltins.rst
+3-31 files

LLVM/project 9d07a3fcompiler-rt/lib/asan asan_allocator.cpp asan_malloc_win.cpp, compiler-rt/test/asan/TestCases/Windows heaprealloc_alloc_zero.cpp

PR feedback - DCHECK and comments
DeltaFile
+10-5compiler-rt/lib/asan/asan_allocator.cpp
+0-2compiler-rt/lib/asan/asan_malloc_win.cpp
+1-0compiler-rt/test/asan/TestCases/Windows/heaprealloc_alloc_zero.cpp
+11-73 files

LLVM/project 742af32clang/docs ReleaseNotes.rst, clang/lib/Sema SemaInit.cpp

Reapply "[clang] Fix sema on ObjCLifetime conversion (#178524)" (#180817)

Clang can't handle objc lifetime correctly when casting We reuse the
approach similar to lifetime: First remove it before the conversion,
then add it back.

Add a test

Fixes https://github.com/llvm/llvm-project/issues/177478
DeltaFile
+69-0clang/test/CodeGenObjCXX/arc-lifetime-rvalue-ref-binding.mm
+39-0clang/test/SemaObjCXX/arc-lifetime-rvalue-ref-binding.mm
+10-1clang/lib/Sema/SemaInit.cpp
+1-0clang/docs/ReleaseNotes.rst
+119-14 files

FreeNAS/freenas f121409. CLAUDE.md, src/middlewared/middlewared/alembic/versions/26.0 2026-02-12_15-37_split_dataset_paths.py

NAS-139300 / 26.0.0-BETA.1 / Add dataset and relative_path fields to share entries (#18021)

This represents the first change for
[NAS-137337](https://ixsystems.atlassian.net/browse/NAS-137337). We may
choose to do something similar for other services that use dataset
paths.

* Add "dataset" field which is calculated on create and update based on
"path"
* Add "relative_path" field which is calculated on create and update
based on "path"
* Keep "path" field to avoid concatenating the fields and prepending
"/mnt/" when the full path is required
* No extra mess in `extend` and `compress`

1. Alembic migration adds columns to all `SharingServiceTask` services.
2. migration/0018 attempts to populate the columns based on the existing
path fields.
3. `pool.import` and `pool.dataset.unlock` call hooks to query

    [2 lines not shown]
DeltaFile
+318-0CLAUDE.md
+217-0tests/api2/test_sharing_path_resolution_hooks.py
+101-2src/middlewared/middlewared/service/sharing_service.py
+98-4src/middlewared/middlewared/utils/mount.py
+57-0src/middlewared/middlewared/alembic/versions/26.0/2026-02-12_15-37_split_dataset_paths.py
+37-0src/middlewared/middlewared/migration/0018_resolve_dataset_paths.py
+828-628 files not shown
+977-1634 files

FreeBSD/src fd52a9bcontrib/diff/src diff3.c, gnu/usr.bin/diff3 Makefile

diff3: Use a format string to quiet a compiler warning

And bump WARNS to 2
DeltaFile
+1-1contrib/diff/src/diff3.c
+1-1gnu/usr.bin/diff3/Makefile
+2-22 files

FreeBSD/src 08208cdbin/timeout timeout.c timeout.1

timeout: Clean up

* Annotate logv() and fix format string bug.

* Don't reinvent str2sig(3).

* Reorganize kill_self() so we unblock signals as late as possible, and
  use raise(2) instead of kill(2).

* Explicitly close unused pipe descriptors.

* Use correct type to collect result of read(2) and write(2).

* Compare return values to 0, not -1.

* Sort local variables according to style(9).

* Reduce unnecessary nesting.


    [8 lines not shown]
DeltaFile
+73-85bin/timeout/timeout.c
+1-1bin/timeout/timeout.1
+74-862 files

FreeBSD/src b253243usr.bin/diff/tests diff_test.sh

diff: Tweak recursion tests

The -r flag is not required to compare two directories; it is only
required to compare them recursively, i.e. descend into their common
subdirectories.  Adjust tests that use -r needlessly, and adjust the
dirloop test to verify that these two cases remain distinct.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55262
DeltaFile
+16-14usr.bin/diff/tests/diff_test.sh
+16-141 files

FreeBSD/src 790f1d1usr.bin/diff diff.c, usr.bin/diff/tests diff_test.sh

diff: Tweak range of -C and -U arguments

POSIX uses the terms “positive decimal integer” for -C and “non-negative
decimal integer” for -U, which translates into lower bounds of 1 for -C
and 0 for -U.

POSIX does not specify a minimum upper bound for either mode, but as of
5fc739eb5949 both our backends support context sizes up to and including
INT_MAX, so use that.

Having had the opportunity to consult the Unix System Test Suite, the
diff test cases found therein happen to precisely match these bounds.

While here, switch to using strtonum() to parse numerical arguments, and
try to be more consistent in how we report usage errors.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55261
DeltaFile
+38-24usr.bin/diff/tests/diff_test.sh
+26-18usr.bin/diff/diff.c
+64-422 files

Linux/linux 44331bdfs/proc task_mmu.c, mm page_alloc.c hugetlb.c

Merge tag 'mm-hotfixes-stable-2026-02-13-07-14' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull MM fixes from Andrew Morton:
 "Three MM hotfixes, all three are cc:stable"

* tag 'mm-hotfixes-stable-2026-02-13-07-14' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
  procfs: fix possible double mmput() in do_procmap_query()
  mm/page_alloc: skip debug_check_no_{obj,locks}_freed with FPI_TRYLOCK
  mm/hugetlb: restore failed global reservations to subpool
DeltaFile
+11-6mm/page_alloc.c
+9-0mm/hugetlb.c
+2-1fs/proc/task_mmu.c
+22-73 files

LLVM/project 8cd31aalldb/include/lldb/Breakpoint StopCondition.h, lldb/test/API/functionalities/breakpoint/update_condition TestUpdateBreakpointCondition.py main.c

[lldb/Breakpoint] Fix condition hash after updating condition text (#181409)

StopCondition::SetText was computing the hash from the moved-from text
parameter instead of the stored m_text member. After std::move(text),
the source parameter becomes empty, causing the hash to always be
computed from an empty string.

This caused breakpoint condition updates to fail silently. When a user
modified a condition (e.g., from "x == y" to "x > y"), the hash remained
unchanged. Breakpoint locations use this hash to detect when conditions
need re-evaluation, so with a stale hash they would continue using
cached state for the old condition, triggering at incorrect locations.

The patch fixes this issue by computing the hash from m_text after the
move operation, ensuring it reflects the actual stored condition text.

It also adds API test that updates a breakpoint condition and verifies
the new condition is properly evaluated.


    [2 lines not shown]
DeltaFile
+126-0lldb/test/API/functionalities/breakpoint/update_condition/TestUpdateBreakpointCondition.py
+16-0lldb/test/API/functionalities/breakpoint/update_condition/main.c
+3-0lldb/test/API/functionalities/breakpoint/update_condition/Makefile
+1-1lldb/include/lldb/Breakpoint/StopCondition.h
+146-14 files

LLVM/project 343103allvm/test/CodeGen/PowerPC ppc_test_data_class.ll

[NFC] Pre-Commit test case for __builtin_ppc_test_data_class (#181181)

add a pre-commit test case for __builtin_ppc_test_data_class
DeltaFile
+46-0llvm/test/CodeGen/PowerPC/ppc_test_data_class.ll
+46-01 files

FreeNAS/freenas 47badecdocs/source/accounts implementation.rst, src/middlewared/middlewared/etc_files/pam.d README.md

NAS-139796 / 26.0.0-BETA.1 / Add developer documentation related to PAM (#18210)

* Internal truenas developers should be using our vetted / approved PAM
configuration files rather than rolling their own.

* Relationship between PAM / NSS, and how we use PAM files should be
documented.
DeltaFile
+214-0docs/source/accounts/implementation.rst
+86-0src/middlewared/middlewared/etc_files/pam.d/README.md
+300-02 files

Linux/linux a353e72Documentation/core-api dma-api-howto.rst, Documentation/userspace-api vduse.rst

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

Pull virtio updates from Michael Tsirkin:

 - in-order support in virtio core

 - multiple address space support in vduse

 - fixes, cleanups all over the place, notably dma alignment fixes for
   non-cache-coherent systems

* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (59 commits)
  vduse: avoid adding implicit padding
  vhost: fix caching attributes of MMIO regions by setting them explicitly
  vdpa/mlx5: update MAC address handling in mlx5_vdpa_set_attr()
  vdpa/mlx5: reuse common function for MAC address updates
  vdpa/mlx5: update mlx_features with driver state check
  crypto: virtio: Replace package id with numa node id
  crypto: virtio: Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req

    [14 lines not shown]
DeltaFile
+772-238drivers/virtio/virtio_ring.c
+392-132drivers/vdpa/vdpa_user/vduse_dev.c
+85-71drivers/vdpa/mlx5/net/mlx5_vnet.c
+80-5include/uapi/linux/vduse.h
+53-0Documentation/userspace-api/vduse.rst
+52-0Documentation/core-api/dma-api-howto.rst
+1,434-44617 files not shown
+1,561-51323 files

FreeBSD/ports 34a8c51security/osslsigncode distinfo Makefile

security/osslsigncode: Update version 2.12=>2.13

Changelog: https://github.com/mtrojnar/osslsigncode/releases/tag/2.13
DeltaFile
+3-3security/osslsigncode/distinfo
+1-1security/osslsigncode/Makefile
+4-42 files

FreeBSD/ports c6f8619lang/php85 distinfo Makefile

lang/php85: Update version 8.5.2=>8.5.3

Changelog: https://www.php.net/ChangeLog-8.php#8.5.3
DeltaFile
+3-3lang/php85/distinfo
+1-1lang/php85/Makefile
+4-42 files

FreeBSD/ports eec23denet/google-cloud-sdk distinfo Makefile

net/google-cloud-sdk: Update version 555.0.0=>556.0.0
DeltaFile
+3-3net/google-cloud-sdk/distinfo
+1-1net/google-cloud-sdk/Makefile
+4-42 files

FreeBSD/ports f9924felang/php84 distinfo Makefile

lang/php84: Update version 8.4.17=>8.4.18

Changelog: https://www.php.net/ChangeLog-8.php#8.4.18
DeltaFile
+3-3lang/php84/distinfo
+1-1lang/php84/Makefile
+4-42 files

FreeBSD/ports fa3488cdevel/grpc-gateway distinfo Makefile

devel/grpc-gateway: Update version 2.27.7=>2.27.8

Changelog: https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.27.8
DeltaFile
+5-5devel/grpc-gateway/distinfo
+1-2devel/grpc-gateway/Makefile
+6-72 files

FreeBSD/ports 7a6853dtextproc/groonga distinfo Makefile

textproc/groonga: Update version 15.1.4=>15.1.5

Changelog: https://groonga.org/docs/news/15.html#release-15-1-5
DeltaFile
+3-3textproc/groonga/distinfo
+1-1textproc/groonga/Makefile
+4-42 files

FreeBSD/ports 7d5866cdatabases/freetds-devel distinfo Makefile

databases/freetds-devel: Update version 1.5.245=>1.5.247
DeltaFile
+3-3databases/freetds-devel/distinfo
+1-1databases/freetds-devel/Makefile
+4-42 files

FreeBSD/ports 445437cdevel/cirrus-cli distinfo Makefile

devel/cirrus-cli: Update version 0.161.4=>0.161.5

Changelog: https://github.com/cirruslabs/cirrus-cli/releases/tag/v0.161.5
DeltaFile
+5-5devel/cirrus-cli/distinfo
+1-1devel/cirrus-cli/Makefile
+6-62 files

LLVM/project af1a5c5llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/RISCV/GlobalISel/legalizer legalize-ctls-rv32.mir

[GISel][RISCV] Simplify the generated code for narrowScalarCTLS. (#180827)

Instead of trying to make CTLS work for the Lo part, conditionally
invert Lo using the Hi sign bit, then do a CTLZ. If the CTLZ is
zero, then the Lo sign bit differs from the Hi sign bit. Otherwise,
each leading zero represents an additional sign bit.

This generates better code when CTLS and CTLZ are both supported.
I've added Zbb to the P extension command line for RISC-V since
P is likely to imply Zbb when it is ratified, but that isn't written
in the spec yet. If that doesn't happen, I expect CLZ would get
added back to the P extension.
DeltaFile
+33-47llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir
+11-15llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+44-622 files

LLVM/project 5f8053bllvm/lib/Target/RISCV RISCVISelDAGToDAG.cpp, llvm/test/CodeGen/RISCV rv32p.ll

[RISCV] In tryWideningMulAcc, check multiple users before checking operand 1. (#181321)

If both operands are WMUL, we should still consider the second one if
the first one has multiple users.
DeltaFile
+14-16llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+26-0llvm/test/CodeGen/RISCV/rv32p.ll
+40-162 files