LLVM/project 39971de — clang/test/CIR/Tools cir-offload-merge.cir

[CIR] Check lowering options are kept in cir-offload-merge test
DeltaFile
+4-4clang/test/CIR/Tools/cir-offload-merge.cir
+4-41 files

FreeNAS/freenas d787af1 — tests/api2 test_audit_basic.py

Add integration test for audit.download_report report names

Names that are not a single file name are rejected.
DeltaFile
+8-0tests/api2/test_audit_basic.py
+8-01 files

FreeNAS/freenas 88ec16d — src/middlewared/middlewared/plugins/audit audit.py

Only accept a report file name in audit.download_report

audit.export creates each report directly in the user's report
directory, so report_name must be a single file name. Refuse a name
that is empty, is "." or "..", or contains "/" or a NUL byte.

Open the report with safe_open, which refuses a symlink anywhere in
the path, and serve it from that file once it is confirmed to be a
regular file. This replaces the separate existence and file type
checks on the path.
DeltaFile
+23-9src/middlewared/middlewared/plugins/audit/audit.py
+23-91 files

FreeBSD/ports b96d5a9 — www/firefox/files patch-build_gn__processor.py patch-toolkit_compontents_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc

www/firefox: update to 161.0 (rc1)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/161.0/releasenotes/

(cherry picked from commit 4e427e63852bc6dfdb2fe25a0627f8bae860b50c)
DeltaFile
+1,400-334www/firefox/files/patch-libwebrtc-generated
+895-14www/firefox/files/patch-third__party_angle-freebsd
+34-25www/firefox/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn
+0-23www/firefox/files/patch-toolkit_compontents_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc
+23-0www/firefox/files/patch-toolkit_components_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc
+14-6www/firefox/files/patch-build_gn__processor.py
+2,366-4023 files not shown
+2,375-4119 files

FreeBSD/ports 03cc5f8 — net-mgmt/check_ssl_cert Makefile distinfo

net-mgmt/check_ssl_cert: update to 2.103.5

Release Notes:
  https://github.com/matteocorti/check_ssl_cert/releases/tag/v2.103.5
DeltaFile
+3-3net-mgmt/check_ssl_cert/distinfo
+1-1net-mgmt/check_ssl_cert/Makefile
+4-42 files

NetBSD/pkgsrc-wip 4dd0e07 — chromium distinfo

chromium: fix distinfo
DeltaFile
+1-0chromium/distinfo
+1-01 files

FreeBSD/ports 4e427e6 — www/firefox/files patch-build_gn__processor.py patch-toolkit_compontents_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc

www/firefox: update to 161.0 (rc1)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/161.0/releasenotes/
DeltaFile
+1,400-334www/firefox/files/patch-libwebrtc-generated
+895-14www/firefox/files/patch-third__party_angle-freebsd
+34-25www/firefox/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn
+0-23www/firefox/files/patch-toolkit_compontents_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc
+23-0www/firefox/files/patch-toolkit_components_protobuf_src_google_protobuf_io_zero__copy__stream__impl.cc
+14-6www/firefox/files/patch-build_gn__processor.py
+2,366-4023 files not shown
+2,375-4119 files

LLVM/project ecdde84 — clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver relocatable-dwarf.c

[clang] Don't relocate DWARF on 32-bit ARM and x86 Mach-O (#244069)

On 32-bit ARM and x86, Mach-O uses scattered relocations, which identify
their target by address. Relocatable DWARF puts every __DWARF section at
address 0, so these relocations become ambiguous: a line table's
reference to a file name in __debug_line_str resolves to the first
function in __text instead.

Don't enable relocatable DWARF for these architectures.

Assisted-by: Claude
DeltaFile
+15-2clang/test/Driver/relocatable-dwarf.c
+3-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+18-22 files

LLVM/project 7bd6265 — utils/bazel/llvm-project-overlay/libc/src/signal BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/signal BUILD.bazel

