LLVM/project 418ae6cclang-tools-extra/include-cleaner/lib Types.cpp TypesInternal.h, clang-tools-extra/include-cleaner/unittests TypesTest.cpp

[include-cleaner][NFC] expose and test `normalizePath` helper (#189364)

Also fix a bug where the root `/` path would become an empty string.
DeltaFile
+17-1clang-tools-extra/include-cleaner/unittests/TypesTest.cpp
+1-3clang-tools-extra/include-cleaner/lib/Types.cpp
+2-0clang-tools-extra/include-cleaner/lib/TypesInternal.h
+20-43 files

LLVM/project 88f6b18llvm/utils/gn/secondary/bolt/unittests/Passes BUILD.gn, llvm/utils/gn/secondary/clang/lib/Driver BUILD.gn

[gn build] Port commits (#190392)

0cecacd971a5
2cff995e91c3
34ec1870ae46
54e5803d0231
64b728128df3
76ed0ad3577e
d95292f67b48
DeltaFile
+4-1llvm/utils/gn/secondary/bolt/unittests/Passes/BUILD.gn
+2-0llvm/utils/gn/secondary/compiler-rt/lib/builtins/sources.gni
+1-0llvm/utils/gn/secondary/llvm/unittests/DebugInfo/PDB/BUILD.gn
+1-0llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
+1-0llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
+1-0llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
+10-11 files not shown
+11-17 files

FreeBSD/ports b09dcd1security/wazuh-manager Makefile

security/wazuh-manager: Remove CCACHE entries

- Bump PORTREVISION
DeltaFile
+3-2security/wazuh-manager/Makefile
+3-21 files

FreeNAS/freenas 5c7f490src/middlewared/middlewared/plugins/filesystem_ utils.py acl.py, tests/unit test_perm_lock_registry.py

Remove global perm_change lock for permissions ops

This commit removes a global job lock for all permissions-related
operations in favor of a builtin locking mechanism inside the
functions we're using for recursive / traverse operations. This
allows the UI / API to have a greater degree of concurrency across
ACL / permissions operations and may help the support team to
more quickly re-ACL large parts of the customer system.
DeltaFile
+301-0tests/unit/test_perm_lock_registry.py
+91-0src/middlewared/middlewared/plugins/filesystem_/utils.py
+3-3src/middlewared/middlewared/plugins/filesystem_/acl.py
+395-33 files

FreeBSD/src 32cc4besys/netinet tcp_var.h, sys/netinet/tcp_stacks rack.c

tcp: retire TF_SENTSYN

This TF_-flag is only used in the RACK stack and not really needed.
So replace it, since glebius@ needs a TF_ flag and right now all
of them are taken.
No functional change intended.

Reviewed by:            rrs, glebius, rscheff, Nick Banks
Sponsored by:           Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D56025
DeltaFile
+1-3sys/netinet/tcp_stacks/rack.c
+2-2sys/netinet/tcp_var.h
+3-52 files

OpenZFS/src cfae167include/os/linux/zfs/sys zfs_vfsops_os.h, module/os/linux/zfs zfs_vfsops.c zpl_super.c

linux/vfsops: remove zfs_mnt_t, pass directly

A cleanup of opportunity. Since we already are modifying the contents of
zfs_mnt_t, we've broken any API guarantee, so we might as well go the
rest of the way and get rid of it, and just pass the osname and/or the
vfs_t directly.

It seems like zfs_mnt_t was never really needed anyway; it was added in
1c2555ef92 (March 2017) to minimise the difference to illumos, but
zfs_vfsops was made platform-specific anyway in 7b4e27232d.

We also remove setting SB_RDONLY on the caller's flags when failing a
read-write remount on a read-only snapshot or pool. Since 0f608aa6ca
the caller's flags have been a pointer back to fc->sb_flags, which are
discarded without further ceremony when the operation fails, so the
change is unnecessary and we can simplify the call further.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>

    [2 lines not shown]
DeltaFile
+5-12module/os/linux/zfs/zfs_vfsops.c
+3-8module/os/linux/zfs/zpl_super.c
+3-7include/os/linux/zfs/sys/zfs_vfsops_os.h
+11-273 files

OpenZFS/src 11f8f08module/os/linux/zfs zpl_super.c

linux/super: work around kernels that enforce "forbidden" mount options

Before Linux 5.8 (include RHEL8), a fixed set of "forbidden" options
would be rejected outright. For those, we work around it by providing
our own option parser to avoid the codepath in the kernel that would
trigger it.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18377
DeltaFile
+125-0module/os/linux/zfs/zpl_super.c
+125-01 files

OpenZFS/src f5a9e3amodule/os/linux/zfs zpl_super.c

linux/super: implement new mount params parser

Adds zpl_parse_param and wires it up to the fs_context. This uses the
kernel's standard mount option parsing infrastructure to keep the work
we need to do to a minimum. We simply fill in the vfs_t we attached to
the fs_context in the previous commit, ready to go for the mount/remount
call.

Here we also document all the options we need to support, and why. It's
a lot of history but in the end the implementation is straightforward.

Finally, if we get SB_RDONLY on the proposed superblock flags, we record
that as the readonly mount option, because we haven't necessarily seen a
"ro" param and we still need to know for remount, the `readonly` dataset
property, etc.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18377
DeltaFile
+314-1module/os/linux/zfs/zpl_super.c
+314-11 files

OpenZFS/src 2782d2ainclude/os/linux/zfs/sys zfs_vfsops_os.h, module/os/linux/zfs zpl_super.c zfs_vfsops.c

linux/super: match vfs_t lifetime to fs_context

vfs_t is initially just parameters for the mount or remount operation,
so match them to the lifetime of the fs_context that represents that
operation.

When we actually execute the operation (calling .get_tree or .reconfigure),
transfer ownership of those options to the associated zfsvfs_t.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18377
DeltaFile
+70-2module/os/linux/zfs/zpl_super.c
+11-14module/os/linux/zfs/zfs_vfsops.c
+1-1include/os/linux/zfs/sys/zfs_vfsops_os.h
+82-173 files

OpenZFS/src 1419bfcmodule/os/linux/zfs zpl_super.c

linux/super: remove zpl_parse_monolithic

Final bit of cleanup of the old method.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18377
DeltaFile
+2-27module/os/linux/zfs/zpl_super.c
+2-271 files

OpenZFS/src 5b4e8f8module/os/linux/zfs zfs_vfsops.c

linux/vfsops: remove old options parser

We're working to replace this, and its easier to drop it outright while
we get set up.

To keep things compiling, the calls to zfsvfs_parse_options() are
replaced with zfsvfs_vfs_alloc(), though without any option parsing at
all nothing will work. That's ok, next commits are working towards it.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18377
DeltaFile
+5-186module/os/linux/zfs/zfs_vfsops.c
+5-1861 files

OpenZFS/src 040fb29include/os/linux/zfs/sys zfs_vfsops_os.h, module/os/linux/zfs zfs_vfsops.c

linux/vfsops: add vfs_t allocator, make public

In a few commits, we're going  to need to allocate and free vfs_t from
zpl_super.c as well, so lets keep them uniform.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18377
DeltaFile
+11-3module/os/linux/zfs/zfs_vfsops.c
+4-0include/os/linux/zfs/sys/zfs_vfsops_os.h
+15-32 files

LLVM/project 94545a7llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer Legality.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer Legality.cpp

[SandboxVec][Legality][NFC] Outline differentBlock() and areUnique() (#190024)

And reuse them in LoadStoreVec.
DeltaFile
+16-0llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Legality.h
+2-8llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+2-5llvm/lib/Transforms/Vectorize/SandboxVectorizer/Legality.cpp
+20-133 files

LLVM/project 9850c1fllvm/test/CodeGen/AMDGPU integer-mad-patterns.ll fcanonicalize.bf16.ll

[AMDGPU] Specialize gfx1250 codegen tests form fake and real t16. NFC.

This is preparation of turning on real true16, so we can easily
apply it or revert.
DeltaFile
+1,318-117llvm/test/CodeGen/AMDGPU/integer-mad-patterns.ll
+835-387llvm/test/CodeGen/AMDGPU/fcanonicalize.bf16.ll
+610-305llvm/test/CodeGen/AMDGPU/atomics-system-scope.ll
+505-259llvm/test/CodeGen/AMDGPU/insert_vector_elt.v2bf16.ll
+460-214llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+313-136llvm/test/CodeGen/AMDGPU/mad-mix-lo-bf16.ll
+4,041-1,41826 files not shown
+5,791-2,11332 files

LLVM/project a4632f6clang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticSemaKinds.td

[Clang][Sema] Prevent implicit casting Complex type to Vector (#187954)

Emitting an error message in case of implicit casting of a complex type
to a built-in vector type in C

Fixes: #186805
DeltaFile
+21-16clang/lib/Sema/SemaChecking.cpp
+13-0clang/test/Sema/implicit-cast-complex-to-vector.c
+2-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+2-0clang/docs/ReleaseNotes.rst
+38-164 files

FreeBSD/ports 8b32e53math/py-numpy Makefile, math/py-numpy/files patch-numpy_core_src_common_npy__cpu__features.c patch-numpy-distutils-fcompiler-gnu.py

math/py-numpy: update to 2.4.3

Changelogs:
- https://numpy.org/doc/stable/release.html
- minor versions in commit logs

PR: 281470
Differential Revision: https://reviews.freebsd.org/D56094
DeltaFile
+33-74math/py-numpy/Makefile
+0-47math/py-numpy/files/patch-numpy_core_src_common_npy__cpu__features.c
+0-35math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py
+0-23math/py-numpy/files/patch-numpy_random_setup.py
+0-22math/py-numpy/files/patch-numpy-distutils-system_info.py
+0-19math/py-numpy/files/patch-numpy_core_setup.py
+33-2209 files not shown
+38-33715 files

FreeBSD/ports d4bd5badevel/py-pytest-regressions Makefile, graphics/py-pandana Makefile

math/py-numpy: switch all consumers to math/py-numpy1

...and bump PORTREVISIONs of consumers with hard RUN_DEPENDS

PR: 281470
DeltaFile
+5-5devel/py-pytest-regressions/Makefile
+3-3graphics/py-pandana/Makefile
+3-3textproc/py-spacy/Makefile
+3-3textproc/py-petl/Makefile
+3-3science/py-tensorflow/Makefile
+3-3science/py-pyteomics/Makefile
+20-20538 files not shown
+752-522544 files

FreeBSD/ports 91ac7f8math/py-numpy1 Makefile pkg-descr, math/py-numpy1/files patch-numpy_core_src_common_npy__cpu__features.c patch-numpy_f2py_f2py2e.py

math/py-numpy1: copy from math/py-numpy and rework

- rework and fix OPTIONS for meson-python
- fix build with free-threaded CPython

PR: 281470
DeltaFile
+72-0math/py-numpy1/Makefile
+47-0math/py-numpy1/files/patch-numpy_core_src_common_npy__cpu__features.c
+18-0math/py-numpy1/files/patch-numpy_f2py_f2py2e.py
+13-0math/py-numpy1/files/patch-clang
+11-0math/py-numpy1/files/patch-numpy_core_include_numpy_ndarrayobject.h
+11-0math/py-numpy1/pkg-descr
+172-03 files not shown
+188-09 files

LLVM/project 8d34545llvm/lib/IR Verifier.cpp, llvm/test/Verifier dbg-type-line-without-file.ll

Introduce and use Verifier::visitDIType (#189067)

This adds a new method Verifier::visitDIType, and then changes method
for subclasses of DIType to call it. The new method just dispatches to
DIScope and adds a file/line check inspired by
Verifier::visitDISubprogram.
DeltaFile
+19-6llvm/lib/IR/Verifier.cpp
+13-0llvm/test/Verifier/dbg-type-line-without-file.ll
+2-2mlir/test/Target/LLVMIR/Import/debug-info.ll
+34-83 files

LLVM/project f33e9fallvm/include/llvm/Transforms/IPO SampleProfileMatcher.h, llvm/lib/Transforms/IPO SampleProfileMatcher.cpp

[SampleProfile] Fix FuncMappings key mismatch for renamed functions in stale profile matching (#187899)

Fix a bug where `distributeIRToProfileLocationMap` fails to find
location mappings from IR to profile for renamed functions because
`FuncMappings` is indexed by the IR function name while
`distributeIRToProfileLocationMap` looks up by the profile function
name. Fixed by making `FuncMappings` to use profile function name as
key.
DeltaFile
+56-0llvm/test/Transforms/SampleProfile/Inputs/pseudo-probe-stale-profile-renaming-lineshift.prof
+24-0llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-renaming.ll
+2-2llvm/include/llvm/Transforms/IPO/SampleProfileMatcher.h
+1-1llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp
+83-34 files

LLVM/project 85fb6balldb/include/lldb/Utility Stream.h, lldb/source/Commands CommandObjectTarget.cpp CommandObjectMemory.cpp

[lldb][Utility] Remove address size from Stream class (NFC) (#190375)

It violates abstraction. Luckily, it was used only in two places, see
DumpDataExtractor.cpp and CommandObjectMemory.cpp.
DeltaFile
+0-30lldb/source/Commands/CommandObjectTarget.cpp
+4-21lldb/include/lldb/Utility/Stream.h
+2-10lldb/source/Utility/Stream.cpp
+4-5lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+3-4lldb/source/Utility/StreamString.cpp
+2-5lldb/source/Commands/CommandObjectMemory.cpp
+15-7518 files not shown
+41-10824 files

FreeNAS/freenas 30dc36esrc/middlewared/middlewared/plugins/pool_ sed.py

growing weary
DeltaFile
+5-1src/middlewared/middlewared/plugins/pool_/sed.py
+5-11 files

FreeBSD/ports 6b9beb8devel/sdl3 Makefile

devel/sdl3: enable UDEV for KMSDRM and by default

As reported in 294156, UDEV must be enabled along with KMSDRM.
Enable it by default as well in consistence with upstream setting.

PR:             294156
Reported by:    quentin.thebault at defenso.fr
DeltaFile
+3-2devel/sdl3/Makefile
+3-21 files

FreeBSD/ports d21a34fdevel/sdl3 Makefile distinfo, devel/sdl3/files patch-src_hidapi_SDL__hidapi.c patch-cmake_FindLibUSB.cmake

devel/sdl3: update 3.2.30 → 3.4.2

PR:             294157
DeltaFile
+0-20devel/sdl3/files/patch-src_hidapi_SDL__hidapi.c
+14-6devel/sdl3/Makefile
+0-11devel/sdl3/files/patch-cmake_FindLibUSB.cmake
+3-3devel/sdl3/distinfo
+1-0devel/sdl3/pkg-plist
+18-405 files

FreeBSD/ports 9f9d29ddevel/sdl20 Makefile, devel/sdl3 Makefile

devel/sdl{20,3}: fix fcitx dependency

- Switch from lib to run-dependency, as only dbus service from fcitx is in fact used by sdl
- Update from deprecated chinese/fcitx to textproc/fcitx5

PR:             293861
Reported by:    jcfyecrayz at liamekaens.com
DeltaFile
+2-1devel/sdl20/Makefile
+2-1devel/sdl3/Makefile
+4-22 files

NetBSD/src UteFPhGsys/arch/arm/arm fusu.S, sys/arch/arm/arm32 pmap.c

   Only expose block_userspace_access on the kernels it's required for
   (assuming it still is).
VersionDeltaFile
1.446+19-5sys/arch/arm/arm32/pmap.c
1.9+7-1sys/arch/arm/arm/fusu.S
+26-62 files

LLVM/project 27c04fdclang-tools-extra/clang-doc BitcodeReader.cpp BitcodeReader.h

[clang-doc] Simplify parsing and reading bitcode blocks

Much of the logic int he readBlock implementation is boilerplate, and is
repeated for each implementation/specialization. This will become much
worse as we introduce new custom block reading logic as we migrate
towards arena allocation. In preparation for that, we're introducing the
change in logic now, which should make later refactoring much more
straightforward.
DeltaFile
+103-120clang-tools-extra/clang-doc/BitcodeReader.cpp
+5-0clang-tools-extra/clang-doc/BitcodeReader.h
+1-1clang-tools-extra/clang-doc/Representation.h
+109-1213 files

LLVM/project a66cd92clang-tools-extra/clang-doc Generators.h ClangDoc.cpp, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc] Move non-arena allocated types off the OwnedPtr alias

Some types should not be using this alias, which was over applied to
APIs that wont participate in arena style allocation. This patch
restores them to their correct spelling.
DeltaFile
+7-7clang-tools-extra/clang-doc/Generators.h
+4-4clang-tools-extra/clang-doc/ClangDoc.cpp
+4-4clang-tools-extra/clang-doc/MDMustacheGenerator.cpp
+3-3clang-tools-extra/clang-doc/HTMLGenerator.cpp
+2-2clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+1-1clang-tools-extra/clang-doc/Generators.cpp
+21-211 files not shown
+22-227 files

LLVM/project dae1e80clang-tools-extra/clang-doc Representation.cpp Representation.h, clang-tools-extra/clang-doc/tool ClangDocMain.cpp

[clang-doc] Merge data into persistent memory

We have a need for persistent memory for the final info. Since each
group processes a single USR at a time, every USR is only ever processed by
a single thread from the thread pool. This means that we can keep per
thread persistent storage for all the info. There is significant
duplicated data between all the serialized records, so we can just merge
the final/unique items into the persistent arena, and clear out the
scratch/transient arena as we process each record in the bitcode.

The patch adds some APIs to help with managing the data, merging, and
allocation of data in the correct arena. It also safely merges and deep
copies data from the transient arenas into persistent storage that is
never reset until the program completes.

This patch reduces memory by another % over the previous patches,
bringing the total savings over the baseline to 57%. Runtime performance
and benchmarks stay mostly flat with modest improvements.


    [31 lines not shown]
DeltaFile
+134-10clang-tools-extra/clang-doc/Representation.cpp
+25-25clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
+7-0clang-tools-extra/clang-doc/Representation.h
+166-353 files

LLVM/project ad3d2b2clang-tools-extra/clang-doc Representation.cpp Representation.h

[clang-doc] Support deep copy between arenas for merging

Upcoming changes to the merge step will necessitate that we clear the
transient arenas and merge new items into the persistent arena. However
there are some challenges with that, as the existing types typically
don't want to be copied. We introduce some new APIs to simplify that
task and ensure we don't accidentally leak memory.

On the performance front, we reclaim about 2% of the overhead, bringing
the cumulative overhead from the series of patches down to about 7% over
the baseline.

| Metric | Baseline | Prev | This | Culm% | Seq% |
| :--- | :--- | :--- | :--- | :--- | :--- |
| Time | 920.5s | 1014.5s | 991.5s | +7.7% | -2.3% |
| Memory | 86.0G | 39.9G | 40.0G | -53.4% | +0.3% |

| Benchmark | Baseline | Prev | This | Culm% | Seq% |
| :--- | :--- | :--- | :--- | :--- | :--- |

    [28 lines not shown]
DeltaFile
+140-21clang-tools-extra/clang-doc/Representation.cpp
+30-0clang-tools-extra/clang-doc/Representation.h
+170-212 files