LLVM/project 6ae227d — clang/bindings/python/clang cindex.py

[clang][python] Rename ClangObject to OpaqueClangObject and update its description (#229374)

This patch documents the existing way `ClangObject` is used in
`cindex.py` and renames it to `OpaqueClangObject` to better reflect its
purpose. In one case (`CodeCompletionResults`) it's used as a base class
for objects that wrap transparent C objects, but this case will be
eliminated by #224678.

---------

Co-authored-by: Jannick Kremer <jannick.kremer at mailbox.org>
DeltaFile
+18-20clang/bindings/python/clang/cindex.py
+18-201 files

NetBSD/pkgsrc-wip 201975e — . TODO

TODO: + py-polars-2.0.
DeltaFile
+1-0TODO
+1-01 files

NetBSD/pkgsrc-wip 7696b80 — . Makefile, lua-language-server DESCR distinfo

lua-language-server: add update candidate from PR 60857
DeltaFile
+966-0lua-language-server/PLIST
+93-0lua-language-server/Makefile
+71-0lua-language-server/distinfo
+16-0lua-language-server/DESCR
+8-0lua-language-server/files/lua-language-server
+2-3Makefile
+1,156-36 files

LLVM/project 338db87 — llvm/lib/Target/AMDGPU AMDGPU.td DSInstructions.td

AMDGPU: Use HasUsableDSOffset for LDS read2/write2 patterns

The 64-bit and 128-bit LDS patterns that split into read2/write2 were
predicated on isGFX7Plus, based on the usable offset condition. Use a named
predicate instead of the version check.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-2llvm/lib/Target/AMDGPU/DSInstructions.td
+1-0llvm/lib/Target/AMDGPU/AMDGPU.td
+3-22 files

FreeBSD/ports 0c1bbe2 — www/freenginx Makefile.extmod Makefile, www/nginx Makefile.extmod Makefile

www/{nginx,nginx-devel,freenginx}: 3rd-party modules management

Use the new www/nginx-module-ajp source port instead of fetching
nginx_ajp_module from GitHub.

Sponsored by:   Netzkommune GmbH
DeltaFile
+6-1www/nginx/Makefile
+6-1www/nginx-devel/Makefile
+6-1www/freenginx/Makefile
+2-1www/nginx/Makefile.extmod
+2-1www/nginx-devel/Makefile.extmod
+2-1www/freenginx/Makefile.extmod
+24-63 files not shown
+24-129 files

FreeBSD/ports 8bd5afd — www Makefile, www/nginx-module-ajp distinfo pkg-descr

www/nginx-module-ajp: Add New Port

The ajp module proxies requests to a backend over AJP13 instead of HTTP.
This port installs the module sources only, the module itself is built
by the nginx ports.

Sponsored by:   Netzkommune GmbH
DeltaFile
+45-0www/nginx-module-ajp/Makefile
+14-0www/nginx-module-ajp/files/pkg-message.in
+6-0www/nginx-module-ajp/pkg-descr
+3-0www/nginx-module-ajp/distinfo
+1-0www/Makefile
+69-05 files

LLVM/project 78ae9dd — llvm/test/tools/llvm-profdata merge-incompatible.test, llvm/test/tools/llvm-profdata/Inputs ir-basic.proftext fe-basic.proftext

[InstrProf] Inline ir-basic.proftext into test (#219329)
DeltaFile
+21-5llvm/test/tools/llvm-profdata/merge-incompatible.test
+0-6llvm/test/tools/llvm-profdata/Inputs/ir-basic.proftext
+0-6llvm/test/tools/llvm-profdata/Inputs/fe-basic.proftext
+21-173 files

LLVM/project ba3792c — clang/test/CodeGenOpenCL builtins-amdgcn-global-load-store.cl, clang/test/SemaOpenCL builtins-amdgcn-global-load-store-error.cl

Add b8
DeltaFile
+2,124-0llvm/test/CodeGen/AMDGPU/amdgcn-av-scopes.ll
+308-96llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+218-0clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-store.cl
+196-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.store.b128.ll
+19-0clang/test/SemaOpenCL/builtins-amdgcn-global-load-store-error.cl
+14-0llvm/test/Verifier/AMDGPU/intrinsics-av.ll
+2,879-9615 files not shown
+2,946-10421 files

LLVM/project 768a1c9 — .github/workflows/containers/github-action-ci Dockerfile, .github/workflows/containers/github-action-ci-windows Dockerfile

[Github] Bump runner version to 2.338.0 (#229439)

To stay ahead of the support horizon.
DeltaFile
+1-1.github/workflows/containers/github-action-ci/Dockerfile
+1-1.github/workflows/containers/github-action-ci-windows/Dockerfile
+2-22 files

LLVM/project 574f69c — clang/test/Driver mips-img-v2.cpp baremetal.cpp

clang: Fix tests when built with DEFAULT_SYSROOT (#229417)

Configuring with DEFAULT_SYSROOT applies the default sysroot to every
target, not just the host/default. This broke cross-target driver tests that
expect the sysroot to be derived from the GCC installation or the driver's 
install directory. Pass an empty --sysroot= to defeat the configured default,
following the precedent of 4bc05627199

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+104-104clang/test/Driver/mips-fsf.cpp
+85-85clang/test/Driver/hexagon-toolchain-elf.c
+33-33clang/test/Driver/hexagon-toolchain-picolibc.c
+24-24clang/test/Driver/mips-cs.cpp
+23-23clang/test/Driver/baremetal.cpp
+12-12clang/test/Driver/mips-img-v2.cpp
+281-28110 files not shown
+310-31016 files

LLVM/project 1a79ebf — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.rsq.f16.ll fcanonicalize.bf16.ll

Reland "[AMDGPU] Legalize uniform 16-bit loads to match subword load instructions- #225097" (#229221)

Reland https://github.com/llvm/llvm-project/pull/225097. In
`isTypeDesirableForOp` correctly check for uniform loads to prevent `i16
= trunc (zextload i16->i32)` from being converted back to a uniform i16
load. This would be legalized back to `i16 = trunc (zextload i16->i32)`
creating an infinite loop.

---------

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+307-552llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+95-182llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
+77-170llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
+65-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+25-25llvm/test/CodeGen/AMDGPU/fcanonicalize.bf16.ll
+18-24llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.f16.ll
+587-95312 files not shown
+684-1,04218 files

LLVM/project c92a3b2 — clang-tools-extra/clangd ParsedAST.cpp FeatureModule.h, clang-tools-extra/clangd/unittests FeatureModulesTests.cpp

[clangd] Add an early initialization hook to FeatureModule (#225198)

This is a follow-up to the FeatureModule extension in #221054.

Feature modules may need to configure diagnostics before frontend
initialization. Both `beforePPCallbacks()` and `beforeExecute()` run
after `BeginSourceFile()`, which can already emit diagnostics while
initializing the preprocessor or loading precompiled modules.

This change adds `beforeBeginSourceFile()` for configuration that must
precede `BeginSourceFile()` during main-file builds.

For example, clang-tidy applies warning options from `ExtraArgs` and
`ExtraArgsBefore` before `BeginSourceFile()`. The new hook allows this
configuration to move into a feature module without changing when those
options take effect.

These changes prepare moving the clang-tidy implementation into a
FeatureModule.
RFC:
https://discourse.llvm.org/t/rfc-clangd-move-clang-tidy-integration-into-a-featuremodule/91707
DeltaFile
+63-1clang-tools-extra/clangd/unittests/FeatureModulesTests.cpp
+11-0clang-tools-extra/clangd/FeatureModule.h
+2-0clang-tools-extra/clangd/ParsedAST.cpp
+76-13 files

LLVM/project de077eb — llvm/include/llvm/CodeGen LiveDebugVariables.h, llvm/lib/CodeGen LiveDebugVariables.cpp

[LiveDebugVariables] Repair stale SlotIndexes

The analysis keeps its indexes from before the first register allocator
until DBG_VALUEs are emitted, by which point passes in between have
erased some of the instructions they point at. Resolve them at the
start of each allocator run and before emitting.

SlotIndexes can then reclaim the entries of erased instructions without
sparing the ones held here, which would have made generated code depend
on -g. Emitted locations are unchanged, except that intervals resolving
to one position now emit a single DBG_VALUE rather than identical
consecutive ones.
DeltaFile
+140-0llvm/lib/CodeGen/LiveDebugVariables.cpp
+63-0llvm/test/DebugInfo/AMDGPU/live-debug-vars-stale-slot-indexes.ll
+8-4llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir
+8-0llvm/include/llvm/CodeGen/LiveDebugVariables.h
+5-2llvm/test/CodeGen/X86/debug-spilled-snippet.mir
+5-2llvm/test/CodeGen/X86/debug-spilled-snippet.ll
+229-81 files not shown
+236-87 files

LLVM/project 0471bad — llvm/include/llvm/CodeGen SlotIndexes.h, llvm/lib/CodeGen SlotIndexes.cpp

[SlotIndexes] Add queries for stale indexes

An erased instruction leaves its index list entry in place, making the
index indistinguishable from a block boundary entry. Add
isBlockBoundaryIndex() and isStaleIndex() to tell the two apart, and
canonicalizeIndex() to resolve a stale index to the closest preceding
instruction's register slot, or the block start if none survives.

NFC. No caller yet. LiveDebugVariables is next.
DeltaFile
+207-0llvm/unittests/CodeGen/SlotIndexesTest.cpp
+29-0llvm/lib/CodeGen/SlotIndexes.cpp
+14-0llvm/include/llvm/CodeGen/SlotIndexes.h
+1-0llvm/unittests/CodeGen/CMakeLists.txt
+251-04 files

LLVM/project 8f76ceb — lldb/source/Plugins/SymbolFile/NativePDB UdtRecordCompleter.h PdbAstBuilderClang.h, lldb/test/API/lang/cpp/expression-context-qualifiers/fixit TestExprInConstMethodWithFixit.py

[lldb][NativePDB] Reuse the method decl added while completing the class (#227010)

`PdbAstBuilderClang::CreateFunctionDecl` returned `nullptr` for a method
that `UdtRecordCompleter` had already added to its class. Because of
this, the `Function` of any method whose class was completed first had
no decl and no decl context. `GetOrCreateDeclContextForUid` then passed
that null `DeclContext` to `TypeSystemClang::CreateDeclContext`, which
asserts:

```
Assertion failed: Val && "isa<> used on a null pointer"
...
lldb_private::TypeSystemClang::CreateDeclContext
lldb_private::npdb::PdbAstBuilderClang::GetOrCreateDeclContextForUid
lldb_private::npdb::SymbolFileNativePDB::GetDeclContextForUID
lldb_private::Function::GetDeclContext
lldb_private::ClangExpressionDeclMap::LookupFunction
```


    [16 lines not shown]
DeltaFile
+37-27lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilderClang.cpp
+5-19lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
+16-5lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilderClang.h
+4-10lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.h
+2-0lldb/test/API/lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py
+2-0lldb/test/API/lang/cpp/expression-context-qualifiers/fixit/TestExprInConstMethodWithFixit.py
+66-615 files not shown
+75-6111 files

LLVM/project f6fb2be — lldb/test/API/python_api/value TestValueAPI.py

[lldb][test] Check the sp lookup in register sets that have no rsp (#229401)

Since llvm#223857, `GetIndexOfChildWithName("sp")` in a set holding the
architectural sp but not rsp (Windows "supplementary registers") finds
that sp, but the early continue from llvm#226176 skips those sets, so
the else block asserting it never ran.

This patch drops it and compares against "esp" on i386, where sp shares
a set with esp and the continue was what kept the else branch from
failing. x86_64 sets that hold rsp are checked as before.
DeltaFile
+9-14lldb/test/API/python_api/value/TestValueAPI.py
+9-141 files

LLVM/project 165b2a4 — clang/test/ClangScanDeps modules-incomplete-umbrella.c

[clang][deps][test] Avoid cat in modules-incomplete-umbrella.c, NFC (#229286)

This test intermittently fails with a truncated JSON input to
scan-deps-filter. Have scan-deps-filter read the clang-scan-deps output
file directly, bypassing lit's in-process cat as a speculative fix.
DeltaFile
+6-6clang/test/ClangScanDeps/modules-incomplete-umbrella.c
+6-61 files

LLVM/project f16ce64 — clang/lib/CIR/CodeGen TargetInfo.cpp, clang/lib/CIR/CodeGen/Targets AMDGPU.cpp NVPTX.cpp

[CIR] Align kernel calling conventions (#229295)

Override getDeviceKernelCallingConv for AMDGPU (amdgpu_kernel) and NVPTX
(ptx_kernel), as classic CodeGen does. Without them, SYCL kernels on
these targets hit the OpenCL-only assert in the base hook and OpenCL kernels
were emitted with the C calling convention.
DeltaFile
+33-0clang/test/CIR/CodeGenSYCL/kernel-caller-entry-point.cpp
+22-0clang/test/CIR/CodeGenOpenCL/kernel-calling-conv.cl
+9-0clang/lib/CIR/CodeGen/TargetInfo.cpp
+5-1clang/lib/CIR/CodeGen/Targets/NVPTX.cpp
+0-3clang/lib/CIR/CodeGen/Targets/AMDGPU.cpp
+69-45 files

FreeBSD/ports 9ecbbd5 — net-im/teams Makefile distinfo, net-im/teams/files/packagejsons package.json package-lock.json

net-im/teams: Update to 2.24.0

Changelog: https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.24.0

Reported by:    portscout
DeltaFile
+34-34net-im/teams/files/packagejsons/package-lock.json
+9-4net-im/teams/files/packagejsons/package.json
+5-5net-im/teams/distinfo
+1-1net-im/teams/Makefile
+49-444 files

LLVM/project e7df36b — lldb/test/API/functionalities/thread/exit_during_step TestExitDuringStep.py

[lldb][test] Skip TestExitDuringStep.py on Arm 32-bit Linux (#229425)

This is flakey because a thread sometimes stops in a function we cannot
backtrace from due to
https://github.com/llvm/llvm-project/issues/217961.
DeltaFile
+6-0lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py
+6-01 files

LLVM/project 16cddd9 — lldb/source/Host/windows Host.cpp

[lldb][Windows] Keep the process info when the parent pid lookup fails (#228455)

`Host::GetProcessInfo` sets the executable and architecture from the PE
header, then takes a
[`Toolhelp`](https://learn.microsoft.com/en-us/windows/win32/api/_toolhelp/)
snapshot whose only contribution is the parent process id. Every failure
path in that second half returned `false`, discarding the architecture
it had already determined.

The snapshot is racy and the pid can still be absent from the walk. When
that happens on attach, `NativeProcessWindows` leaves `m_arch` unset and
the first register context hits

```
 Assertion failed: target_arch.GetMachine() == llvm::Triple::x86_64,
   RegisterContextWindows_x86_64.cpp, line 138
```
which kills `lldb-server`, so a second attach in the same test reports
'lost connection'.

    [4 lines not shown]
DeltaFile
+4-4lldb/source/Host/windows/Host.cpp
+4-41 files

Linux/linux 69f80fe — drivers/ata libata-scsi.c

Merge tag 'ata-7.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux

Pull ata fix from Niklas Cassel:

 - Set CHECK CONDITION for failed ATAPI commands.

   Since commit 2e1d2e65e773 ("ata: libata-scsi: terminate deferred
   commands on time out") failed ATAPI commands incorrectly stopped
   having CHECK CONDITION set for commands that had a SCSI midlayer
   byte set by scsi_check_sense(). SG_IO users therefore saw failed
   ATAPI commands as successful (Hengyu)

* tag 'ata-7.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
  ata: libata-scsi: do not lose CHECK CONDITION for failed ATAPI commands
DeltaFile
+9-4drivers/ata/libata-scsi.c
+9-41 files

LLVM/project 79cb8df — lldb/test/API/functionalities/longpath main.c TestLongPath.py

[lldb][test][Windows] Test attaching to a process past MAX_PATH (#229396)

This patch adds a test to attempt attaching to a process past
`MAX_PATH`.

Spawn the longpath test program from a path longer than `MAX_PATH`,
attach to it by pid from an empty target, and check that the target has
a known architecture, frame 0 is in a module and the executable is
loaded.

This is the lldb-server attach path that asserts in
`RegisterContextWindows_x86_64` when Host::GetProcessInfo cannot not
open the image:
https://github.com/llvm/llvm-project/blob/28f349c30963e5ab71c9325e032ddfa6464c3f0e/lldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.cpp#L138
DeltaFile
+50-7lldb/test/API/functionalities/longpath/TestLongPath.py
+13-0lldb/test/API/functionalities/longpath/main.c
+63-72 files

LLVM/project ea08e15 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Flatten reduction handling in preparePlanForEpilogueVectorL (NFC) (#229416)

The else branch after the AnyOf/FindIV handling is redundant due to
early continue.

Remove it and re-use ReductionPhi and RK instead of re-casting R.

This slightly simplifies the code and reduces diff in planned follow-up.
DeltaFile
+32-35llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+32-351 files

LLVM/project f9764ea — llvm/lib/Target/AArch64 AArch64PredicateAsCounterLoopRewrites.cpp

Use CreateIntrinsic
DeltaFile
+11-14llvm/lib/Target/AArch64/AArch64PredicateAsCounterLoopRewrites.cpp
+11-141 files

LLVM/project da16195 — libcxxabi/include cxxabi.h __cxxabi_config.h, libcxxabi/src CMakeLists.txt cxa_thread_atexit.cpp

[libc++abi] Define `__cxa_thread_atexit` on platforms that need it (#186054)

Commit 3c100d5d548d removed the definition of __cxa_thread_atexit from
all platforms except Fuchsia and Linux. This broke the use of
`thread_local` variables with destructors on other downstream
configurations that needed the definition.

This patch restores __cxa_thread_atexit on (presumably) all platforms
that need it.

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
DeltaFile
+14-8libcxxabi/src/cxa_thread_atexit.cpp
+15-0libcxxabi/include/__cxxabi_config.h
+1-7libcxxabi/src/CMakeLists.txt
+2-2libcxxabi/include/cxxabi.h
+32-174 files

LLVM/project d321576 — libcxx/include/__configuration attributes.h, libcxx/test/libcxx/strings/basic.string nonnull.verify.cpp

[libc++] Enable _LIBCPP_DIAGNOSE_IF on AppleClang (#229187)

_LIBCPP_DIAGNOSE_IF was introduced in Clang 20, so it is supported by
AppleClang now. Also drop the (now dead) conditional for Clang > 20,
which is always true since libc++ supports Clang >= 21.
DeltaFile
+0-3libcxx/test/libcxx/strings/string.view/nonnull.verify.cpp
+0-3libcxx/test/libcxx/strings/basic.string/nonnull.verify.cpp
+1-2libcxx/include/__configuration/attributes.h
+1-83 files

LLVM/project 00d9efe — libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get types.pass.cpp, libcxx/test/std/localization/locale.categories/category.time/locale.time.get types.pass.cpp

[libc++] Guard unchecked uses of wchar_t and char8_t in tests (#229255)

A few places in the test suite were not properly guarding based on
whether wide characters or char8_t are available.
DeltaFile
+14-12libcxx/test/std/localization/locale.stdcvt/codecvt_utf16_length.pass.cpp
+8-5libcxx/test/std/localization/locale.categories/category.time/locale.time.get/types.pass.cpp
+7-4libcxx/test/std/localization/locale.categories/category.time/locale.time.put/types.pass.cpp
+7-4libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/types.pass.cpp
+3-1libcxx/test/std/re/re.regex/re.regex.const/constants.pass.cpp
+3-1libcxx/test/std/re/re.iter/re.tokiter/types.pass.cpp
+42-278 files not shown
+60-3314 files

OPNSense/plugins ad78362 — dns/ddclient/src/opnsense/mvc/app/controllers/OPNsense/DynDNS/Api AccountsController.php, dns/ddclient/src/opnsense/mvc/app/views/OPNsense/DynDNS index.volt

dns/ddclient: add force refresh (#5758)

* dns/ddclient: add force refresh

Add a "Force refresh" command to the Accounts grid, per row for enabled
accounts and for the selected rows (native backend only). The cached
state of the requested accounts is cleared in a locked state while the
service is stopped, so the service updates them on startup using the
regular account implementation, even when the detected address equals
the one sent before. Normal polling is unchanged.

The grid is reloaded until the requested accounts show a new update
time, accounts without an update are reported after 30 seconds.

Refs #5757

* dns/ddclient: force refresh, simplify as reviewed

Reset the cached state (-r/--reset-state) and restart the service

    [9 lines not shown]
DeltaFile
+55-2dns/ddclient/src/opnsense/mvc/app/views/OPNsense/DynDNS/index.volt
+29-0dns/ddclient/src/opnsense/mvc/app/controllers/OPNsense/DynDNS/Api/AccountsController.php
+22-0dns/ddclient/src/opnsense/scripts/ddclient/ddclient_opn.py
+6-0dns/ddclient/src/opnsense/service/conf/actions.d/actions_ddclient.conf
+112-24 files

LLVM/project 074292b — llvm/lib/Target/AArch64 AArch64PredicateAsCounterLoopRewrites.cpp, llvm/test/CodeGen/AArch64 predicate-as-counter-loop-rewrites.ll

[AArch64] Use multi-vector intrinsics for masked load/store users of predicate-as-counter

If the user of the original wide mask is a masked load or store
intrinsic (matching the element size of the predicate-as-counter),
rewrite it directly to a masked multi-vector load/store.

This avoids materializing the vector mask and is easier to handle here
than later (e.g. in SelectionDAG), since we do not need to match the
concatenation of all `pext` segments of the predicate-as-counter.

Assisted-by: Codex
DeltaFile
+87-137llvm/test/CodeGen/AArch64/predicate-as-counter-loop-rewrites.ll
+110-1llvm/lib/Target/AArch64/AArch64PredicateAsCounterLoopRewrites.cpp
+197-1382 files