LLVM/project a147be8lldb/unittests/Expression DWARFExpressionTest.cpp

[lldb] Add missing period in DWARFExpressionTest (NFC) (#202706)
DeltaFile
+1-1lldb/unittests/Expression/DWARFExpressionTest.cpp
+1-11 files

LLVM/project 94dc992cross-project-tests/debuginfo-tests/dexter/dex/evaluation ExpectWriter.py, cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting rewrite_expects.cpp rewrite_multiple_scripts.cpp

[Dexter] Add ability to rewrite scripts to fill-in unknown values

This patch adds a feature to Dexter that allows scripts to be passed to
Dexter with missing expected values (`null` values in YAML), which Dexter
will attempt to "fill-in" with expected values that match the debugger's
actual output. The result is written to a file with the same name as the
original test file, in the directory given by --results-directory if one
is present; all content outside of the Dexter script itself is preserved
exactly as-is.
DeltaFile
+201-0cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectWriter.py
+128-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expect_list_expected.cpp
+52-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_expects.cpp
+51-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_expects_expected.cpp
+46-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/Inputs/rewrite_multiple_scripts_expected.cpp
+46-0cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/rewriting/rewrite_multiple_scripts.cpp
+524-08 files not shown
+665-714 files

LLVM/project b2ee616clang/docs ReleaseNotes.rst, clang/lib/Lex Lexer.cpp

[clang][Lex] Don't parsing header name as a string literal (#201763)

Fixes https://github.com/llvm/llvm-project/issues/132643.

---------

Signed-off-by: yronglin <yronglin777 at gmail.com>
DeltaFile
+21-1clang/lib/Lex/Lexer.cpp
+6-0clang/test/CXX/lex/lex.header/p2.cpp
+1-0clang/docs/ReleaseNotes.rst
+28-13 files

FreeBSD/src c289291sys/kern tty.c

tty: Add sysctl knob to globally disable TIOCSTI

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57233
DeltaFile
+8-0sys/kern/tty.c
+8-01 files

OpenZFS/src d1c7c8ctests/unit test_zap.c

unit/zap: key case normalization tests

Testing that normalized lookups work correctly for the supported
normalization forms, and that conflicts are detected and reported
correctly.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18654
DeltaFile
+388-7tests/unit/test_zap.c
+388-71 files

OpenZFS/src 04e7ea3include/sys zap.h, module/zfs zap.c

zap: expose zap_remove_norm_by_dnode()

Just so the test suite can use it.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18654
DeltaFile
+1-1module/zfs/zap.c
+2-0include/sys/zap.h
+3-12 files

LLVM/project f318532lldb/packages/Python/lldbsuite/test decorators.py, lldb/test/API/commands/platform/connect TestPlatformConnect.py

[lldb][Windows] extend @skipIfWindows to lldb-server or in process (#202688)

Some tests fail when using `lldb-server.exe` and pass when using the in
process plugin and vice-versa.

This patch adds the `skipIfWindowsAndNoLLDBServer` and
`expectedFailureWindowsAndNoLLDBServer` decorators (and their opposites)
to only skip tests if they run on `lldb-server` or the in process
plugin.

This fixes 4 XPASS when running tests with `USE_LLDB_SERVER=1`.

rdar://179117754
DeltaFile
+44-0lldb/packages/Python/lldbsuite/test/decorators.py
+2-2lldb/test/API/commands/platform/connect/TestPlatformConnect.py
+2-2lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py
+1-1lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
+1-1lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
+1-1lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
+51-76 files

LLVM/project 5adc7ddopenmp/runtime/src kmp_ftn_entry.h, openmp/runtime/src/i18n en_US.txt

[OpenMP] Ignore teams ICV setters in restricted contexts (#194428)

This patch prevents `omp_set_num_teams()` and
`omp_set_teams_thread_limit()` from updating teams-related ICVs when
called from restricted runtime contexts.

The non-implicit parallel-region case follows the OpenMP 5.1
restriction. The active `teams`-region case is handled defensively
because these ICVs are device-scoped and updating them during an active
`teams` region can affect later teams execution.

The calls now warn and return without updating the ICVs. 

Fixes #194426.
DeltaFile
+71-0openmp/runtime/test/api/omp_nteams_api_restriction.c
+29-0openmp/runtime/src/kmp_ftn_entry.h
+2-0openmp/runtime/src/i18n/en_US.txt
+102-03 files

FreeNAS/freenas 05a2fa0tests runtest.py

Support `--ha-license-path`
DeltaFile
+4-0tests/runtest.py
+4-01 files

FreeBSD/ports a5155e4ports-mgmt/pkg-provides Makefile distinfo

ports-mgmt/pkg-provides: update v0.7.4 -> v0.8.0

Changelog: https://github.com/rosorio/pkg-provides/releases/tag/v0.8.0

Major changes:
    - Migrates from libfetch to libcurl
    - Reduce network calls on first or forced update
DeltaFile
+4-3ports-mgmt/pkg-provides/Makefile
+3-3ports-mgmt/pkg-provides/distinfo
+7-62 files

LLVM/project e0d0d3dllvm/include/llvm/CodeGen TargetRegisterInfo.h, llvm/test/TableGen ConcatenatedSubregs.td RegisterClassCopyCost.td

[llvm][MC] Store RegSize using uint32_t instead of uint16_t. (#201886)

`uint32_t` is needed for working with registers with size >= 65535,
which is the case for a private ISA that I am currently working on. The
performance impact is negligible. See discussions in [LLVM
Discourse](https://discourse.llvm.org/t/rfc-support-reg-sizes-greater-than-65534/90970/2).
DeltaFile
+5-5llvm/utils/TableGen/RegisterInfoEmitter.cpp
+4-4llvm/utils/TableGen/Common/CodeGenRegisters.h
+3-3llvm/utils/TableGen/Common/InfoByHwMode.h
+3-3llvm/test/TableGen/ConcatenatedSubregs.td
+2-2llvm/test/TableGen/RegisterClassCopyCost.td
+2-2llvm/include/llvm/CodeGen/TargetRegisterInfo.h
+19-192 files not shown
+21-218 files

Dreckly/dreckly 057ecd7databases/mariadb118-client distinfo, databases/mariadb118-client/patches patch-CMakeLists.txt patch-plugin_auth__socket_CMakeLists.txt

mariadb118: Update to 11.8.8
DeltaFile
+18-14databases/mariadb118-client/patches/patch-CMakeLists.txt
+9-9databases/mariadb118-client/patches/patch-plugin_auth__socket_CMakeLists.txt
+8-8databases/mariadb118-client/distinfo
+5-5databases/mariadb118-client/patches/patch-extra_CMakeLists.txt
+3-3databases/mariadb118-client/patches/patch-libmariadb_cmake_FindGSSAPI.cmake
+3-3databases/mariadb118-client/patches/patch-client_CMakeLists.txt
+46-423 files not shown
+51-479 files

Dreckly/dreckly 78b0b5ddatabases/mariadb106-client distinfo PLIST, databases/mariadb106-server PLIST

mariadb106: Update to 10.6.27
DeltaFile
+3-3databases/mariadb106-client/distinfo
+0-3databases/mariadb106-client/PLIST
+1-1databases/mariadb106-client/Makefile.common
+1-0databases/mariadb106-server/PLIST
+5-74 files

Dreckly/dreckly b614d73databases/mariadb114-client distinfo PLIST, databases/mariadb114-client/patches patch-CMakeLists.txt patch-plugin_auth__socket_CMakeLists.txt

mariadb114: Update to 11.4.12
DeltaFile
+10-9databases/mariadb114-client/patches/patch-CMakeLists.txt
+9-9databases/mariadb114-client/patches/patch-plugin_auth__socket_CMakeLists.txt
+6-6databases/mariadb114-client/distinfo
+3-3databases/mariadb114-client/patches/patch-libmariadb_cmake_FindGSSAPI.cmake
+3-1databases/mariadb114-server/PLIST
+0-3databases/mariadb114-client/PLIST
+31-311 files not shown
+32-327 files

LLVM/project 86f543dclang/lib/StaticAnalyzer/Core ExprEngineCallAndReturn.cpp

[NFC][analyzer] Refactor VisitReturnStmt (#202675)

Simplify an old-style for loop that used explicit iterator manipulation,
and clarify the manipulation of the exploded nodes by removing the
`NodeBuilder`.

This is part of my commit series that gradually removes the class
`NodeBuilder`.
DeltaFile
+6-7clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
+6-71 files

LLVM/project 743283clldb/test/API/functionalities/breakpoint/breakpoint_command TestBreakpointCommand.py

[lldb][Windows] enable skipped tests (#202689)
DeltaFile
+0-2lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
+0-21 files

Illumos/gate f5dea17usr/src/test/test-runner/cmd run

17694 test runner silently ignores missing tests in runfile
Reviewed by: Rich Lowe <richlowe at richlowe.net>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+37-11usr/src/test/test-runner/cmd/run
+37-111 files

LLVM/project 2d4afb8llvm/lib/Target/AMDGPU SIFoldOperands.cpp, llvm/test/CodeGen/AMDGPU si-fold-operands-bundle.mir ds_gws_align.ll

[AMDGPU] SIFoldOperands: update BUNDLE header implicit use when folding (#201872)

When folding an operand inside a BUNDLE, also rewrite the matching
implicit use on the bundle header. LiveVariables iterates a
MachineBasicBlock with the bundle-aware iterator and only inspects the
header, so without this update its kill flags go stale and a later
MachineVerifier run reports "Using a killed virtual register".

Co-Authored-By: Claude Opus 4 <noreply at anthropic.com>

Co-authored-by: Claude Opus 4 <noreply at anthropic.com>
DeltaFile
+61-0llvm/test/CodeGen/AMDGPU/si-fold-operands-bundle.mir
+12-0llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+11-0llvm/test/CodeGen/AMDGPU/ds_gws_align.ll
+84-03 files

LLVM/project bf10404llvm/lib/CodeGen Rematerializer.cpp

Re-add include
DeltaFile
+1-0llvm/lib/CodeGen/Rematerializer.cpp
+1-01 files

FreeBSD/src 13fb6dblibexec/nuageinit nuageinit

nuageinit: validate set-name to prevent shell injection in variable names

Shell variable names cannot be safely quoted with shell_escape() —
only alphanumeric characters are valid. Add validation that set-name
only matches [a-zA-Z0-9]+; invalid values are rejected with a
warning and the rename is skipped entirely.
DeltaFile
+6-2libexec/nuageinit/nuageinit
+6-21 files

FreeBSD/src 09d068elibexec/nuageinit nuageinit, libexec/nuageinit/tests nuageinit.sh

nuageinit: fix shell injection in power_state_change delay and add test
DeltaFile
+1-1libexec/nuageinit/tests/nuageinit.sh
+1-1libexec/nuageinit/nuageinit
+2-22 files

FreeBSD/src da3890flibexec/nuageinit nuage.lua, libexec/nuageinit/tests nuageinit.sh nuage.sh

nuageinit: use single-quote shell escaping for hostname in rc.conf.d

The hostname value was written inside double quotes in
/etc/rc.conf.d/hostname. POSIX shell performs command substitution
inside double quotes, so a hostname containing $() or backticks would
be executed when the file is sourced (e.g., by rc(8)).

Switch to using the existing shell_escape() helper, which wraps values
in single quotes. In POSIX shell, single-quoted strings are completely
literal — no expansion or substitution of any kind is performed.

While the hostname is already validated to contain only
[a-zA-Z0-9.-], this change provides defense-in-depth so the output
format is safe regardless of future validation changes.

Reported by:    Yazdan Soltani <yazdan.soltani at gmail.com>
DeltaFile
+6-6libexec/nuageinit/tests/nuageinit.sh
+1-1libexec/nuageinit/nuage.lua
+1-1libexec/nuageinit/tests/nuage.sh
+1-1libexec/nuageinit/tests/sethostname.lua
+9-94 files

FreeBSD/src 0211c87libexec/nuageinit nuageinit, libexec/nuageinit/tests nuageinit.sh

nuageinit: fix shell command injection in multiple rc.conf.d writes
DeltaFile
+30-59libexec/nuageinit/nuageinit
+23-23libexec/nuageinit/tests/nuageinit.sh
+53-822 files

LLVM/project 790f062llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp SelectionDAGBuilder.cpp, llvm/lib/Target/AArch64 AArch64SelectionDAGInfo.cpp

[SelectionDAG] Pass dest and src alignments separately to memcpy and memmove lowering functions (#201119)

Implements FIXMEs around memcpy and memmove lowering code about passing
destination and source alignments to lowering functions.

Fixes ARM cost model's cost estimation for an inlined `memcpy`. The test
shows the generated code as two instructions so the cost should've been 2, 
but it was estimated as a libcall which costs 4.

In the backend functions that don't care about destination and source
alignments, the old alignment calculation `std::min(dstAlign, srcAlign)`
used as the alignment. This gives us the old lowering behavior on those
backends.
DeltaFile
+52-58llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+20-20llvm/test/CodeGen/X86/pr57673.ll
+16-16llvm/test/CodeGen/AMDGPU/memcpy-libcall.ll
+9-17llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+15-10llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+13-10llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
+125-13139 files not shown
+257-23845 files

LLVM/project 1732c65llvm/test/tools/llvm-objdump/MachO function-starts.test

[llvm-objdump] Remove path from test output (#201940)
DeltaFile
+10-16llvm/test/tools/llvm-objdump/MachO/function-starts.test
+10-161 files

Dreckly/dreckly 19ca72adatabases/mariadb1011-embedded Makefile

mariadb1011-embedded: Disable rocksdb engine.

Hopefully fixes build on FreeBSD.
DeltaFile
+1-0databases/mariadb1011-embedded/Makefile
+1-01 files

LLVM/project 2bbf94dflang/lib/Optimizer/HLFIR/Transforms BufferizeHLFIR.cpp, flang/test/HLFIR mul_transpose.f90 bufferize01.fir

[flang][hlfir] Reset lower bounds to one when bufferizing hlfir.as_expr move (#202406)

Example:
```fortran
module m
  type t
    integer, allocatable :: a(:)
  end type
contains
  function pf()
    integer, allocatable :: pf(:)
    allocate(pf(-5:-3)); pf = [1,2,3]
  end function
end module

program p
  use m
  type(t) :: z
  z = t(pf())

    [12 lines not shown]
DeltaFile
+15-2flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
+8-6flang/test/HLFIR/mul_transpose.f90
+4-3flang/test/HLFIR/bufferize01.fir
+5-2flang/test/HLFIR/extents-of-shape-of.f90
+5-2flang/test/HLFIR/shapeof-lowering.fir
+2-1flang/test/HLFIR/assign-bufferize.fir
+39-161 files not shown
+41-177 files

LLVM/project 6e40957llvm/lib/Target/AArch64/MCTargetDesc AArch64InstPrinter.cpp

compress further

Created using spr 1.3.8-wip
DeltaFile
+6-6llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+6-61 files

LLVM/project 85ac9a1clang/include/clang/DependencyScanning DependencyScanningFilesystem.h, clang/lib/DependencyScanning DependencyScanningFilesystem.cpp

[clang][deps] Add in-flight query caching to `DependencyScanningFilesystemSharedCache` (#199680)

Concurrent dep-scan workers querying the same filename or UID each issue
their own `stat` and `open` against the underlying filesystem; only the
first to finish wins the cache insert, the others' work is wasted.

Add per-key in-flight tracking to `CacheShard`. `InProgressByFilename`
and `InProgressByUID` map each active key to a
`std::shared_ptr<InProgressEntry>` carrying a `std::condition_variable`,
a `Done` predicate, and the produced entry pointer.
`acquireFilenameSlot` / `acquireUIDSlot` collapse three outcomes
(resolved hit, in-progress wait, fresh producer slot) into one critical
section against the shard lock. `fulfilFilenameSlot`,`fulfilUIDSlot`
publish the produced entry, set `Done`, erase the slot, and `notify_all`
waiters outside the lock.

`computeAndStoreResult` now claims the filename slot before `stat` and
the UID slot before `readFile`, so both stat and open redundancy
collapse.
DeltaFile
+140-143clang/lib/DependencyScanning/DependencyScanningFilesystem.cpp
+72-143clang/include/clang/DependencyScanning/DependencyScanningFilesystem.h
+211-0clang/unittests/DependencyScanning/DependencyScanningFilesystemTest.cpp
+56-13llvm/include/llvm/Support/VirtualFileSystem.h
+30-0llvm/unittests/Support/VirtualFileSystemTest.cpp
+0-26llvm/lib/Support/VirtualFileSystem.cpp
+509-3251 files not shown
+511-3257 files

FreeBSD/ports f36f6d8lang/gnat14 distinfo Makefile

lang/gnat14: refresh previous assets

Remark: the asset for 14.2.0 on FreeBSD-13 / aarch64 is missing.
DeltaFile
+19-17lang/gnat14/distinfo
+6-1lang/gnat14/Makefile
+25-182 files