LLVM/project e1cd558lldb/include/lldb/Target Thread.h, lldb/source/Target Thread.cpp

[lldb] Fix circular dependency and deadlock in scripted frame providers (#187411)

When a scripted frame provider calls back into the thread's frame
machinery (e.g. via HandleCommand or EvaluateExpression), two problems
arise:

1. GetStackFrameList() re-enters the SyntheticStackFrameList
 construction, causing infinite recursion.
2. ClearStackFrames() tries to read-lock the StackFrameList's
 shared_mutex that is already write-locked by GetFramesUpTo,
 causing a deadlock.

This patch fixes those issues by tracking when a provider is actively
fetching frames via a per-host-thread map (m_provider_frames_by_thread)
keyed by HostThread. The map is pushed/popped in
SyntheticStackFrameList::FetchFramesUpTo before calling into the
provider. GetStackFrameList() checks it to route re-entrant calls:

- The provider's own host thread gets the parent frame list, preventing

    [14 lines not shown]
DeltaFile
+138-0lldb/test/API/functionalities/scripted_frame_provider/pass_through_prefix/TestFrameProviderPassThroughPrefix.py
+101-9lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py
+109-0lldb/test/API/functionalities/scripted_frame_provider/pass_through_prefix/frame_provider.py
+74-0lldb/source/Target/Thread.cpp
+60-0lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/frame_provider.py
+24-0lldb/include/lldb/Target/Thread.h
+506-97 files not shown
+589-1013 files

LLVM/project b580bedllvm/lib/Transforms/Instrumentation HWAddressSanitizer.cpp

[NFC] [HWASan] do not place `STATISTIC` in the middle of the opts (#188634)
DeltaFile
+4-4llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+4-41 files

NetBSD/pkgsrc SC7DHdQdoc CHANGES-2026

   doc: Updated parallel/openmp to 20.1.8
VersionDeltaFile
1.1850+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc jmMWuT6parallel/openmp distinfo buildlink3.mk, parallel/openmp/patches patch-runtime_src_kmp__os.h patch-runtime_src_kmp__platform.h

   openmp: update to 20.1.8.

   Part of the llvm update.
VersionDeltaFile
1.25+4-13parallel/openmp/distinfo
1.8+3-3parallel/openmp/buildlink3.mk
1.25+2-4parallel/openmp/Makefile
1.3+2-1parallel/openmp/PLIST
1.4+1-1parallel/openmp/patches/patch-runtime_src_kmp__os.h
1.4+1-1parallel/openmp/patches/patch-runtime_src_kmp__platform.h
+13-231 files not shown
+14-247 files

LLVM/project 05dc519llvm/include/llvm/IR Instruction.h

[IR] Make succ_iterator compliant with C++20 (#188601)

GCC 15.2 enforces the `DefaultConstructible` requirement for
`std::reverse_iterator<llvm::succ_iterator>` causing LLVM to fail to
build with C++20 (see https://discourse.llvm.org/t/suspicious-usages-of-std-reverse-iterator-and-associated-llvm-build-failures-with-gcc-15-2-1/89426, issue #182417).

```
$ cmake -G Ninja -S llvm -B llvm/build \
    -DCMAKE_INSTALL_PREFIX=$(mktemp -d) \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_C_COMPILER=gcc \
    -DCMAKE_CXX_COMPILER=g++ \
    -DLLVM_ENABLE_PROJECTS="clang;" \
    -DLLVM_ENABLE_ASSERTIONS=ON \
    -DLLVM_USE_LINKER=lld \
    -DCMAKE_CXX_STANDARD=20 \
    -DLLVM_OPTIMIZED_TABLEGEN=ON \
    -DLLVM_PARALLEL_LINK_JOBS=4


    [10 lines not shown]
DeltaFile
+2-0llvm/include/llvm/IR/Instruction.h
+2-01 files

HardenedBSD/src 8c183d9stand defs.mk

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-3stand/defs.mk
+0-31 files

HardenedBSD/src c1a66fcsys/dev/ufshci ufshci_acpi.c ufshci_ctrlr.c, usr.bin/m4 eval.c mdef.h

Merge remote-tracking branch 'origin/freebsd/current/main' into hardened/current/master

Conflicts:
        stand/defs.mk (unresolved)
DeltaFile
+248-0sys/dev/ufshci/ufshci_acpi.c
+95-107usr.bin/m4/eval.c
+45-45usr.bin/m4/mdef.h
+62-9sys/dev/ufshci/ufshci_ctrlr.c
+35-35usr.bin/m4/main.c
+36-4sys/dev/ufshci/ufshci_req_sdb.c
+521-20020 files not shown
+676-29026 files

NetBSD/pkgsrc NWd8wuTdoc CHANGES-2026

   doc: restore accidentally deleted nss update line
VersionDeltaFile
1.1849+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc OSG3WOedoc CHANGES-2026 TODO

   doc: Updated parallel/spirv-tools to 2025.5
VersionDeltaFile
1.1848+2-1doc/CHANGES-2026
1.26968+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc YJc4Annparallel/spirv-tools distinfo Makefile

   spirv-tools: update to 2025.5.

   Fixes build with llvm 20.
VersionDeltaFile
1.3+4-4parallel/spirv-tools/distinfo
1.5+2-2parallel/spirv-tools/Makefile
+6-62 files

NetBSD/pkgsrc 2JXFpogdoc CHANGES-2026

   doc: Updated parallel/spirv-llvm-translator to 20.1.10
VersionDeltaFile
1.1847+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc p96tzd4parallel/spirv-llvm-translator distinfo PLIST, parallel/spirv-llvm-translator/patches patch-CMakeLists.txt

   spirv-llvm-translator: update to 20.1.10.

   Fixes build with llvm 20.
VersionDeltaFile
1.14+5-5parallel/spirv-llvm-translator/distinfo
1.4+4-4parallel/spirv-llvm-translator/patches/patch-CMakeLists.txt
1.11+2-2parallel/spirv-llvm-translator/PLIST
1.16+2-2parallel/spirv-llvm-translator/Makefile
+13-134 files

NetBSD/pkgsrc M0o2GwYdoc CHANGES-2026

   doc: Updated parallel/spirv-headers to 1.4.335.0
VersionDeltaFile
1.1846+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc u6HhkRKparallel/spirv-headers distinfo Makefile

   spirv-headers: update to 1.4.335.0.

   Fixes build with llvm 20.
VersionDeltaFile
1.11+4-10parallel/spirv-headers/distinfo
1.11+2-11parallel/spirv-headers/Makefile
1.7+2-0parallel/spirv-headers/PLIST
+8-213 files

NetBSD/pkgsrc UmIXlJadoc CHANGES-2026

   doc: Updated parallel/opencl-clang to 20.1.2
VersionDeltaFile
1.1845+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc iJ7Dp69parallel/opencl-clang Makefile distinfo

   opencl-clang: update to 20.1.2.

   Fixes build with llvm 20.
VersionDeltaFile
1.26+4-5parallel/opencl-clang/Makefile
1.13+4-4parallel/opencl-clang/distinfo
1.10+2-2parallel/opencl-clang/PLIST
+10-113 files

NetBSD/pkgsrc 0cUnC4hdoc CHANGES-2026 TODO

   doc: Updated lang/zig to 0.15.2
VersionDeltaFile
1.1844+2-1doc/CHANGES-2026
1.26967+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc j97ARoelang/zig PLIST distinfo

   zig: update to 0.15.2.

   Fixes build with llvm 20.
VersionDeltaFile
1.16+4,755-1,325lang/zig/PLIST
1.21+4-4lang/zig/distinfo
1.52+2-3lang/zig/Makefile
+4,761-1,3323 files

NetBSD/pkgsrc hkmB9hndoc CHANGES-2026 TODO

   doc: Updated devel/py-llvmlite to 0.46.0
VersionDeltaFile
1.1843+2-1doc/CHANGES-2026
1.26966+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc XZwuVX7devel/py-llvmlite Makefile distinfo, devel/py-llvmlite/patches patch-ffi_build.py

   py-llvmlite: update to 0.46.0.

   Fixes build with llvm 20.
VersionDeltaFile
1.34+7-83devel/py-llvmlite/Makefile
1.29+4-14devel/py-llvmlite/distinfo
1.10+8-7devel/py-llvmlite/PLIST
1.11+1-1devel/py-llvmlite/patches/patch-ffi_build.py
+20-1054 files

LLVM/project 180ae2flibclc/clc/lib/generic/async clc_prefetch.inc

libclc: Use prefetch builtin to implement default prefetch (#188491)
DeltaFile
+1-1libclc/clc/lib/generic/async/clc_prefetch.inc
+1-11 files

NetBSD/pkgsrc 4uaKpYMdoc CHANGES-2026

   doc: Updated devel/include-what-you-use to 0.24
VersionDeltaFile
1.1842+2-1doc/CHANGES-2026
+2-11 files

LLVM/project fce6d53libclc/clc/lib/generic/math clc_ep.inc

libclc: Fix directly adding vector booleans (#188540)

Vector compares return -1 instead of 1, so explicitly select a 0 or 1
instead of directly adding the result.
DeltaFile
+5-5libclc/clc/lib/generic/math/clc_ep.inc
+5-51 files

NetBSD/pkgsrc Y9BrHqidevel/include-what-you-use distinfo Makefile

   include-what-you-use: update to 0.24.

   Fixes build with llvm 20.
VersionDeltaFile
1.24+4-4devel/include-what-you-use/distinfo
1.50+2-3devel/include-what-you-use/Makefile
+6-72 files

NetBSD/pkgsrc GYiqnNodoc CHANGES-2026

   doc: Updated devel/cvise to 2.12.0
VersionDeltaFile
1.1841+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc GHKjo5Qdevel/cvise distinfo Makefile

   cvise: update to 2.12.0.

   Fixes build with llvm 20.
VersionDeltaFile
1.13+4-4devel/cvise/distinfo
1.28+2-3devel/cvise/Makefile
1.3+3-0devel/cvise/PLIST
+9-73 files

LLVM/project e46a329libclc/clc/lib/amdgpu/subgroup clc_sub_group_broadcast.cl

libclc: Fix amdgpu sub_group_broadcast for double (#188594)
DeltaFile
+2-2libclc/clc/lib/amdgpu/subgroup/clc_sub_group_broadcast.cl
+2-21 files

NetBSD/pkgsrc vVIZ7Zldoc CHANGES-2026

   doc: mention updates of llvm and friends
VersionDeltaFile
1.1840+18-2doc/CHANGES-2026
+18-21 files

NetBSD/pkgsrc 29BuEbalang/clang PLIST, lang/flang PLIST

   llvm and friends: update to to 20.1.8

   Based on the wip packages and help from adam@
VersionDeltaFile
1.8+1,081-19lang/wasi-libcxx/PLIST
1.14+1,080-18lang/libcxx/PLIST
1.45+317-253lang/clang/PLIST
1.30+129-19lang/llvm/PLIST
1.6+82-28lang/mlir/PLIST
1.7+21-61lang/flang/PLIST
+2,710-39860 files not shown
+3,064-92966 files

NetBSD/pkgsrc Le2IDYLdoc CHANGES-2026

   doc: Updated meta-pkgs/xfce4 to 4.20.0nb15
VersionDeltaFile
1.1839+2-1doc/CHANGES-2026
+2-11 files