LLVM/project e2c8fa0llvm/lib/Object ArchiveWriter.cpp, llvm/test/tools/llvm-ar zos-write.test

[SystemZ][z/OS] Add z/OS archive writing support (#200087)

This patch implement z/OS archive writing in ArchiveWriter and adds the
option `llvm-ar --format=zos`.

Moreover, This patch teaches `llvm-ar` to emit z/OS-compatible archives
by:
- Detecting GOFF object files as z/OS members
- Writing z/OS member headers and archive magic
- Converting archive headers and symbol-name string tables to EBCDIC
- Emitting z/OS symbol table entries
- Using EBCDIC newline padding bytes
- Add a z/OS-specific workaround for empty symbol tables by emitting a
dummy blank symbol to satisfy binder requirements.
DeltaFile
+92-6llvm/lib/Object/ArchiveWriter.cpp
+72-0llvm/test/tools/llvm-ar/zos-write.test
+17-1llvm/tools/llvm-ar/llvm-ar.cpp
+181-73 files

NetBSD/src MOTFdd9tests/net/if_ipsec t_ipsec_natt.sh, tests/net/ipsec t_ipsec_natt.sh

   ATF: Avoid DNS timeout of netstat(1).
VersionDeltaFile
1.6+2-2tests/net/ipsec/t_ipsec_natt.sh
1.6+2-2tests/net/if_ipsec/t_ipsec_natt.sh
+4-42 files

LLVM/project 906e54allvm/lib/Target/AMDGPU SIISelLowering.cpp SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU global-atomicrmw-fadd.ll atomic_optimizations_global_pointer.ll

Implement in legalizer
DeltaFile
+227-453llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
+89-180llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
+24-56llvm/test/CodeGen/AMDGPU/bf16.ll
+31-3llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+0-13llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+1-11llvm/lib/Target/AMDGPU/SIInstructions.td
+372-7163 files not shown
+379-7249 files

LLVM/project 4058610llvm/lib/Target/Hexagon HexagonTargetMachine.cpp

[Hexagon] Register MachineKCFILegacy pass in LLVMInitializeHexagonTarget (#209245)

Hexagon's target-init function never called
initializeMachineKCFILegacyPass(PR), unlike X86, ARM, AArch64, and
RISCV. Since PassRegistry is process-wide and each target's init
function registers passes as a side effect when linked into the same
binary, whether test/CodeGen/Hexagon/kcfi.ll passed depended on whether
some other target providing that registration was also built into llc,
rather than on Hexagon's own configuration.
DeltaFile
+2-0llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
+2-01 files

FreeNAS/freenas 3e98a32src/middlewared/middlewared/pytest/unit/utils test_interface_util.py, src/middlewared/middlewared/utils interface.py

Wait for the default route to appear during docker startup check

## Problem
Apps fail to start on every boot with "Unable to determine default interface" whenever the default route is installed asynchronously -- e.g. a DHCP bridge that has to converge through STP forward-delay before dhcpcd can acquire a lease and install the route. `validate_interfaces` read the route table exactly once at system.ready and gave up immediately if no default route was present yet, so the check lost the race by a few seconds. Unsetting and re-setting the apps pool only worked around it because that re-runs the check later, after the route already exists.

## Solution
`wait_for_default_interface_link_state_up` now polls `get_default_interface()` once a second within the existing IFACE_LINK_STATE_MAX_WAIT budget instead of reading once, so a late-arriving default route is picked up rather than aborting startup. Returns (None, False) only if no default interface shows up within the whole window.

(cherry picked from commit 849a61e236a0f73c39fd115b154410d338608c5a)
DeltaFile
+56-0src/middlewared/middlewared/pytest/unit/utils/test_interface_util.py
+22-4src/middlewared/middlewared/utils/interface.py
+78-42 files

FreeNAS/freenas 3d769e7src/middlewared/middlewared/pytest/unit/utils test_interface_util.py, src/middlewared/middlewared/utils interface.py

NAS-141446 / 27.0.0-BETA.1 / Wait for the default route to appear during docker startup check (#19279)

## Problem
Apps fail to start on every boot with "Unable to determine default
interface" whenever the default route is installed asynchronously --
e.g. a DHCP bridge that has to converge through STP forward-delay before
dhcpcd can acquire a lease and install the route. `validate_interfaces`
read the route table exactly once at system.ready and gave up
immediately if no default route was present yet, so the check lost the
race by a few seconds. Unsetting and re-setting the apps pool only
worked around it because that re-runs the check later, after the route
already exists.

## Solution
`wait_for_default_interface_link_state_up` now polls
`get_default_interface()` once a second within the existing
IFACE_LINK_STATE_MAX_WAIT budget instead of reading once, so a
late-arriving default route is picked up rather than aborting startup.
Returns (None, False) only if no default interface shows up within the
whole window.
DeltaFile
+56-0src/middlewared/middlewared/pytest/unit/utils/test_interface_util.py
+22-4src/middlewared/middlewared/utils/interface.py
+78-42 files

FreeBSD/ports 68e26batextproc/ov distinfo Makefile

textproc/ov: Update to 0.54.0

Changelog: https://github.com/noborus/ov/releases/tag/v0.54.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5textproc/ov/distinfo
+2-3textproc/ov/Makefile
+7-82 files

LLVM/project b218156clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/lib/ScalableStaticAnalysis/Core/WholeProgramAnalysis AnalysisDriver.cpp

[SSAF] Filter out type-constrained pointers from all reachable unsafe pointers

Integrate the TypeConstrainedPointers analysis results into
UnsafeBufferReachableAnalysis.  The final result is filtered with
type-constrainted pointers.

The pointer flow graph is untouched. Removing type-constrained
pointers from the graph will introduce unsoundness.

Final step for rdar://179151541&179151882
DeltaFile
+74-0clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp
+59-15clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+40-0clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-main.cpp
+26-0clang/test/Analysis/Scalable/ssaf-analyzer/Outputs/empty-pairs.json
+7-11clang/lib/ScalableStaticAnalysis/Core/WholeProgramAnalysis/AnalysisDriver.cpp
+5-5clang/test/Analysis/Scalable/ssaf-analyzer/analyzer.test
+211-314 files not shown
+215-3510 files

LLVM/project 2b8488allvm/utils profcheck-xfail.txt

[BPF][ProfCheck] Exclude sink-min-max.ll (#209352)

This was exposed by porting the pass to the NewPM, so just exclude it
for now.
DeltaFile
+1-0llvm/utils/profcheck-xfail.txt
+1-01 files

LLVM/project 252ad20compiler-rt/lib/gwp_asan/optional backtrace_linux_libc.cpp

[compiler-rt][GWP-ASan] Use no-op backtrace if execinfo.h missing (#201266)

Guard backtrace_linux_libc.cpp with __has_include(<execinfo.h>) so that
targets without it (e.g. musl libc) get null stubs instead of a build
failure.
DeltaFile
+19-1compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
+19-11 files

FreeBSD/src 2e21f7esys/dev/ena ena.c

ena: Put taskqueues into correct domain if !RSS

When compiled without 'options RSS', the ena driver created taskqueues
using taskqueue_start_threads_cpuset passing a mask value of NULL,
both in the ena_setup_tx_resources path (for enqueues) and in the
ena_create_io_queues path (for the completion-processing).

In the default configuration, on most EC2 instances, this results in
taskqueues running in the right NUMA domain, but only by accident; in
non-default configurations (e.g. with with multiple EBS volumes
attached and associated NVMe taskqueues) the taskqueues may land in
the wrong NUMA domain even on instance types where the one-EBS-one-ENA
case produces the desired results.

Set (struct ena_que)->domain and use that to inform the choice of CPU
sets.  On a c8gn.48xlarge EC2 instance this doubles throughput on a
32-TCP-stream benchmark.

Reviewed by:    akiyano

    [3 lines not shown]
DeltaFile
+11-1sys/dev/ena/ena.c
+11-11 files

FreeBSD/ports 7109897devel/sentry-cli distinfo Makefile.crates, devel/sentry-cli/files patch-Cargo.toml

devel/sentry-cli: Update to 3.6.0

Changelog: https://github.com/getsentry/sentry-cli/blob/3.6.0/CHANGELOG.md

PR:             296334
Approved by:    lcook (maintainer, timeout 2 weeks)
DeltaFile
+9-9devel/sentry-cli/distinfo
+3-3devel/sentry-cli/Makefile.crates
+2-2devel/sentry-cli/files/patch-Cargo.toml
+1-1devel/sentry-cli/Makefile
+15-154 files

LLVM/project 1b87c3fllvm/include/llvm/IR Value.h, llvm/lib/Transforms/Scalar JumpThreading.cpp

Address review comments

Created using spr 1.3.6-beta.1
DeltaFile
+24-0llvm/test/Transforms/JumpThreading/ptrauth.ll
+10-9llvm/lib/Transforms/Scalar/JumpThreading.cpp
+1-1llvm/include/llvm/IR/Value.h
+35-103 files

LLVM/project 7a756ballvm/lib/Target/BPF BPFAsmPrinter.cpp BPFCodeGenPassBuilder.cpp

[BPF][NewPM] Port AsmPrinter

This is necessary to make the new pass manager fully supported for BPF.
This should be the last patch in the series.

Reviewers: yonghong-song, arsenm, eddyz87

Pull Request: https://github.com/llvm/llvm-project/pull/207854
DeltaFile
+35-0llvm/lib/Target/BPF/BPFAsmPrinter.cpp
+25-0llvm/lib/Target/BPF/BPFCodeGenPassBuilder.cpp
+22-0llvm/lib/Target/BPF/BPFAsmPrinter.h
+82-03 files

LLVM/project 507b0b5clang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,909 files not shown
+499,499-375,2667,915 files

LLVM/project 07a4eacllvm/lib/Target/BPF BPFMIChecking.cpp BPF.h

[BPF][NewPM] Port BPFMIPreEmitCheckingPass

Standard pass porting. Needed to make BPF fully support the NewPM.

Reviewers: yonghong-song, aeubanks, eddyz87

Pull Request: https://github.com/llvm/llvm-project/pull/207850
DeltaFile
+33-33llvm/lib/Target/BPF/BPFMIChecking.cpp
+10-2llvm/lib/Target/BPF/BPF.h
+2-2llvm/lib/Target/BPF/BPFTargetMachine.cpp
+1-1llvm/lib/Target/BPF/BPFCodeGenPassBuilder.cpp
+1-0llvm/lib/Target/BPF/BPFPassRegistry.def
+47-385 files

FreeBSD/ports 785652fcad/verilator Makefile

cad/verilator: Add missing lz4 run-time dependency

PR:             296673
Reported by:    Joel Bodenmann <jbo at FreeBSD.org>

(cherry picked from commit 40e5f725452bf9fbcf763c020038f075bf47a99a)
DeltaFile
+3-2cad/verilator/Makefile
+3-21 files

LLVM/project aa72e55clang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,909 files not shown
+499,499-375,2667,915 files

LLVM/project 6cde0bcllvm/lib/Target/BPF BPFMIPeephole.cpp BPF.h

[BPF][NewPM] Port BPFMIPreEmitPeepholePass

Standard pass porting. This is needed for BPF to fully support the new
pass manager.

Reviewers: eddyz87, yonghong-song, aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/207847
DeltaFile
+37-20llvm/lib/Target/BPF/BPFMIPeephole.cpp
+11-2llvm/lib/Target/BPF/BPF.h
+2-2llvm/lib/Target/BPF/BPFTargetMachine.cpp
+1-2llvm/lib/Target/BPF/BPFCodeGenPassBuilder.cpp
+1-0llvm/lib/Target/BPF/BPFPassRegistry.def
+52-265 files

OpenBSD/src MSj0nRBusr.bin/ssh serverloop.c

   make authorized_keys "restrict" keyword apply correctly to tunnel
   forwarding (which is administratively disabled by default).

   Reported by Erichen, Institute of Computing Technology,
   Chinese Academy of Sciences
VersionDeltaFile
1.248+3-2usr.bin/ssh/serverloop.c
+3-21 files

FreeBSD/ports 0b766d8net-im/py-unmessage/files patch-versioneer.py

net-im/py-unmessage: Unbreak after transition to python-3.12

Reported by:    fallout

(cherry picked from commit 33992ae4d7a29a5fbd51de5444740c6da1cdcc18)
DeltaFile
+14-0net-im/py-unmessage/files/patch-versioneer.py
+14-01 files

LLVM/project c3bb395clang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,909 files not shown
+499,499-375,2667,915 files

FreeBSD/ports 33992aenet-im/py-unmessage/files patch-versioneer.py

net-im/py-unmessage: Unbreak after transition to python-3.12

Reported by:    fallout
DeltaFile
+14-0net-im/py-unmessage/files/patch-versioneer.py
+14-01 files

LLVM/project 670816cllvm/lib/Target/BPF BPFMIPeephole.cpp BPF.h

[BPF][NewPM] Port BPFMIExpandStackArgPseudosPass

Standard pass porting. Required to get BPF fully working with the NewPM.

Reviewers: eddyz87, aeubanks, yonghong-song

Pull Request: https://github.com/llvm/llvm-project/pull/207845
DeltaFile
+17-7llvm/lib/Target/BPF/BPFMIPeephole.cpp
+10-2llvm/lib/Target/BPF/BPF.h
+2-2llvm/lib/Target/BPF/BPFTargetMachine.cpp
+1-0llvm/lib/Target/BPF/BPFCodeGenPassBuilder.cpp
+1-0llvm/lib/Target/BPF/BPFPassRegistry.def
+31-115 files

LLVM/project a5c6a7alldb/bindings/python CMakeLists.txt, lldb/docs CMakeLists.txt

[lldb/script] Add scripted extension base-class templates for hooks and breakpoint resolvers (#209311)

This patch adds the Python base-class templates for `ScriptedHook` (a
unified base class that backs both `target hook add -P` and `target
stop-hook add -P`) and `ScriptedBreakpointResolver`, and wires them into
the Python bindings and docs CMake so every scriptable extension kind
has a template that the docs and future tooling can introspect.

The `ScriptedHook` template unifies what used to require separate
subclasses for target hooks and stop hooks: subclasses implement
`handle_stop` (required, so any hook is a valid stop-hook) and
optionally `handle_module_loaded` / `handle_module_unloaded`, which only
fire for hooks registered via `target hook add -P`.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+105-0lldb/examples/python/templates/scripted_breakpoint.py
+62-0lldb/examples/python/templates/scripted_hook.py
+2-0lldb/bindings/python/CMakeLists.txt
+2-0lldb/docs/CMakeLists.txt
+171-04 files

LLVM/project 290645eclang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,905 files not shown
+499,328-375,2667,911 files

LLVM/project 618b65allvm/lib/Target/BPF BPFMIPeephole.cpp BPFTargetMachine.cpp

[BPF] Split stack argument psuedo expansion into a separate pass

This will make the NewPM implementation cleaner given now the two passes
are either required/optional rather than like BPFMIPreEmitPeepholePass
before, which was partially required (for stack argument psuedo
expansion), and optional for other peephole optimizations. I think this
is also a cleaner design in general.

Reviewers: aeubanks, eddyz87, yonghong-song

Pull Request: https://github.com/llvm/llvm-project/pull/207844
DeltaFile
+36-16llvm/lib/Target/BPF/BPFMIPeephole.cpp
+4-1llvm/lib/Target/BPF/BPFTargetMachine.cpp
+2-0llvm/lib/Target/BPF/BPF.h
+42-173 files

LLVM/project f812f9bclang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,905 files not shown
+499,328-375,2667,911 files

LLVM/project e783176llvm/lib/Target/BPF BPFMIPeephole.cpp BPF.h

[BPF][NewPM] Port BPFMIPeephole

Standard pass porting. Needed to make BPF work fully with the NewPM.

Reviewers: eddyz87, yonghong-song, aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/207805
DeltaFile
+42-22llvm/lib/Target/BPF/BPFMIPeephole.cpp
+9-2llvm/lib/Target/BPF/BPF.h
+2-3llvm/lib/Target/BPF/BPFCodeGenPassBuilder.cpp
+2-2llvm/lib/Target/BPF/BPFTargetMachine.cpp
+1-0llvm/lib/Target/BPF/BPFPassRegistry.def
+56-295 files

LLVM/project 588fe52clang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,905 files not shown
+499,326-375,2657,911 files