LLVM/project f9e0e3a — lldb/packages/Python/lldbsuite/test/tools/lldb_dap testcase.py

[lldb-dap][test] Do not overwrite failed/error logs. (#227857)

On failure, log files name changes to be unique to a test method. Append
testcase and DAP logs to log_files so it doesn't get overwritten by the
next test method.
DeltaFile
+2-0lldb/packages/Python/lldbsuite/test/tools/lldb_dap/testcase.py
+2-01 files

LLVM/project 325224c — llvm/include/llvm/IR IntrinsicsAMDGPU.td, llvm/lib/Target/AMDGPU VOP3Instructions.td AMDGPULowerIntrinsics.cpp

[AMDGPU] Validate scale_sel in v_cvt_scale_* (#227475)

These instructions can be block16 or block32 depending on the target
and scale_sel bits. Block16 is not supported in strict mode.

Re-enable the rest of the instructions in the strict mode but validate
the scale selector.
DeltaFile
+268-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scale.pk-scale-range.ll
+135-16llvm/test/MC/AMDGPU/gfx1250-strict_err.s
+61-0llvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
+47-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+7-9llvm/lib/Target/AMDGPU/VOP3Instructions.td
+6-8llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+524-333 files not shown
+533-489 files

LLVM/project 0b0404a — polly/test/ScopInfo assume_in_non_affine_subregion.ll

[Polly][Test] Fix missing -plugin-arg (#228221)

After #226773, plugin options must be passed via -plugin-arg. Fix the
regression test from #227311 to the changed command line.
DeltaFile
+1-1polly/test/ScopInfo/assume_in_non_affine_subregion.ll
+1-11 files

LLVM/project 210f8cb — lldb/source/Plugins/Process/Windows/Common DebuggerThread.cpp

[lldb][Windows] Report a process exit once the process is gone (#228115)

When a debugged process exits, lldb and lldb-server report the exit
while Windows is still tearing the process down. Its executable and DLLs
are still loaded at that point, so a test that deletes or replaces one
of them right after the exit fails with `"access denied"`. This is what
makes `TestReplaceDLL` fail on Windows CI.

This patch reports the exit only after the debugger has released the
exit event and the process has fully terminated, which matches how POSIX
reports an exit.

On a Windows 11 host, `TestReplaceDLL` fails to delete `foo.dll` in 246
out of 640 runs before the change and in 0 of 1,600 after.

rdar://188918066
DeltaFile
+14-2lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
+14-21 files

NetBSD/pkgsrc-wip 55b17cd — p5-Imager Makefile distinfo

p5-Imager: update to 1.037.

Security fix release.
DeltaFile
+3-3p5-Imager/distinfo
+1-1p5-Imager/Makefile
+4-42 files

LLVM/project 1e4af70 — clang/lib/CodeGen CGOpenMPRuntimeGPU.cpp, clang/test/OpenMP teams_generic_loop_nested_exec_mode.cpp

[OpenMP][clang] Properly handle nested "teams loop"

Treat a nested "teams loop" directive like a "teams distribute" since
it's lowered as such.

Claude assisted with this patch.
DeltaFile
+37-0clang/test/OpenMP/teams_generic_loop_nested_exec_mode.cpp
+36-0offload/test/offloading/teams_loop_nested_in_target.c
+5-0clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+3-1offload/test/offloading/thread_limit.c
+81-14 files

LLVM/project d332d94 — compiler-rt/lib/csan csan_watch.h csan_report.cpp, compiler-rt/lib/csan/offload csan_offload_report.cpp csan_offload_hsa_interceptors.cpp

[compiler-rt] Add 'csan' library for the concurrency sanitizer

Summary:
Adds the runtime for the concurrency sanitizer, both CPU and GPU.
Fundamentally, this works using the following pseudocode:

```c
static u64 watchpoints[N]; // Hash-indexed, zero is empty.

// Emitted before the access, so we never trip on our own write.
void check_access(volatile void *addr, u32 size, u32 type) {
    // Every access probes. A read conflicts only with a watched write, a
    // write conflicts with either.
    if (u64 *wp = find_watchpoint(addr, size, type))
        consume(wp, this_pc()); // Hand our location to the owner.

    if (!should_sample()) // Wave-uniform, 1-in-N chance.
        return;


    [17 lines not shown]
DeltaFile
+456-0compiler-rt/lib/csan/csan_gpu.cpp
+370-0compiler-rt/lib/csan/offload/csan_offload_hsa_interceptors.cpp
+334-0compiler-rt/lib/csan/csan.cpp
+279-0compiler-rt/lib/csan/csan_report.cpp
+184-0compiler-rt/lib/csan/offload/csan_offload_report.cpp
+163-0compiler-rt/lib/csan/csan_watch.h
+1,786-050 files not shown
+3,031-556 files

LLVM/project 188aefa — compiler-rt/lib/csan CMakeLists.txt, compiler-rt/lib/csan/offload csan_offload_preinit.cpp CMakeLists.txt

[compiler-rt] Remove dlsym interceptor and support `-shared-libsan` for CSan

Summary:
Follow the UBSan offload runtime. Offload now resolves HSA through the
global scope, so the `dlsym` interceptor is no longer needed. The real
HSA entry points are still taken from the loaded HSA library rather than
`RTLD_NEXT`, since every DSO with a static runtime exports the same
wrappers and they would otherwise chain back into each other.

Build `libclang_rt.csan.so` with the offload objects folded in. The
exported HSA wrappers report failure when HSA is absent and warn when HSA
was loaded ahead of the runtime. The preinit hook moves to a separate
`csan_offload-preinit` archive for executables.
DeltaFile
+34-98compiler-rt/lib/csan/offload/csan_offload_hsa_interceptors.cpp
+84-9compiler-rt/lib/csan/CMakeLists.txt
+35-0compiler-rt/test/csan/hsa-load-order.cpp
+22-4compiler-rt/lib/csan/offload/CMakeLists.txt
+24-0compiler-rt/test/csan/hsa-missing.cpp
+22-0compiler-rt/lib/csan/offload/csan_offload_preinit.cpp
+221-1115 files not shown
+241-11111 files

LLVM/project b8f52e5 — compiler-rt/cmake config-ix.cmake, compiler-rt/cmake/Modules AllSupportedArchDefs.cmake

comments
DeltaFile
+13-9compiler-rt/lib/csan/csan_gpu.cpp
+3-3compiler-rt/cmake/config-ix.cmake
+2-2compiler-rt/lib/csan/CMakeLists.txt
+1-1compiler-rt/test/csan/CMakeLists.txt
+1-1compiler-rt/lib/csan/offload/CMakeLists.txt
+1-0compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+21-166 files

LLVM/project ca44037 — clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver fsanitize.c fsanitize-concurrency-offload.c

[Clang] Support `-shared-libsan` for offload CSan

Summary:
Follow the UBSan handling. The shared runtime embeds the HSA
interceptors, so `csan_offload` is only linked with static runtimes and
executables pull in `csan_offload-preinit` to initialize early.
DeltaFile
+38-0clang/test/Driver/fsanitize-concurrency-offload.c
+9-4clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-1clang/test/Driver/fsanitize.c
+50-53 files

LLVM/project e3fd7ad — clang/lib/Driver SanitizerArgs.cpp, clang/lib/Driver/ToolChains AMDGPU.cpp CommonArgs.cpp

Comments
DeltaFile
+48-0clang/test/Driver/fsanitize-concurrency-offload.c
+27-0clang/test/Driver/fsanitize.c
+16-7clang/lib/Driver/ToolChains/Clang.cpp
+11-4clang/lib/Driver/SanitizerArgs.cpp
+5-6clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-2clang/lib/Driver/ToolChains/AMDGPU.cpp
+110-195 files not shown
+112-2111 files

LLVM/project 63e7b7a — clang/test/CodeGen sanitize-concurrency.c, clang/test/CodeGen/Inputs sanitize-concurrency-ignorelist.txt

ignore
DeltaFile
+29-0clang/test/CodeGen/sanitize-concurrency.c
+2-0clang/test/CodeGen/Inputs/sanitize-concurrency-ignorelist.txt
+31-02 files

LLVM/project 23c6228 — clang/docs ConcurrencySanitizer.md, clang/lib/CodeGen CodeGenFunction.cpp

[Clang] Add support for the `-fsanitize=concurrency` runtime

Summary:
Add the frontend sanitizer kind, function attributes, pass pipeline
integration, predefined macro, driver handling, and documentation for
ConcurrencySanitizer.
DeltaFile
+207-0clang/docs/ConcurrencySanitizer.md
+73-0clang/test/CodeGen/sanitize-concurrency.c
+32-8clang/lib/Driver/ToolChains/CommonArgs.cpp
+15-0clang/test/Driver/fsanitize.c
+10-4clang/lib/Driver/SanitizerArgs.cpp
+10-3clang/lib/CodeGen/CodeGenFunction.cpp
+347-1510 files not shown
+375-1616 files

LLVM/project e97ad19 — clang/test/Analysis end-function-return-stmt.cpp loop-widening-notes.cpp, clang/test/Analysis/diagnostics track_subexpressions.cpp

[analyzer] Turn on CFGLifetimeEnds elements by default
DeltaFile
+68-0clang/test/Analysis/lifetime-end-order.cpp
+2-2clang/test/Analysis/loop-widening-notes.cpp
+2-2clang/test/Analysis/diagnostics/track_subexpressions.cpp
+2-1clang/test/Analysis/end-function-return-stmt.cpp
+74-54 files

FreeNAS/freenas 09cdce7 — src/middlewared/middlewared/alert/source ntp.py, src/middlewared/middlewared/plugins/ntp enums.py peers.py

NAS-144155 / 27.0.0 / Read NTP peers from the chronyd socket (by yocalebo) (#19904)

Stop running chronyc and ask chronyd directly over its unix socket.
Replies are checked the same way libchrony checks them. Drop the NTPPeer
wrapper so the alert reads the peer entries as they are. Add a unit test
for the request and reply handling.

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

Co-authored-by: Caleb St. John <30729806+yocalebo at users.noreply.github.com>
DeltaFile
+144-95src/middlewared/middlewared/plugins/ntp/peers.py
+107-0src/middlewared/middlewared/pytest/unit/plugins/test_ntp_peers.py
+31-43src/middlewared/middlewared/plugins/ntp/enums.py
+6-9src/middlewared/middlewared/alert/source/ntp.py
+288-1474 files

LLVM/project c970830 — llvm/lib/Transforms/Instrumentation ConcurrencySanitizer.cpp, llvm/test/Instrumentation/ConcurrencySanitizer function_control.ll callbacks.ll

[LLVM] Add a ConcurrencySanitizer LLVM pass

Summary:
Add an LLVM ConcurrencySanitizer pass to instrument memory and atomic
operations for a sampling race detector. Fundamentally the pass iterates
through every candidate memory operation and adds a check above it.
Unlike TSAN, we do not replace any operations, which heavily simplifies
the instrumentation.

We do not re-use the TSAN instrumentaiton because the appraoches are
different enough and the passes simple enough that the extra code is not
a large concern. More differences will be added in the future, so
keeping them separate is easlier.
DeltaFile
+614-0llvm/lib/Transforms/Instrumentation/ConcurrencySanitizer.cpp
+131-0llvm/test/Instrumentation/ConcurrencySanitizer/selection.ll
+106-0llvm/test/Instrumentation/ConcurrencySanitizer/address_space.ll
+86-0llvm/test/Instrumentation/ConcurrencySanitizer/atomic.ll
+72-0llvm/test/Instrumentation/ConcurrencySanitizer/callbacks.ll
+59-0llvm/test/Instrumentation/ConcurrencySanitizer/function_control.ll
+1,068-010 files not shown
+1,321-016 files

LLVM/project ad48131 — llvm/test/CodeGen/AMDGPU amdgpu-attributor-min-agpr-alloc.ll, llvm/test/CodeGen/X86 x86-sanitizer-shrink-wrapping.ll

[IR] Add the sanitize_concurrency function attribute

This introduces a new concurrency sanitizer attribute to be used with
the runtime of the same name. This has no major change and simply
updates the IR to handle it properly. This attribute is invalid when
combined with the thread sanitizer one as they are mutually exclusive.
DeltaFile
+26-14llvm/test/CodeGen/AMDGPU/amdgpu-attributor-min-agpr-alloc.ll
+30-0llvm/test/CodeGen/X86/x86-sanitizer-shrink-wrapping.ll
+25-0llvm/test/Transforms/SimplifyCFG/no_speculative_loads_with_tsan.ll
+14-0llvm/test/Transforms/HotColdSplit/X86/do-not-split.ll
+11-1llvm/test/Transforms/ExpandMemCmp/X86/sanitizer-skip.ll
+9-0llvm/test/Verifier/sanitize-concurrency-attrs.ll
+115-1515 files not shown
+155-1921 files

NetBSD/pkgsrc 7QNuTay — emulators/jgenesis Makefile

   jgenesis: fix typo in comment
VersionDeltaFile
1.27+2-2emulators/jgenesis/Makefile
+2-21 files

FreeBSD/ports 7f091fb — security/arti Makefile Makefile.crates

security/arti: Update to 2.7.0
DeltaFile
+221-183security/arti/distinfo
+109-90security/arti/Makefile.crates
+2-3security/arti/Makefile
+332-2763 files

FreeBSD/ports 881fd8b — security/vuxml/vuln 2026.xml

security/vuxml: Add entries for arti
DeltaFile
+25-0security/vuxml/vuln/2026.xml
+25-01 files

FreeNAS/freenas c6e7ee7 — src/middlewared/middlewared/api/v27_0_0 pool_dataset.py, src/middlewared/middlewared/plugins/pool_ dataset.py

Reject leading and trailing spaces in new dataset name components
DeltaFile
+39-1tests/api2/test_pool_dataset_create.py
+20-5src/middlewared/middlewared/plugins/zfs/create_rules.py
+20-1tests/api2/test_zfs_resource_create.py
+6-6src/middlewared/middlewared/plugins/pool_/dataset.py
+7-0src/middlewared/middlewared/plugins/zfs_/validation_utils.py
+3-1src/middlewared/middlewared/api/v27_0_0/pool_dataset.py
+95-141 files not shown
+97-147 files

FreeNAS/freenas 697e642 — src/middlewared/middlewared/alert/source ntp.py, src/middlewared/middlewared/plugins/ntp enums.py peers.py

NAS-144155 / 28.0.0-BETA.1 / Read NTP peers from the chronyd socket (#19902)

Stop running chronyc and ask chronyd directly over its unix socket.
Replies are checked the same way libchrony checks them. Drop the NTPPeer
wrapper so the alert reads the peer entries as they are. Add a unit test
for the request and reply handling.
DeltaFile
+146-97src/middlewared/middlewared/plugins/ntp/peers.py
+107-0src/middlewared/middlewared/pytest/unit/plugins/test_ntp_peers.py
+31-43src/middlewared/middlewared/plugins/ntp/enums.py
+6-8src/middlewared/middlewared/alert/source/ntp.py
+290-1484 files

FreeBSD/src a2fbd98 — sys/amd64/amd64 fpu.c pmap.c, sys/amd64/vmm vmm.c

ifuncs: Include <machine/ifunc.h> instead of <x86/ifunc.h>

All architectures have been providing an 'ifunc.h' header with
DEFINE_IFUNC() et alter working both in kernel and userland since commit
cf41d1113377 ("riscv: implement kernel ifunc resolution"), and separate
<i386/ifunc.h> and <amd64/ifunc.h> headers were introduced in commit
2b1db07bec92 ("x86: add machine/ifunc.h"), so stop including
<x86/ifunc.h> directly and use the common <machine/ifunc.h> idiom.

While here, re-order includes in the blocks featuring <x86/ifunc.h>,
which requires fixing <x86/apicvar.h> so that it can be included before
<machine/intr_machdep.h>.

Reviewed by:    kib
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D60194
DeltaFile
+6-6sys/amd64/vmm/vmm.c
+5-5sys/amd64/amd64/machdep.c
+4-4sys/amd64/amd64/pmap.c
+2-2sys/x86/x86/cpu_machdep.c
+2-2sys/i386/i386/npx.c
+2-2sys/amd64/amd64/fpu.c
+21-218 files not shown
+31-2814 files

FreeBSD/src 18ce3f5 — sys/dev/random rdseed.c ivy.c

random: Remove unused include of ifuncs

No functional change (intended).

Reviewed by:    markj, emaste
Fixes:          3a12982962ce ("random: add RDSEED as a provably unique entropy source")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D60193
DeltaFile
+0-1sys/dev/random/rdseed.c
+0-1sys/dev/random/ivy.c
+0-22 files

FreeNAS/freenas d0a836d — src/middlewared/middlewared/alert/source mseries_nvdimm_and_bios.py, src/middlewared/middlewared/plugins/hardware m_series_nvdimm.py

Read NVDIMM health from the kernel instead of running ixnvdimm

The NVDIMM alert check ran the ixnvdimm program twice for every module.
That made 24 firmware requests per module every five minutes.
The check used the results of only seven of them.
Any of those requests can fail when kernel memory is fragmented.

The check now asks the kernel directly through a new helper in utils/hardware/nvdimm.py.
It makes three requests per module on each check.
Values that only change on reboot are read once and kept.
A failed request is tried one more time.
If it fails again the check keeps the alerts it already has.

The three warning threshold names now each use their own bit.
ixnvdimm tested the lowest bit for all of them.
DeltaFile
+121-96src/middlewared/middlewared/plugins/hardware/m_series_nvdimm.py
+143-0src/middlewared/middlewared/pytest/unit/plugins/test_m_series_nvdimm.py
+108-0src/middlewared/middlewared/pytest/unit/utils/test_hardware_nvdimm.py
+72-0src/middlewared/middlewared/utils/hardware/nvdimm.py
+16-2src/middlewared/middlewared/alert/source/mseries_nvdimm_and_bios.py
+15-0src/middlewared/middlewared/pytest/unit/alert/source/test_mseries_nvdimm.py
+475-986 files

FreeBSD/ports 70cb589 — x11/kitty Makefile pkg-plist

x11/kitty: Update to 0.49.2

ChangeLog:

1. https://sw.kovidgoyal.net/kitty/changelog/#detailed-list-of-changes

Reported by:    Kovid Goyal <notifications at github.com>
DeltaFile
+5-5x11/kitty/distinfo
+1-1x11/kitty/Makefile
+2-0x11/kitty/pkg-plist
+8-63 files

LLVM/project f13b065 — flang-rt CMakeLists.txt

[flang-rt] Add headers as a dependency to the runtime (#228210)

Summary:
The flang-rt runtime implicitly depends on the flang compiler's header
gen. We need to depend on the target for the component.
DeltaFile
+4-1flang-rt/CMakeLists.txt
+4-11 files

LLVM/project f2427dd — offload/test/offloading xteam_reduction_no_parallel.c, openmp/device/src Reduction.cpp

[OpenMP][offload] Fix single-thread SPMD cross-team reductions

If a kernel gets SPMDized by OpenMPOpt but does not have a parallel
region, it actually is only executed by a single thread.
forceSingleThreadPerWorkgroupHelper() is responsible for that and had
been introduced by https://reviews.llvm.org/D133120. The cross-team
reduction trusted that SPMD mode means that we're dealing with all
threads. Now, it checks explicitly.

Claude assisted with this patch.
DeltaFile
+46-0offload/test/offloading/xteam_reduction_no_parallel.c
+18-6openmp/device/src/Reduction.cpp
+64-62 files

FreeBSD/src 0b98828 — tests/sys/fs/fusefs misc.cc

fusefs: fix gcc build error with shadowed variable in tests

Reported by:    gcc -Werror=shadow
Reviewed by:    asomers, markj
Fixes:  ee1c3d38a26a ("fusefs: fix vnode locking violations during execve")
Differential Revision:  https://reviews.freebsd.org/D58130

(cherry picked from commit c503d23a6ccb8090edabc1c90981f9b8f202e093)
DeltaFile
+2-2tests/sys/fs/fusefs/misc.cc
+2-21 files

LLVM/project 12a24de — polymorphism-benchmark MLIR.cpp CMakeCache.txt, polymorphism-benchmark/CMakeFiles CMakeConfigureLog.yaml

Stray space change noise Leftover dead code

Stray space change noise Leftover dead code
flangast experiments
clang-format

Stray space change noise

Leftover dead code

clang-format

Post-merge fixes

clang-format
DeltaFile
+1,825-0polymorphism-benchmark/CMakeFiles/CMakeConfigureLog.yaml
+925-0polymorphism-benchmark/CMakeFiles/3.28.3/CompilerIdCXX/CMakeCXXCompilerId.cpp
+710-0polymorphism-benchmark/third-party/benchmark/src/Makefile
+663-0polymorphism-benchmark/build.ninja
+579-0polymorphism-benchmark/CMakeCache.txt
+575-0polymorphism-benchmark/MLIR.cpp
+5,277-096 files not shown
+8,393-1102 files