[bazel][libc] Add missing copts for __restore.cpp (#244351)

`sigaction_test` fails w/o the copts and passes with them. `copts` are
taken from:
https://github.com/llvm/llvm-project/blob/d56bc48c9c0ea19b58427b3c6f114bd669710cbd/libc/src/signal/linux/CMakeLists.txt#L62-L68
DeltaFile
+25-0utils/bazel/llvm-project-overlay/libc/src/signal/BUILD.bazel
+23-0utils/bazel/llvm-project-overlay/libc/test/src/signal/BUILD.bazel
+48-02 files

NetBSD/pkgsrc-wip 65350b7 — chromium distinfo, chromium/patches patch-build_rust_std_BUILD.gn patch-chrome_browser_about__flags.cc

chromium: update to 158.0.8127.36
DeltaFile
+1,715-1,713chromium/distinfo
+0-210chromium/patches/patch-build_rust_gni__impl_cpp__api__from__rust.gni
+0-148chromium/patches/patch-third__party_speech-dispatcher_speechd__types.h
+148-0chromium/patches/patch-third__party_speech-dispatcher_src_speechd__types.h
+76-69chromium/patches/patch-chrome_browser_about__flags.cc
+17-76chromium/patches/patch-build_rust_std_BUILD.gn
+1,956-2,2161,728 files not shown
+5,586-5,9231,734 files

LLVM/project eb9bb7d — lldb CMakeLists.txt, llvm-libgcc CMakeLists.txt

[CMake] Bump the minimum required version to 3.31 (#223854)

This is a follow up to e192ec42b426f6ffbc25419238a90f3c59088587 which
changes the warning to an error when using CMake older than 3.31.

See https://discourse.llvm.org/t/rfc-raising-minimum-required-cmake-version-to-3-31/91086.

Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
DeltaFile
+1-9polly/CMakeLists.txt
+1-9openmp/CMakeLists.txt
+1-9offload/CMakeLists.txt
+1-9mlir/CMakeLists.txt
+1-9llvm-libgcc/CMakeLists.txt
+1-9lldb/CMakeLists.txt
+6-5431 files not shown
+43-19337 files

FreeNAS/freenas 66226d0 — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/filesystem_ acl.py

NAS-145324 / 27.1.0 / Check the resolved path in filesystem permission changes

filesystem.stat set realpath from the absolute path for anything that
was not itself a symlink, so it kept ".." components and symlinked
parent directories. Resolve the whole path, as the field's description
says. NFS share validation and vm.device.convert, which also use
realpath, now see the fully resolved path.

The path checks of filesystem.chown, filesystem.setperm and
filesystem.setacl matched that realpath by string prefix, without a
component boundary. Compare whole path components instead. The S3
bucket check no longer resolves the path a second time.

Also fix the schema name in the "Must be an absolute path" error.

(cherry picked from commit c0250bb7913c6d4b569d4536ec97f5938317894f)
DeltaFile
+7-5src/middlewared/middlewared/plugins/filesystem_/acl.py
+11-0tests/api2/test_190_filesystem.py
+1-1src/middlewared/middlewared/plugins/filesystem.py
+19-63 files

LLVM/project fffc865 — llvm/test/tools/dsymutil/AArch64 pseudo-probe.test

[dsymutil][test] Use FileCheck --ignore-case in pseudo-probe.test (#243999)

Follow-up to #243925, addressing the post-merge review comment from
@perry-ca.

Use FileCheck's `--ignore-case` option instead of piping `od` output
through `tr A-F a-f`, consistent with other tests (e.g.
`llvm/test/tools/yaml2obj/XCOFF/string-table.yaml`).
DeltaFile
+4-4llvm/test/tools/dsymutil/AArch64/pseudo-probe.test
+4-41 files

LLVM/project 1326542 — openmp/runtime/src z_Linux_asm.S

[OpenMP] Fix __kmp_invoke_microtask for arm64_32 (#243956)

On arm64_32 pointers are 4 bytes. Use 4 byte loads and stores for the
p_argv entries, the stack arguments and *exit_frame_ptr.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+23-10openmp/runtime/src/z_Linux_asm.S
+23-101 files

LLVM/project 91fed89 — llvm/test/Transforms/SLPVectorizer/RISCV revec-strided-load.ll

[SLP] Precommit tests for Compressed vs Strided loads (#244338)

Tests for #235944.
DeltaFile
+127-40llvm/test/Transforms/SLPVectorizer/RISCV/revec-strided-load.ll
+127-401 files

LLVM/project 41fad11 — llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine usub_sat_to_msb_mask.ll

[InstCombine] Check the select type in the usub.sat sign mask fold (#244281)

`foldICmpUSubSatWithAndForMostSignificantBitCmp` replaces a select with
an `and` that has the type of the `usub.sat` operands. We can't do the
replacement when the select has a different type.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+37-0llvm/test/Transforms/InstCombine/usub_sat_to_msb_mask.ll
+5-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+42-02 files

LLVM/project 6eeb7b9 — lldb/include/lldb/API SBCommandReturnObject.h, lldb/source/API SBCommandReturnObject.cpp

[lldb] Fix SBCommandReturnObject::SetError dropping the error (#244317)

8789c96698e0 inverted the check, so only a successful SBError was
forwarded.

Assisted-by: Claude
DeltaFile
+40-0lldb/unittests/API/SBCommandReturnObjectTest.cpp
+9-0lldb/test/API/commands/command/script/TestCommandScript.py
+6-0lldb/test/API/commands/command/script/welcome.py
+3-0lldb/include/lldb/API/SBCommandReturnObject.h
+1-1lldb/source/API/SBCommandReturnObject.cpp
+1-0lldb/unittests/API/CMakeLists.txt
+60-16 files

FreeBSD/ports 1a827d9 — net/wireshark Makefile pkg-plist

net/wireshark: Update to 4.6.10

See https://www.wireshark.org/docs/relnotes/wireshark-4.6.10.html for a
list of changes in this release.
DeltaFile
+3-3net/wireshark/distinfo
+2-2net/wireshark/pkg-plist
+1-1net/wireshark/Makefile
+6-63 files

LLVM/project 8830f95 — lldb/packages/Python/lldbsuite/test lldbtest.py, lldb/source/Plugins/LanguageRuntime/CPlusPlus MicrosoftABIRuntime.h MicrosoftABIRuntime.cpp

[lldb][MS ABI] Use special demangle flags for templates (#238970)

In #236572, I added some flags to mimic the formatting MSVC (and Clang)
use for templates in PDB. Specifically, they don't insert spaces in
parameter lists and closing braces do have a space. DWARF only differs
in that it puts spaces between parameters.

When we detect a template name, we now demangle that manually, since
`Mangled` doesn't use the right flags. This is a bit more overhead, but
the result is cached anyway.
DeltaFile
+62-9lldb/source/Plugins/LanguageRuntime/CPlusPlus/MicrosoftABIRuntime.cpp
+61-0lldb/test/API/lang/cpp/dynamic-value-templates/TestDynamicValueTemplates.py
+36-0lldb/test/API/lang/cpp/dynamic-value-templates/main.cpp
+9-4lldb/packages/Python/lldbsuite/test/lldbtest.py
+5-0lldb/test/API/lang/cpp/dynamic-value-templates/Makefile
+4-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/MicrosoftABIRuntime.h
+177-136 files

LLVM/project dcfc3d4 — clang/lib/Driver/ToolChains Clang.cpp

[Clang][Driver][NFC] Simplify fp-contract state tracking (#243282)

Simplify -ffp-contract state tracking by replacing
'LastSeenFfpContractOption' and 'SeenUnsafeMathModeOption' with a single
optional fallback value 'FPContractFallback';

Explicit -ffp-contract options set the fallback 'FPContractFallback' to
their value. Unsafe-math options establish "on" as the fallback only
when none exists. Disabling unsafe math restores that fallback,
preserving existing option-ordering behavior and CUDA/HIP exceptions.

Share the contraction-enabling logic through enableUnsafeFPContract()
and remove a redundant diagnostic-state reset.

Assisted by Copilot GPT-6.1 Sol
DeltaFile
+19-26clang/lib/Driver/ToolChains/Clang.cpp
+19-261 files

LLVM/project c042bf3 — clang/docs ReleaseNotes.md, clang/lib/Sema SemaOpenMP.cpp

[clang][OpenMP] Fix APSInt bit-width mismatch in ordered depend/doacross check (#238672)

In `ProcessOpenMPDoacrossClauseCommon`, both `DepCounter` and
`TotalDepCount` were initialized as `32-bit APSInts`, after which
`TotalDepCount` was overwritten by
`OrderedCountExpr->EvaluateKnownConstInt(...)`. When the `ordered(n)`
clause expression had a bit-width other than 32 bits, `TotalDepCount`
took on that expression's bit-width while `DepCounter` remained 32-bit,
triggering an APInt bit-width assertion in `DepCounter >=
TotalDepCount`.

Initialize `DepCounter` after `TotalDepCount` is evaluated using
`TotalDepCount.getBitWidth()` so both unsigned APSInts always have
matching bit-widths.

Fixes #235971

Assisted-by: Gemini
DeltaFile
+26-0clang/test/OpenMP/ordered_messages.cpp
+4-0clang/docs/ReleaseNotes.md
+2-1clang/lib/Sema/SemaOpenMP.cpp
+32-13 files

NetBSD/src kKbef3Y — lib/libc/stdlib strfmon.c

   pass lint
VersionDeltaFile
1.26+4-6lib/libc/stdlib/strfmon.c
+4-61 files

LLVM/project 1d73203 — clang/test/CIR/CodeGenOpenMP target-parallel-for.c parallel-for.c

[CIR][OpenMP] Specify target triple in OpenMP loop codegen tests (#244278)

Add `-triple x86_64-unknown-linux-gnu` to tests added in 
61067a5096e (#229256) to avoid defaulting to the host target triple
and failing on non-x86 builders like
https://lab.llvm.org/buildbot/#/builders/231/builds/2223.
DeltaFile
+2-1clang/test/CIR/CodeGenOpenMP/target-parallel-for.c
+2-1clang/test/CIR/CodeGenOpenMP/parallel-for.c
+2-1clang/test/CIR/CodeGenOpenMP/for-loop-forms.c
+6-33 files

LLVM/project ad409d6 — utils/bazel/llvm-project-overlay/libc/test libc_test_rules.bzl

[bazel][libc] Enable fullbuild-only tests in CI (#244324)

These were previously excluded from CI, but now have support in
Buildkite and github CI (19b0091751d8c786c92e749a2d3404595edd359b). This
PR also adds `target_compatible_with` for overlay builds.
DeltaFile
+5-10utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
+5-101 files

FreeBSD/ports 002a12f — net/otelcol-contrib distinfo Makefile

net/otelcol-contrib: update to 0.165.0

Enable support for arm64.       (*)

PR:     300526  (*)
DeltaFile
+9-3net/otelcol-contrib/Makefile
+5-3net/otelcol-contrib/distinfo
+14-62 files

LLVM/project abfdc8f — flang/lib/Semantics openmp-utils.cpp, flang/test/Lower/OpenMP metadirective-implementation.f90

[OpenMP][flang] Score unknown context selector properties by selector

Flang records an unknown property such as kind(bogus) or vendor(bogus)
as TraitProperty::invalid, which belongs to no selector. Under
match_any or match_none, where such a variant can still be selected,
the property therefore lost its selector's weight: kind(bogus) added
nothing, while an unmatched kind(gpu) adds 2^l, where l is the number of
constructs in the context. A score on a selector that mixes known and
unknown properties was also added twice, once for the known property and
once for invalid, and unknown properties in different selectors shared
a single score.

Add VariantMatchInfo::addUnknownTrait, which keeps the property
unmatched and records its selector and score, and score that selector
like any other. Use it in Flang. Clang drops unknown properties while
parsing and is unaffected.

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

Assisted-by: GitHub Copilot (Claude Opus 5.5)
DeltaFile
+38-1llvm/unittests/Frontend/OpenMPContextTest.cpp
+30-0flang/test/Lower/OpenMP/metadirective-implementation.f90
+15-0llvm/include/llvm/Frontend/OpenMP/OMPContext.h
+6-2llvm/lib/Frontend/OpenMP/OMPContext.cpp
+2-4flang/lib/Semantics/openmp-utils.cpp
+91-75 files

LLVM/project 4f51825 — clang/docs ReleaseNotes.md, clang/lib/CodeGen CGStmtOpenMP.cpp

[Clang][OpenMP] Use the associated loop's range in loop metadata (#240649)

The start and end locations in the `!llvm.loop` metadata of an OpenMP
loop came from the directive's source range, which covers only the
pragma line. Consumers of these locations, such as optimization remarks,
therefore reported the loop at the `#pragma omp` line rather than at the
loop.

Use the range of the associated loop instead, looking through loop
transformation directives such as `unroll` and `tile`. This covers the
inner loop and the outer dispatch loop of dynamic, guided and chunked
schedules. `sections` has no associated loop and keeps the directive
range.

For example, with `-fopenmp -O2 -Rpass=loop-vectorize`:

    2  #pragma omp simd
    3    for (int i = 0; i < n; ++i)
    4      a[i] += b[i];

    [4 lines not shown]
DeltaFile
+81-0clang/test/OpenMP/loop_debug_location.c
+13-2clang/lib/CodeGen/CGStmtOpenMP.cpp
+3-0clang/docs/ReleaseNotes.md
+97-23 files

LLVM/project 7c82956 — clang/lib/CodeGen CGExprCXX.cpp, clang/test/CodeGenCXX cxx1z-aligned-allocation.cpp

CGExprCXX: emit family and allockind attributes

This allows us to remove the special knowledge about C++ allocation from
LLVM's MemoryBuiltins.cpp, instead trusting attributes to communicate
the important properties.

Annoyingly, clang has to grow a little bit of hard-coded knowledge about
mangled symbol names in order to actually get the most-basic-matching
::operator::new when working out the alloc-family attribute. I spent
some time trying to do this "right" by looking up the available
operators new and finding the best one, but that's super tricky and this
has the virtue of working and being pretty obviously correct when
compared to the old code.

Happily, clang now emits allocator family attributes for custom
allocators like the `__hot_cold_t` overloads in `new_hot_cold.cpp`
(which `isReplaceableGlobalAllocationFunction` in clang recognizes),
allowing us to remove that special knowledge from LLVM.


    [7 lines not shown]
DeltaFile
+2-120llvm/lib/Analysis/MemoryBuiltins.cpp
+51-51llvm/test/Transforms/InstCombine/new-delete-itanium.ll
+34-10clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
+38-3clang/lib/CodeGen/CGExprCXX.cpp
+10-22clang/test/Headers/openmp_new_nothrow.cpp
+14-14llvm/test/Transforms/InstCombine/new-delete-itanium-32.ll
+149-22018 files not shown
+198-26024 files

LLVM/project ea5311e — clang/test/CodeGen memprof-mempgo.cpp, clang/test/CodeGen/distributed-thin-lto memprof-mempgo.cpp

SimplifyLibCalls: preserve allocation attributes in optimizeNew (#239731)

When `LibCallSimplifier::optimizeNew` rewrites an `operator new` call
into a `__hot_cold_t` allocation call, forward the allocation attributes
(`allockind`, `allocsize`, `"alloc-family"`, and parameter `allocalign`)
from the original call onto the synthesized call instruction alongside
its metadata.

This is a new patch since 2023 (unlike most of the rest of the stack)
and allows the next patch to remove more specialized C++ knowledge from
the LLVM layer, instead leaving it in clang where it seems more
sensible.

This patch was authored with the assistance of an LLM and was reviewed
by me before posting.
DeltaFile
+90-0llvm/test/Transforms/InstCombine/simplify-libcalls-new-attrs.ll
+13-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+2-2clang/test/CodeGen/memprof-mempgo.cpp
+2-2clang/test/CodeGen/distributed-thin-lto/memprof-mempgo.cpp
+1-1llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
+108-65 files

FreeBSD/ports 6001a74 — cad/freecad-devel Makefile.git_rev distinfo

cad/freecad-devel: Update to 2026.11.19
DeltaFile
+104-132cad/freecad-devel/pkg-plist
+5-5cad/freecad-devel/distinfo
+4-4cad/freecad-devel/Makefile.git_rev
+113-1413 files