NetBSD/pkgsrc-wip 8dfcd0dserendipity TODO

serendipity: Add references to recent CVEs
DeltaFile
+1-1serendipity/TODO
+1-11 files

NetBSD/pkgsrc-wip 470839cfrp TODO

frp: Add reference to CVE-2026-73564
DeltaFile
+1-1frp/TODO
+1-11 files

LLVM/project af6d788offload/test/offloading/CUDA thread_and_block_id.cu, offload/test/offloading/HIP thread_and_block_id.hip

[LLVMOffload] Fix LLVMOffload tests from running on Intel in #212373 (#216187)

Offloading via LLVM currently does not support Intel GPUs, this disables
running the tests for them.

Fixes the buildbot error from #212373
DeltaFile
+1-0offload/test/offloading/HIP/thread_and_block_id.hip
+1-0offload/test/offloading/CUDA/thread_and_block_id.cu
+2-02 files

LLVM/project f7f9629llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability BUILD.gn

[gn build] Port 551766823bb7 (#216189)
DeltaFile
+1-0llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn
+1-01 files

FreeNAS/freenas 70c7ed6src/middlewared/middlewared/plugins/rsync task.py

NAS-142146 / 27.0.0-BETA.1 / Shell-quote user-controlled fields in rsync task command builder (by creatorcary) (#19504)

Original PR: https://github.com/truenas/middleware/pull/19496
DeltaFile
+11-9src/middlewared/middlewared/plugins/rsync/task.py
+11-91 files

LLVM/project c98961ellvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 copyable-operand-dup-parent-phi-user.ll

[SLP]Release copyable operand deps on duplicate parent-phi lanes

Non-scheduled entries feeding a phi may repeat a def across lanes. The
scheduler skipped duplicate parent-phi user lanes entirely, so per-column
copyable scheduling data was never released and the copyable bundles never
became ready.

Fixes #216146

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/216186
DeltaFile
+103-0llvm/test/Transforms/SLPVectorizer/X86/copyable-operand-dup-parent-phi-user.ll
+17-15llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+120-152 files

LLVM/project ae3ea1blldb/source/DataFormatters FormatManager.cpp

Use static_pointer_cast to do SyntheticChildrenSP -> ScriptedSyntheticChildrenSP (#216181)

FormatManager::GetSyntheticForType was taking a pointer out one shared
pointer and making a new shared pointer referring to it which messes up
the lifecycle of the object.

This is just a little thinko from the original implementation. We do the
same thing in several other places in the TypeCategory, etc. and it's
done correctly in all the other places.

I'm not adding a test here because trying to guess what you have to do
to cause one or the other shared_pointer to get their reference count to
0 isn't particularly stable.

The testing for SBTypeSynthetic is pretty minimal - it would be better
to write a complete test for this class, which would have tripped this.
But that's a bigger task, and I want to get this obvious crasher fix in
now.


    [2 lines not shown]
DeltaFile
+5-5lldb/source/DataFormatters/FormatManager.cpp
+5-51 files

LLVM/project 820e140llvm/lib/Target/X86 X86MCInstLower.cpp, llvm/test/CodeGen/X86 code-model-elf.ll tls-large-model.ll

[X86] Use a large-model call for __tls_get_addr

The x86-64 ELF TLSGD and TLSLD sequences currently use a PLT32 call
to __tls_get_addr for every code model. The call can overflow in the
large code model when the PLT is more than 2 GiB away.

Use the same relocation strategy as GCC for large-model PIC: materialize
the GOT base with GOTPC64, materialize __tls_get_addr with PLTOFF64, and
call it indirectly. This changes only x86-64 LP64 ELF PIC code using
the large code model.

Assisted-by: Codex
DeltaFile
+47-0llvm/test/CodeGen/X86/tls-large-model.ll
+41-1llvm/lib/Target/X86/X86MCInstLower.cpp
+0-23llvm/test/CodeGen/X86/code-model-elf.ll
+88-243 files

LLVM/project 3ae0d10llvm/lib/DWARFLinker/Parallel DIEAttributeCloner.cpp, llvm/test/tools/dsymutil/X86/DWARFLinkerParallel dwarf2-member-location.s

[DWARFLinker] Keep address-independent block attributes in the type unit (#215932)

cloneBlockAttr dropped every block and exprloc attribute whose DIE was
placed in the artificial type unit. The intent was to discard location
expressions that resolve against a single origin compile unit, since a
type unit is shared by every unit referencing the type, but the check
was incorrectly applied to all block-form attributes.

Clang encodes DW_AT_data_member_location as DW_FORM_block1 at DWARF 2
and as a constant from DWARF 3 onward, so at DWARF 2 every member and
inheritance offset of a deduplicated record collapsed to zero. This
caused LLDB to crash when trying to build types using the wrong offsets,
but that's a separate issue.

Drop only expressions that carry a target address or reference a base
type DIE, which are the cases the type unit cannot resolve.
DeltaFile
+261-0llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/dwarf2-member-location.s
+26-3llvm/lib/DWARFLinker/Parallel/DIEAttributeCloner.cpp
+287-32 files

LLVM/project 2f2ac32lld/ELF RelocScan.h, lld/ELF/Arch X86_64.cpp

[lld][ELF][x86-64] Do not relax large-model TLS sequences

GCC uses an indirect PLTOFF64 call to __tls_get_addr for large-model
TLSGD and TLSLD sequences. These sequences do not match the fixed-size
psABI templates that lld rewrites when relaxing TLS to IE or LE.

Detect the PLTOFF64 relocation following TLSGD or TLSLD and preserve the
original sequence instead of rewriting unrelated instruction bytes.

Assisted-by: Codex
DeltaFile
+55-0lld/test/ELF/x86-64-tls-large-model.s
+10-3lld/ELF/Arch/X86_64.cpp
+2-2lld/ELF/RelocScan.h
+67-53 files

LLVM/project 3f9b064clang/docs ReleaseNotes.md, clang/lib/Driver/ToolChains/Arch RISCV.cpp

[RISCV] Support -march=native (#215939)

-march=native is how to do a native compilation on X86 so it is included in the
build scripts of many projects. ARM and AArch64 also support this
probably for compatibility with X86.

This patch does the same for RISC-V. If -march=native is provided by
itself, I treat it like -mcpu=native. If -mcpu is also provided then the
-mcpu will be used only for -mtune and the ISA string will derive from
the host CPU.

Assisted-by: Claude
DeltaFile
+69-37clang/lib/Driver/ToolChains/Arch/RISCV.cpp
+18-0clang/test/Driver/riscv-cpus.c
+5-0clang/docs/ReleaseNotes.md
+92-373 files

LLVM/project 29615afclang/test/CodeGen/RISCV builtin-cpu-is.c, llvm/lib/Target/RISCV RISCVProcessors.td

[RISCV] Add mvendorid/marchid/mimpid values for SiFive P870-D. (#216106)

You can double check the numbers against values published here
https://camel-cdr.github.io/rvv-bench-results/sifive_p870/data/cpuinfo.txt

I don't have an official doc link for this from SiFive. These are not
the only possible values for P870-D. We may need to support multiple
values for a CPU in the future.
DeltaFile
+18-0clang/test/CodeGen/RISCV/builtin-cpu-is.c
+5-1llvm/lib/Target/RISCV/RISCVProcessors.td
+23-12 files

LLVM/project 79ab944llvm/lib/CodeGen/GlobalISel GISelValueTracking.cpp, llvm/test/CodeGen/AArch64/GlobalISel knownbits-avg.mir

[GlobalISel] Port computeNumSignBits for G_SAVGFLOOR/G_SAVGCEIL (#216093)

Ports the ISD::AVGCEILS / ISD::AVGFLOORS case from
SelectionDAG::ComputeNumSignBits over to
GISelValueTracking::computeNumSignBits.
Part of #150515.

Unlike the SelectionDAG version, this sets FirstAnswer and breaks rather
than returning directly, so the known-bits fallback at the end of
computeNumSignBits still applies. That matters for the pre-existing
constant-operand tests, where the known bits are fully determined and
yield more sign bits than min() of the operands does; returning early
would regress them.

Claude Code helped me navigate the codebase and write the PR
description.
DeltaFile
+158-34llvm/test/CodeGen/AArch64/GlobalISel/knownbits-avg.mir
+7-0llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
+165-342 files

LLVM/project 4fc086clldb/include/lldb/Symbol SymbolLocator.h, lldb/source/Core DynamicLoader.cpp

[lldb] Search for a corefile's images before loading any of them

A userland or kernel corefile can list hundreds of images, and searching for
one can shell out to a symbol server or fetch over the network. Searching for
them one at a time is where loading such a corefile spends its time.

Add a batch form of SymbolLocator::Locate that runs the searches on the
debugger's thread pool, gated on target.parallel-module-load. Results come
back in the order the requests were given, since that order decides the
Target's module order. Only the results are ordered, and anything a search
reports to the user arrives in whatever order the searches finish in.

Only the plugin searches run concurrently, so a platform hook does not have to
be thread safe to take part, and reading a binary's UUID out of memory stays
on the calling thread.

Setting up a platform binary can replace the Target's platform and dynamic
loader, and now happens for every image before any of them is searched for, so
the platform a corefile asks for is the one all of its images are searched

    [4 lines not shown]
DeltaFile
+141-4lldb/unittests/Symbol/SymbolLocatorTest.cpp
+78-63lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+76-11lldb/source/Symbol/SymbolLocator.cpp
+32-20lldb/source/Core/DynamicLoader.cpp
+25-0lldb/test/API/macosx/lc-note/multiple-binary-corefile/TestMultipleBinaryCorefile.py
+19-0lldb/include/lldb/Symbol/SymbolLocator.h
+371-986 files

LLVM/project 3c6e133lldb/include/lldb/Symbol SymbolLocator.h, lldb/include/lldb/Target Platform.h

[lldb] Consult the platform before the symbol locator plugins (NFC) (#215392)

A symbol locator plugin has no Platform to consult, so a platform that knows
where its binaries live cannot take part in a search. The only way to reach
one is Platform::GetSharedModule, which also creates the module and registers
it, so the lookup cannot be reused by a caller that wants to search for many
binaries before creating any.

Add a hook that only answers where the files are. An answer ends the search,
so an override owns what the plugins would otherwise have been asked for.

No platform overrides it yet. A follow-up moves PlatformDarwinKernel's kext
and kernel index lookups behind it.

Assisted-by: Claude
DeltaFile
+70-0lldb/unittests/Symbol/SymbolLocatorTest.cpp
+18-0lldb/include/lldb/Target/Platform.h
+10-0lldb/source/Symbol/SymbolLocator.cpp
+4-0lldb/include/lldb/Symbol/SymbolLocator.h
+1-0lldb/source/Core/DynamicLoader.cpp
+103-05 files

OpenBSD/ports tMZK73ewww/librewolf Makefile

   unbreak fetching, from volker
VersionDeltaFile
1.10+1-1www/librewolf/Makefile
+1-11 files

FreeNAS/freenas 736417bsrc/middlewared/middlewared/plugins/rsync task.py

Quote unvalidated commandline arguments
DeltaFile
+9-8src/middlewared/middlewared/plugins/rsync/task.py
+9-81 files

LLVM/project f395eb5compiler-rt/lib/builtins comparesf2.c comparedf2.c

[compiler-rt] Emit wrapper function for __eqsf2, __eqdf2 for SPIR-V (#215957)
DeltaFile
+3-3compiler-rt/lib/builtins/comparesf2.c
+3-3compiler-rt/lib/builtins/comparedf2.c
+6-62 files

LLVM/project d0bd708clang/lib/Driver/ToolChains Cuda.cpp

[Clang] Fix -Wunused-variable in #212373 (#216175)

Fixes https://lab.llvm.org/buildbot/#/builders/228/builds/7871
DeltaFile
+2-2clang/lib/Driver/ToolChains/Cuda.cpp
+2-21 files

FreeNAS/freenas 3747796src/middlewared/middlewared/plugins rsync.py

NAS-142146 / 26.0.0-RC.1 / Shell-quote user-controlled fields in rsync task command builder (by creatorcary) (#19503)

Original PR: https://github.com/truenas/middleware/pull/19496

Co-authored-by: Logan Cary <logan.cary at ixsystems.com>
DeltaFile
+9-8src/middlewared/middlewared/plugins/rsync.py
+9-81 files

LLVM/project 453929allvm/include/llvm/CodeGen MachineRegisterInfo.h, llvm/lib/CodeGen ModuloSchedule.cpp MachinePipeliner.cpp

CodeGen: Add getDefBlock helper

A reasonable number of places check getVRegDef just to
return the parent block, so introduce a helper for it.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+4-5llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
+3-4llvm/lib/CodeGen/LiveVariables.cpp
+7-0llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+2-2llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
+2-2llvm/lib/CodeGen/MachinePipeliner.cpp
+1-2llvm/lib/CodeGen/ModuloSchedule.cpp
+19-154 files not shown
+23-1910 files

LLVM/project 3374080flang/lib/Semantics compute-offsets.cpp, flang/test/Semantics equivalence-non-data-object.f90

[Flang] Avoid crash on invalid EQUIVALENCE objects (#215979)

An invalid EQUIVALENCE statement may introduce a symbol that is not a
data object into later offset computation. ComputeOffsetsHelper assumes
such symbols have ObjectEntityDetails when assigning COMMON block
information, which can cause a crash after a semantic error.

Check for ObjectEntityDetails before accessing object-specific
information to keep error recovery paths safe.

Test coverage
- Add a regression test for using a subroutine name as an EQUIVALENCE
object.

Tests:
- llvm-lit -v flang/test/Semantics/equivalence-non-data-object.f90

Co-authored-by: yixiao <yixiao at hygon.cn>
DeltaFile
+7-0flang/test/Semantics/equivalence-non-data-object.f90
+3-1flang/lib/Semantics/compute-offsets.cpp
+10-12 files

FreeNAS/freenas f756fe7

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas b869928src/middlewared/middlewared/plugins rsync.py

Shell-quote user-controlled fields in rsync task command builder

(cherry picked from commit 2b9931d651518d5da079534572c4ee7e778dc538)
DeltaFile
+9-8src/middlewared/middlewared/plugins/rsync.py
+9-81 files

FreeNAS/freenas 2fcc110src/middlewared/middlewared/plugins rsync.py

NAS-142146 / 25.10.7 / Shell-quote user-controlled fields in rsync task command builder (#19496)
DeltaFile
+9-8src/middlewared/middlewared/plugins/rsync.py
+9-81 files

OpenBSD/src uRNgpjcsys/arch/amd64/amd64 aesni.c, sys/arch/arm64/arm64 cryptox.c

   Speed up swap encryption/decryption by using AES instructions on amd64 and
   arm64 when available.

   ok jsing@
VersionDeltaFile
1.25+104-61sys/uvm/uvm_swap_encrypt.c
1.7+77-1sys/arch/arm64/arm64/cryptox.c
1.54+71-1sys/arch/amd64/amd64/aesni.c
1.15+6-1sys/uvm/uvm_swap_encrypt.h
+258-644 files

LLVM/project 063aa1cllvm/include module.modulemap

[Modules] Exclude InstrumentorRuntimeHelper.h from LLVM_Transforms (#215843)

7964b66bf55d53f7a528a8153c005bee0614a3d7
(https://github.com/llvm/llvm-project/pull/199329) added
`llvm/Transforms/IPO/InstrumentorRuntimeHelper.h` under the umbrella
directory of the `LLVM_Transforms` clang module. That header is not a
normal C++ API header: it is read as a string at build time (via
`file(READ)` in CMake) and embedded into the instrumentor runtime, and
it includes the C standard headers
`<stdint.h>`/`<string.h>` inside an `extern "C"` block. In Swift's C++
interoperability mode, the includes resolve to the C++
`std_stdint_h`/`std_string_h` modules, which cannot be imported within
an `extern "C"` linkage specification.

```
InstrumentorRuntimeHelper.h:21:1: error: import of C++ module 'std_stdint_h' appears within extern "C" language linkage specification
 17 | #ifdef __cplusplus
 18 | extern "C" {
    | `- note: extern "C" language linkage specification begins here

    [9 lines not shown]
DeltaFile
+4-0llvm/include/module.modulemap
+4-01 files

LLVM/project c388359clang Maintainers.md

[Clang] [Docs] Switch back to my personal account but keep my name + work email (#216176)
DeltaFile
+3-3clang/Maintainers.md
+3-31 files

LLVM/project 87cd470llvm/test/Transforms/LoopVectorize vector-loop-backedge-elimination-tail-folding-interleave-only.ll

[LV] Add test with eliminate-able backedge and tail-folding (NFC) (#216171)

Add test for removing backedge with tail-folding with interleaving only.
DeltaFile
+88-0llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination-tail-folding-interleave-only.ll
+88-01 files

LLVM/project dcc7330lldb/packages/Python/lldbsuite/test dotest.py

[lldb] Fix dotest.py --help (#216131)

Fixes the following `--help` bug I ran into:

```
% python3 ./lldb/test/API/dotest.py --help
Traceback (most recent call last):
  File "path/to/llvm-project/lldb/test/API/dotest.py", line 8, in <module>
    lldbsuite.test.run_suite()
  File "path/to/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 1099, in run_suite
    parseOptionsAndInitTestdirs()
  File "path/to/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 318, in parseOptionsAndInitTestdirs
    configuration.cmake_build_type = args.cmake_build_type.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
```
DeltaFile
+2-1lldb/packages/Python/lldbsuite/test/dotest.py
+2-11 files