LLVM/project 1574432clang/include/clang/Basic HLSLIntrinsics.td, clang/test/CodeGenHLSL/builtins fma.hlsl f32tof16.hlsl

[HLSL][LongVec] enable support for all elementwise apis (#216905)

resolves #216103

This change turns on VaryingLongVector for all HLSL intrinsics that map
to an elementwise builtin.

assisted by  GPT 5.6-Sol via Copilot
DeltaFile
+42-0clang/include/clang/Basic/HLSLIntrinsics.td
+24-6clang/test/CodeGenHLSL/builtins/clip.hlsl
+10-0clang/test/CodeGenHLSL/builtins/f32tof16.hlsl
+10-0clang/test/CodeGenHLSL/builtins/f16tof32.hlsl
+0-8clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
+8-0clang/test/CodeGenHLSL/builtins/fma.hlsl
+94-1440 files not shown
+305-1446 files

Linux/linux 7f063b2drivers/nvdimm pmem.c virtio_pmem.c, drivers/vdpa/vdpa_user vduse_dev.c

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

Pull vhost,vdpa,virtio updates from Michael Tsirkin:

 - transport v3 support in virtio-mmio

 - suspend support in vduse

 - fixes, cleanups all over the place

* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (54 commits)
  vduse: Add suspend
  vduse: do not take rwsem at reset work flush
  vduse: add F_QUEUE_READY feature
  vduse: add VDUSE_SET_FEATURES ioctl
  vduse: add VDUSE_GET_FEATURES ioctl
  vduse: store control device pointer
  tools/virtio: Fix control typo in trace agent comment
  tools/virtio: Fix userspace typo in vringh test comment

    [13 lines not shown]
DeltaFile
+210-55drivers/vdpa/vdpa_user/vduse_dev.c
+218-45drivers/nvdimm/nd_virtio.c
+58-7drivers/nvdimm/virtio_pmem.c
+34-19drivers/nvdimm/pmem.c
+41-10drivers/virtio/virtio_balloon.c
+27-14drivers/virtio/virtio.c
+588-15031 files not shown
+760-22237 files

LLVM/project b14c84cmlir/include/mlir/Dialect/LLVMIR LLVMAttrDefs.td, mlir/lib/CAPI/Dialect LLVM.cpp

[MLIR][LLVM] Support DWARF v6 source language names in DICompileUnitAttr (#217432)

Adds support to the LLVM dialect `DICompileUnitAttr` for DWARF v6 source
language name and version .

`DICompileUnitAttr`'s `sourceLanugage` field now points to a
`DISourceLanguageNameAttr`, which contains all source language
information, including dialect, name, and version. This is done to map
as closely as possible to `llvm::DISourceLanguageName`.

`DISourceLanguageNameAttr` has parameters for:
- An DW_LANG_* language.
- A DWARF v6 DW_LNAME_* name, which can only be set if the language is
not.
- An optional language-dependent version.
- An optional target-specific language dialect.

Parsers and printers are added so if only a language is passed, it is
parsed and printed in as before this change.

Assistance from codex was used in this PR.
DeltaFile
+85-5mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
+64-5mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+31-0mlir/test/Dialect/LLVMIR/invalid-di-compile-unit-source-language.mlir
+29-1mlir/lib/CAPI/Dialect/LLVM.cpp
+24-2mlir/test/Target/LLVMIR/llvmir-debug.mlir
+24-0mlir/test/Dialect/LLVMIR/di-compile-unit-source-language.mlir
+257-138 files not shown
+355-3314 files

FreeBSD/src 03c50e6sys/conf newvers.sh

15.1: Update to BETA3

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+1-1sys/conf/newvers.sh
+1-11 files

HardenedBSD/src 0828766lib/libvmmapi ppt.c, sys/amd64/vmm vmm.c vmm_dev_machdep.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+396-7usr.sbin/bhyve/pci_passthru.c
+124-10sys/amd64/vmm/io/ppt.c
+10-3usr.sbin/bhyve/pci_emul.c
+13-0lib/libvmmapi/ppt.c
+10-0sys/amd64/vmm/vmm_dev_machdep.c
+7-0sys/amd64/vmm/vmm.c
+560-209 files not shown
+575-2515 files

HardenedBSD/src 411a820lib/libvmmapi ppt.c, sys/amd64/vmm vmm.c vmm_dev_machdep.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+396-7usr.sbin/bhyve/pci_passthru.c
+124-10sys/amd64/vmm/io/ppt.c
+10-3usr.sbin/bhyve/pci_emul.c
+13-0lib/libvmmapi/ppt.c
+10-0sys/amd64/vmm/vmm_dev_machdep.c
+7-0sys/amd64/vmm/vmm.c
+560-209 files not shown
+575-2515 files

Linux/linux a625b2aarch/s390/pci pci_event.c, drivers/vfio/pci vfio_pci_zdev.c

Merge tag 'vfio-v7.3-rc1' of https://github.com/awilliam/linux-vfio

Pull VFIO updates from Alex Williamson:

 - Add nv_falcon vfio selftest driver.

   The Falcon is a general-purpose microcontroller embedded within
   NVIDIA GPUs, presenting a relatively simple DMA programming
   interface.

   This adds another selftest target for vfio-pci with real DMA
   transfers (Rubin Du, Alex Williamson)

 - Add allocation assertion helpers to vfio selftests and use them to
   avoid variable length arrays and the compiler errors they generate
   (Alex Mastro)

 - Fix use-after-free hazard where an init path error in MSI support
   leaves a stray pointer that can later be reused or double-freed

    [46 lines not shown]
DeltaFile
+783-0tools/testing/selftests/vfio/lib/drivers/nv_falcon/nv_falcon.c
+585-0tools/testing/selftests/vfio/lib/drivers/igb/igb.c
+352-0tools/testing/selftests/vfio/lib/drivers/nv_falcon/hw.h
+86-51arch/s390/pci/pci_event.c
+58-16tools/testing/selftests/vfio/lib/vfio_pci_device.c
+57-5drivers/vfio/pci/vfio_pci_zdev.c
+1,921-7227 files not shown
+2,196-14133 files

LLVM/project 9b1d96bllvm/lib/CodeGen/GlobalISel RegBankSelect.cpp

[GISel] Fix -Wunused-function in release builds (#217786)

This operator is only used in DEBUG builds. Exposed by
732d8413c69b57a10de1beb1964a57a9264b23b9 which moved the Impl class into
an anonymous namespace in the source file which allowed the compiler to
reason about usage.

Fixes https://lab.llvm.org/buildbot/#/builders/228/builds/8620
DeltaFile
+2-1llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
+2-11 files

LLVM/project 15491daclang/include/clang/Basic BuiltinsRISCV.td, clang/lib/CodeGen/TargetBuiltins RISCV.cpp

[Clang][RISCV] Add packed saturating and rounding shift intrinsics (#217692)

Add builtins and header wrappers for `__riscv_pssha`, `__riscv_psshar`,
`__riscv_psshl` and `__riscv_psshlr`.
DeltaFile
+244-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+160-0cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+34-1clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
+16-0clang/lib/Headers/riscv_packed_simd.h
+16-0clang/include/clang/Basic/BuiltinsRISCV.td
+470-15 files

LLVM/project 6f2969eclang/docs ReleaseNotes.md, libcxx/docs/ReleaseNotes 23.rst

Add PowerPC-related release notes for LLVM 23.1.0
DeltaFile
+36-0clang/docs/ReleaseNotes.md
+33-0llvm/docs/ReleaseNotes.md
+1-0libcxx/docs/ReleaseNotes/23.rst
+70-03 files

LLVM/project b1e3ba9lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers CMakeLists.txt InstrumentationRuntimeASanLibsanitizers.h, lldb/test/API/functionalities/asan Makefile TestReportData.py

[lldb][Darwin] Remove libsanitizers ASan integration

The OS-provided ASan runtime (in libsanitizers)
was removed on Darwin, so remove LLDB's support
for it.

rdar://177086333
DeltaFile
+0-119lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.cpp
+0-65lldb/test/API/functionalities/asan/TestMemoryHistory.py
+0-52lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.h
+2-15lldb/test/API/functionalities/asan/TestReportData.py
+0-10lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/CMakeLists.txt
+0-3lldb/test/API/functionalities/asan/Makefile
+2-2642 files not shown
+3-2668 files

LLVM/project c25c808lldb/source/Plugins/InstrumentationRuntime/ASan InstrumentationRuntimeASan.h InstrumentationRuntimeASan.cpp, lldb/source/Plugins/InstrumentationRuntime/Utility CMakeLists.txt ReportRetriever.h

[lldb] Fold ReportRetriever back into the ASan plugin

ReportRetriever was factored out of InstrumentationRuntimeASan by
77edd9b77317 (#69388) so the compiler-rt and libsanitizers ASan plugins
could share it.  The libsanitizers plugin is gone, leaving
InstrumentationRuntimeASan as the only caller, so fold ReportRetriever
back into InstrumentationRuntimeASan plugin.
DeltaFile
+0-256lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.cpp
+230-5lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
+0-34lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.h
+0-5lldb/source/Plugins/InstrumentationRuntime/Utility/CMakeLists.txt
+3-0lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h
+1-1lldb/tools/lldb-dap/Handler/ExceptionInfoRequestHandler.cpp
+234-3013 files not shown
+238-3039 files

LLVM/project 5bf6f4cllvm/lib/DWARFLinker/Parallel DIEAttributeCloner.cpp, llvm/test/tools/dsymutil/X86/DWARFLinkerParallel dwarf2-member-location.s

[DWARFLinker] Keep address-independent block attributes in the type unit (#215932)

cloneBlockAttr dropped every block and exprloc attribute whose DIE was
placed in the artificial type unit. The intent was to discard location
expressions that resolve against a single origin compile unit, since a
type unit is shared by every unit referencing the type, but the check
was incorrectly applied to all block-form attributes.

Clang encodes DW_AT_data_member_location as DW_FORM_block1 at DWARF 2
and as a constant from DWARF 3 onward, so at DWARF 2 every member and
inheritance offset of a deduplicated record collapsed to zero. This
caused LLDB to crash when trying to build types using the wrong offsets,
but that's a separate issue.

Drop only expressions that carry a target address or reference a base
type DIE, which are the cases the type unit cannot resolve.

(cherry picked from commit 3ae0d109f87dedd2a3f5bdf517556ba3d44283d6)
DeltaFile
+261-0llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/dwarf2-member-location.s
+26-3llvm/lib/DWARFLinker/Parallel/DIEAttributeCloner.cpp
+287-32 files

LLVM/project c5d8569lldb/source/Plugins/InstrumentationRuntime/ASan InstrumentationRuntimeASan.h InstrumentationRuntimeASan.cpp, lldb/source/Plugins/InstrumentationRuntime/Utility CMakeLists.txt ReportRetriever.h

[lldb] Fold ReportRetriever back into the ASan plugin

ReportRetriever was factored out of InstrumentationRuntimeASan by
77edd9b77317 (#69388) so the compiler-rt and libsanitizers ASan plugins
could share it.  The libsanitizers plugin is gone, leaving
InstrumentationRuntimeASan as the only caller, so fold ReportRetriever
back into InstrumentationRuntimeASan plugin.
DeltaFile
+0-256lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.cpp
+230-5lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
+0-34lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.h
+0-5lldb/source/Plugins/InstrumentationRuntime/Utility/CMakeLists.txt
+3-0lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h
+1-1lldb/tools/lldb-dap/Handler/ExceptionInfoRequestHandler.cpp
+234-3013 files not shown
+238-3039 files

LLVM/project d301c12lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers CMakeLists.txt InstrumentationRuntimeASanLibsanitizers.h, lldb/test/API/functionalities/asan Makefile TestReportData.py

[lldb][Darwin] Remove libsanitizers ASan integration

The OS-provided ASan runtime (in libsanitizers)
was removed on Darwin, so remove LLDB's support
for it.

rdar://177086333
DeltaFile
+0-119lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.cpp
+0-65lldb/test/API/functionalities/asan/TestMemoryHistory.py
+0-52lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.h
+2-15lldb/test/API/functionalities/asan/TestReportData.py
+0-10lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/CMakeLists.txt
+0-3lldb/test/API/functionalities/asan/Makefile
+2-2642 files not shown
+3-2668 files

LLVM/project fa4a3a1lldb/source/ValueObject ValueObject.cpp, lldb/test/API/python_api/value/change_ptr Makefile main.c

[lldb] Avoid returning a stale AddressOf (#212915)

The 'ValueObject::AddressOf()' method assumes that the address of a
value object cannot change, so when it is calculated once, it does not
need to be updated afterwards. However, this is not the case if the
'ValueObject' is a dependent object obtained by calling 'Dereference()'
of another 'ValueObject'. If the latter object is changed, the dependent
value object should return a new address from the 'AddressOf()' method
to reflect the change.

(cherry picked from commit 320164daab4148e3372f6756caaa67882e24a91f)
DeltaFile
+65-0lldb/test/API/python_api/value/change_ptr/TestChangePtr.py
+31-0lldb/test/API/python_api/value/change_ptr/main.c
+4-3lldb/source/ValueObject/ValueObject.cpp
+3-0lldb/test/API/python_api/value/change_ptr/Makefile
+103-34 files

LLVM/project d8bd80bllvm/lib/Target/RISCV RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rvp-simd-32.ll rvp-simd-64.ll

[RISCV][P-ext] Select immediate forms for packed saturating shifts (#217688)
DeltaFile
+161-18llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+60-4llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+24-4llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+245-263 files

FreeNAS/freenas b293347src/middlewared/middlewared/plugins dlm.py, src/middlewared/middlewared/plugins/dlm_ kernel.py

NAS-142152 / 26.0.0-RC.1 / Tolerate transient NTB blips before calling dlm.reset_active (by bmeagherix) (#19529)

remote_down now polls the DLM port for up to 60 seconds before ejecting
the peer, so short NTB packet loss events don't trigger a spurious
reset_active

Also raise scan_secs from the default 5 to 30 so the kernel DLM itself
doesn't start FORCEUNLOCK recovery during ~20s NTB blips.

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

---------

Co-authored-by: Brian M <brian.meagher at ixsystems.com>
DeltaFile
+68-10src/middlewared/middlewared/plugins/dlm.py
+3-0src/middlewared/middlewared/plugins/dlm_/kernel.py
+71-102 files

LLVM/project feaeaafclang/lib/CodeGen CodeGenFunction.h CGExpr.cpp, clang/test/CodeGen attr-sized-by-for-pointers.c attr-counted-by-or-null-for-pointers.c

[CodeGen] Fix -fsanitize=array-bounds for __sized_by / _or_null pointers

`EmitCountedByBoundsChecking()` assumed a CountAttributedType is always
a __counted_by pointer. That isn't true, there are four versions of the
attribute:

* `__counted_by`: Already handled correctly.
* `__counted_by_or_null`: Incorectly handled.
* `__sized_by`: Incorreclty handled.
* `__sized_by_or_null`: Incorreclty handled.

In particular:

* __sized_by / __sized_by_or_null: the loaded bound is a byte count, but the
  element index was compared against it directly, so an access was only
  flagged once the index exceeded the byte count -- missing out-of-bounds
  accesses for a pointee larger than one byte. Scale the index to bytes
  ('index * sizeof(element)') before comparing. counted_by counts elements
  and is unchanged; a void (or otherwise zero-sized) pointee uses the GNU

    [15 lines not shown]
DeltaFile
+396-173clang/test/CodeGen/attr-sized-by-or-null-for-pointers.c
+295-98clang/test/CodeGen/attr-counted-by-or-null-for-pointers.c
+291-81clang/test/CodeGen/attr-sized-by-for-pointers.c
+43-9clang/lib/CodeGen/CGExpr.cpp
+2-1clang/lib/CodeGen/CodeGenFunction.h
+1,027-3625 files

LLVM/project a9c940fclang/lib/Driver/ToolChains Clang.cpp, clang/test/CodeGenCUDA offload_via_llvm_math.cu

add math functions
DeltaFile
+252-0clang/test/CodeGenCUDA/offload_via_llvm_math.cu
+137-0offload/languages/include/kernel/LanguageMath.h
+71-36clang/lib/Driver/ToolChains/Clang.cpp
+107-0offload/test/offloading/language/math.cpp
+12-0clang/test/Driver/gpu-libc.c
+3-0offload/languages/include/hip/hip_runtime.h
+582-362 files not shown
+586-368 files

LLVM/project 577bd64llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus BUILD.gn

[gn build] Port c548c6ad4e39 (#217788)
DeltaFile
+1-0llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/BUILD.gn
+1-01 files

OpenZFS/src 7e1cb13cmd zgenhostid.c

zgenhostid: seed the generated hostid from the system CSPRNG

When no hostid is supplied on the command line, zgenhostid derived one
from srand48(getpid() ^ time(NULL)) followed by lrand48(). Neither
input is reliably unpredictable at the moment this runs, which is
typically early in an unattended install:

  - On a machine with no usable RTC, the clock is not yet set from the
    network and systemd has advanced it to the fixed epoch compiled
    into the image, so time(NULL) is the same constant on every machine
    booting that image.
  - The PID reached at that point of a scripted install is determined
    by the boot sequence, so it is the same across installs of the same
    image on comparable hardware.

Two separate installs can therefore derive an identical seed and write
byte-identical hostids, which defeats the multihost protection the
hostid exists to provide. The seed is also trivially recoverable:
lrand48() is a 48-bit LCG, so a hostid can be inverted back to its seed

    [17 lines not shown]
DeltaFile
+48-6cmd/zgenhostid.c
+48-61 files

LLVM/project 52ab392llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus BUILD.gn

[gn build] Port 803fc578a346 (#217787)
DeltaFile
+1-0llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/BUILD.gn
+1-01 files

OpenZFS/src 4f8b5d3tests/zfs-tests/tests/functional/device_access setup.ksh device_access_create.ksh

ZTS: device access tests

Tests that zpool create, add, attach and import all properly enforce the
restrictions on the calling user to access device nodes.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18960
DeltaFile
+69-0tests/zfs-tests/tests/functional/device_access/device_access_import.ksh
+68-0tests/zfs-tests/tests/functional/device_access/device_access.kshlib
+63-0tests/zfs-tests/tests/functional/device_access/device_access_add.ksh
+63-0tests/zfs-tests/tests/functional/device_access/device_access_attach.ksh
+62-0tests/zfs-tests/tests/functional/device_access/device_access_create.ksh
+23-0tests/zfs-tests/tests/functional/device_access/setup.ksh
+348-03 files not shown
+381-09 files

OpenZFS/src 88261a8module/os/linux/zfs vdev_disk.c

vdev_disk: use calling cred to check for device access

bdev_file_open_by_path() does not do any kind of credential check on the
given device path, so we need to do our own. We temporarily swap in the
passed in credential as the task credential, then call kern_path() and
inode_permission(), which together will ensure the credential can both
see and access the given path.

For the reopening case, we use the kernel credential. The idea here is
that since the device was already open, we shouldn't fail to reopen just
because the calling user can't see it, which would prevent device
removal, offline, online, etc.

Include some light reorganising in the error paths, since we might not
always have a device handle to carry the current error.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>

    [2 lines not shown]
DeltaFile
+68-17module/os/linux/zfs/vdev_disk.c
+68-171 files

OpenZFS/src d8ef49fmodule/zfs vdev_file.c

vdev_file: use calling cred to check for device access

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18960
DeltaFile
+2-2module/zfs/vdev_file.c
+2-21 files

OpenZFS/src 3033e0blib/libzpool kernel.c zfs_file_os.c, module/os/freebsd/zfs zfs_file_os.c

zfs_file_open: add cred arg, use it to check access

If we're opening a file on behalf of the user, we need to ensure that
that user actually has access to it. Add a credential parameter to
zfs_file_open() and use it when opening the file.

Existing callers use kcred for now to get the same behaviour as before.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18960
DeltaFile
+4-3module/os/freebsd/zfs/zfs_file_os.c
+4-1module/os/linux/zfs/zfs_file_os.c
+2-2module/zfs/spa_config.c
+2-2lib/libzpool/kernel.c
+3-1lib/libzpool/zfs_file_os.c
+2-1module/zfs/vdev_file.c
+17-101 files not shown
+19-117 files

OpenZFS/src 5b1ccf1include/sys vdev.h, module/zfs vdev_root.c vdev_raidz.c

vdev_open: pass credential to check for permission to open device

This commit adds a cred_t parameter to vdev_open() and threads it
through to all the vdev_op_open callbacks. The default is CRED(), ie the
credential of the calling task, which is usually some userspace control
process calling ioctl().

To handle the parallel vdev open case, we take additional and additional
reference to the cred for each task, and pass it down to vdev_open().

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18960
DeltaFile
+30-13module/zfs/vdev.c
+5-4module/zfs/vdev_draid.c
+4-4module/zfs/spa.c
+5-3include/sys/vdev.h
+2-2module/zfs/vdev_root.c
+2-2module/zfs/vdev_raidz.c
+48-287 files not shown
+61-3713 files

LLVM/project 63524c1llvm/lib/ObjCopy/ELF ELFObject.h ELFObject.cpp

[llvm-objcopy] Avoid materializing zero-filled output gaps

Truncate seekable output at the current position before extending it to the final size. The newly extended output region reads as zero, so ELF layout gaps do not need to be tracked and explicitly written.

Continue writing zeros in bounded chunks when removed sections overwrite contents that were copied from an input segment.

Co-authored-by: Jeremy Braun <jtbraun at meta.com>

Assisted-by: OpenAI Codex
DeltaFile
+10-23llvm/lib/ObjCopy/ELF/ELFObject.cpp
+0-2llvm/lib/ObjCopy/ELF/ELFObject.h
+10-252 files

LLVM/project a3bbe64llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fadd.ll

Rebase

Created using spr 1.3.7
DeltaFile
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,252-3,311llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,533-2,603llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+20,441-20,4683,704 files not shown
+160,780-126,5363,710 files