LLVM/project 1f825d4utils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel

[Bazel] Fixes ce06ac9 (#225288)

This fixes ce06ac932eca6a403fa2f1f84fc5724fd30dc562 (#224822).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=ce06ac932eca6a403fa2f1f84fc5724fd30dc562

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-1utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+1-11 files

LLVM/project fd979c6clang/lib/CodeGen CGCall.cpp, llvm/include/llvm/ABI FunctionInfo.h

[ABI] Add IndirectAliased kind to abi::ArgInfo (#225005)

Changes:
- Mirror `clang::CodeGen::ABIArgInfo::IndirectAliased:` an indirect
argument whose pointer may alias an object referenced elsewhere and is
never byval.
- Add the kind, a `getIndirectAliased` factory, an `isIndirectAliased`
predicate, and widens the indirect align/addrspace/realign accessors to
both kinds.
- Add unit tests in FunctionInfoTest.

Relates to : https://github.com/llvm/llvm-project/issues/220471

Assisted by: claude opsu 4.8
DeltaFile
+44-0llvm/unittests/ABI/FunctionInfoTest.cpp
+19-3llvm/include/llvm/ABI/FunctionInfo.h
+8-0clang/lib/CodeGen/CGCall.cpp
+71-33 files

LLVM/project 76301e4llvm/include/llvm/LTO Config.h, llvm/lib/LTO LTOBackend.cpp

[LTO] Add PassBuilderCallback to Config (#224896)

This allows LTO backend to register PassBuilder extension point
callbacks, mirroring the existing PreCodeGenPassesHook.
DeltaFile
+3-0llvm/lib/LTO/LTOBackend.cpp
+1-0llvm/include/llvm/LTO/Config.h
+4-02 files

LLVM/project d677e53llvm/include/llvm/ABI TargetInfo.h, llvm/lib/ABI TargetInfo.cpp

[ABI] Hoist isSingleElementStruct into TargetInfo and fix array reduction (#224994)

Changes:
- Move `isSingleElementStruct` from `X86_64TargetInfo` into the shared
`TargetInfo` base so other targets can reuse it, and restore the
`isAggregateTypeForABI` guard from classic CodeGen so a multi-element
array field no longer reduces (e.g. struct { short a[2]; } stays i32
instead of [2 x i16]).
- Add unit tests for the reduction in to new test file `TargetInfoTest`.

Relates to : https://github.com/llvm/llvm-project/issues/220471

Assisted by: claude opus 4.8
DeltaFile
+147-0llvm/unittests/ABI/TargetInfoTest.cpp
+57-0llvm/lib/ABI/TargetInfo.cpp
+0-55llvm/lib/ABI/Targets/X86.cpp
+3-0llvm/include/llvm/ABI/TargetInfo.h
+1-0llvm/utils/gn/secondary/llvm/unittests/ABI/BUILD.gn
+1-0llvm/unittests/ABI/CMakeLists.txt
+209-556 files

NextBSD/src 8c60d30. build.sh

build: seed /etc/sudoers as mode 0440

sudo refuses a sudoers file that is not 0440 ("is mode 0644, should be
0440"), and git stores nextbsd-overlays' copy as 0644, so the image's
sudo from NextBSD-contrib could not load its policy. Same fix as
overlays' seed.sh and nextbsd-userland's assemble-image.sh.

Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
DeltaFile
+2-0build.sh
+2-01 files

LLVM/project b4ed7afllvm/test/MC/RISCV xqcilo-pseudos-invalid.s rv64zfh-invalid.s, llvm/test/TableGen AsmMatcherPrioritizeFeatureErrors.td AsmMatcherPrioritizeFeature.td

[RISCV][MC] Prioritize features in MultiMismatchFallback (#215737)

Add the `PrioritizeFeatureInMultipleNearMisses` AsmParser option and
enable it for RISCV.

When an instruction has both missing features and multiple invalid
operands, prioritize the feature entry when populating `MultiMismatchFallback` so
that diagnostics identify the missing extension.

Keep the existing `MultiMismatchFallback` behavior unchanged for targets
that do not enable the option.


This change was assisted by AI.
DeltaFile
+56-26llvm/utils/TableGen/AsmMatcherEmitter.cpp
+34-12llvm/test/MC/RISCV/rv64xtheadmemidx-invalid.s
+36-0llvm/test/TableGen/AsmMatcherPrioritizeFeature.td
+18-8llvm/test/MC/RISCV/rv64zfh-invalid.s
+20-0llvm/test/TableGen/AsmMatcherPrioritizeFeatureErrors.td
+6-12llvm/test/MC/RISCV/xqcilo-pseudos-invalid.s
+170-5823 files not shown
+255-12429 files

LLVM/project ce06ac9lldb/source/Plugins/Platform/MacOSX CMakeLists.txt PlatformDarwin.cpp, llvm/unittests/Option OptionMarshallingTest.cpp

[Option] Remove OPTTABLE_STR_TABLE_CODE (#224822)

Its two users read OptionStrTable to spell an option. The unittest now
compares option IDs. lldb prepends '-' to the name it reads, which has
been the prefixed name since 501f92d34382 (2023), so it passes
"--mmacos-version-min=<ver>", which the driver rejects and drops; spell
it with the driver option table instead.

Aided by Opus 5
DeltaFile
+14-18lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+13-13llvm/unittests/Option/OptionMarshallingTest.cpp
+3-9llvm/utils/TableGen/OptionParserEmitter.cpp
+1-0lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
+31-404 files

OpenBSD/src yBbdT1Vsys/dev/pci/drm/amd/amdkfd kfd_process_queue_manager.c

   drm/amdkfd: Properly acquire queue buffers in CRIU restore

   From David Francis
   c6c290e408fe328e091f0bf7502a42b0deea82e9 in linux-6.18.y/6.18.53
   20a5e7ffdfecddc34c60a6b4483f42acf3d8731d in mainline linux
VersionDeltaFile
1.24+10-2sys/dev/pci/drm/amd/amdkfd/kfd_process_queue_manager.c
+10-21 files

OpenBSD/src hgswD0clib/libssl s3_lib.c ssl_local.h

   Move record content to TLSv1.2 record layer.

   This allows us to simplify the opening of records and will enable
   further development that makes the record layer self-contained,
   matching the TLSv1.3 record layer.

   For now, provide an accessor that allows the record content to be
   accessed from outside of the record layer - we'll remove this in
   the future.

   ok joshua@ tb@
VersionDeltaFile
1.137+33-31lib/libssl/d1_pkt.c
1.80+32-29lib/libssl/ssl_pkt.c
1.44+33-20lib/libssl/tls12_record_layer.c
1.49+1-39lib/libssl/ssl_local.h
1.4+39-1lib/libssl/tls12_internal.h
1.266+7-10lib/libssl/s3_lib.c
+145-1301 files not shown
+147-1367 files

OpenBSD/src 21UJcTVsys/dev/pci/drm/amd/amdgpu amdgpu_irq.c

   drm/amdgpu: Use system unbound workqueue for soft IH ring

   From Timur Kristof
   34c20c79e2a4dc906d2f74d102ff5066ff1cadaf in linux-6.18.y/6.18.53
   ba2977dcce72127986fbad76c4c67f134e2f69ae in mainline linux
VersionDeltaFile
1.16+1-1sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c
+1-11 files

OpenBSD/src wvNenSRsys/dev/pci/drm/amd/amdkfd kfd_doorbell.c

   drm/amdkfd: check find_first_zero_bit before __set_bit on kfd->doorbell_bitmap

   From Xiaogang Chen
   a7a2333f45b15e57ddbd14edd56e367fdcb9b163 in linux-6.18.y/6.18.53
   516bf737a5602875f6c28d1028967837c8edf2c0 in mainline linux
VersionDeltaFile
1.7+5-3sys/dev/pci/drm/amd/amdkfd/kfd_doorbell.c
+5-31 files

OpenBSD/src h0pDbLvsys/dev/pci/drm/amd/amdgpu amdgpu_amdkfd.h amdgpu_amdkfd.c, sys/dev/pci/drm/amd/amdkfd kfd_chardev.c

   drm/amdkfd: Let driver decide buffer size at AMDKFD_IOC_GET_DMABUF_INFO ioctl

   From Xiaogang Chen
   2d9fd0f01550aab4a0a1984b4379e50545906248 in linux-6.18.y/6.18.53
   8242a8d9d7194d5ef8a8b38a5621ca0966a3ec15 in mainline linux
VersionDeltaFile
1.14+19-4sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.c
1.31+2-8sys/dev/pci/drm/amd/amdkfd/kfd_chardev.c
1.18+1-1sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.h
+22-133 files

OpenBSD/src apFwgpgsys/dev/pci/drm/amd/amdkfd kfd_debug.c

   drm/amdkfd: Unwind debug trap enable on copy_to_user failure

   From Yongqiang Sun
   1b39f46eec2f907417d4955bb88434170f94a8d8 in linux-6.18.y/6.18.53
   01112e241e37f9ac98b6f418d93ce2e0b87b7ee0 in mainline linux
VersionDeltaFile
1.5+6-0sys/dev/pci/drm/amd/amdkfd/kfd_debug.c
+6-01 files

OpenBSD/src 0B41060sys/dev/pci/drm/amd/amdkfd kfd_smi_events.c

   drm/amdkfd: fix SMI event cross-process information leak

   From Yongqiang Sun
   5bb2dfa65d8da83e87b2a31c270bc567df69a5ca in linux-6.18.y/6.18.53
   92a8dba246d371fe268280e5fd74b0955688e6df in mainline linux
VersionDeltaFile
1.9+5-3sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.c
+5-31 files

LLVM/project 12bd0c1mlir/include/mlir/IR BuiltinTypeInterfaces.td

[mlir][NFC] Improve `ShapedTypeInterface` documentation
DeltaFile
+6-5mlir/include/mlir/IR/BuiltinTypeInterfaces.td
+6-51 files

LLVM/project a317caalibcxx/test/std/utilities/meta/meta.const.eval is_within_lifetime.compile.pass.cpp, lld/ELF InputFiles.cpp

fix windows unittest

Created using spr 1.3.7
DeltaFile
+616-0llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dot.ll
+101-9libcxx/test/std/utilities/meta/meta.const.eval/is_within_lifetime.compile.pass.cpp
+56-33llvm/utils/TableGen/AsmWriterEmitter.cpp
+0-74lld/ELF/InputFiles.cpp
+61-0mlir/test/Dialect/OpenACC/acc-declare-ctor-dtor-extra.mlir
+60-0llvm/test/ThinLTO/X86/cfi-import-internal-coroutine.ll
+894-11636 files not shown
+1,230-25442 files

OpenBSD/src vcjl8U3sys/dev/pci/drm/amd/amdgpu amdgpu_ras.h gfx_v9_0.c

   drm/amdgpu/ras: add ras_suspend callback and use it for cp_ecc_error_irq

   From Yunxiang Li
   001824103f2fe6ffd2380afddf81f43b446035b2 in linux-6.18.y/6.18.53
   e3829992dd9fa0a82511af4f01733fc854cd15a5 in mainline linux
VersionDeltaFile
1.21+28-4sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1.21+22-4sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1.9+2-1sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.h
1.37+0-2sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1.10+1-0sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
+53-115 files

OpenBSD/src iKJUIrFregress/lib/libssl/handshake valid_handshakes_terminate.c handshake_table.c

   Adjust for handshakes/handshake_count rename.
VersionDeltaFile
1.20+6-6regress/lib/libssl/handshake/handshake_table.c
1.5+4-4regress/lib/libssl/handshake/valid_handshakes_terminate.c
+10-102 files

OpenBSD/src ocrTqezregress/usr.bin/ssh multiplex.sh

   check ssh's handling of stale multiplexing sockets
   From Jens Rosenboom
VersionDeltaFile
1.42+20-1regress/usr.bin/ssh/multiplex.sh
+20-11 files

OpenBSD/src Xu5liIqlib/libssl tls13_handshake.c

   Rename handshakes and handshake_count.

   Rename handshakes to tls13_handshakes and handshake_count to
   tls13_handshake_count, so that we can add equivalent for tls12.

   ok joshua@ tb@
VersionDeltaFile
1.75+6-5lib/libssl/tls13_handshake.c
+6-51 files

LLVM/project 6180b49llvm/lib/Transforms/Scalar StructurizeCFG.cpp, llvm/test/Transforms/InstCombine cfg-uniformity-profile.ll

[Transforms] Maintain uniformity profile hints across CFG changes

Preserve uniformity hints only for equivalent decisions and execution
populations. Drop stale hints when CFG rewrites change their meaning.
DeltaFile
+120-0llvm/test/Transforms/SimplifyCFG/cfg-uniformity-profile.ll
+117-0llvm/test/Transforms/StructurizeCFG/uniformity-profile.ll
+74-0llvm/test/Transforms/JumpThreading/cfg-uniformity-profile.ll
+59-0llvm/test/Transforms/SimplifyCFG/cfg-uniformity-bypass.ll
+19-1llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
+18-0llvm/test/Transforms/InstCombine/cfg-uniformity-profile.ll
+407-14 files not shown
+444-510 files

OpenBSD/src oyJeHJ2sys/dev/pci/drm/amd/amdgpu amdgpu_ras_eeprom.c

   drm/amdgpu: validate RAS EEPROM tbl_size before record count

   From Candice Li
   805f11fb10ddbb7cef48d0c9b6009dee7891f0e5 in linux-6.18.y/6.18.53
   c83e4a45ff9a0b7aa1c48246102009a99ccef11b in mainline linux
VersionDeltaFile
1.21+22-6sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
+22-61 files

OpenBSD/src MnRTY6Dsys/dev/pci/drm/amd/amdgpu amdgpu_psp.c

   drm/amdgpu: fix buffer overflow during vBIOS update

   From Shiwu Zhang
   29fef371331e87311822000535f491ffc3d7a64f in linux-6.18.y/6.18.53
   6229898d46c0cbc238a6fe9f11c1ea12cf8bb9c5 in mainline linux
VersionDeltaFile
1.40+1-1sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
+1-11 files

OpenBSD/src tAMPCwLusr.bin/ssh clientloop.h ssh.c

   avoid race between multiple processes attempting to establish
   multiplexing control socket by moving socket creation earlier in
   ssh(1)'s life. Patch from Jens Rosenboom via bz3971

   ok naddy dtucker
VersionDeltaFile
1.115+38-37usr.bin/ssh/mux.c
1.641+6-2usr.bin/ssh/ssh.c
1.42+2-1usr.bin/ssh/clientloop.h
+46-403 files

OpenBSD/src DpXD8Wtsys/dev/pci/drm/amd/pm amdgpu_pm.c

   drm/amdgpu/pm: fix SmartShift bias sysfs store PM refcount on parse error

   From Candice Li
   95e13b25196295654563028861e6802807006ad4 in linux-6.18.y/6.18.53
   a4b0c3f5d2287997876d8f711a40d3c0418458d8 in mainline linux
VersionDeltaFile
1.27+3-5sys/dev/pci/drm/amd/pm/amdgpu_pm.c
+3-51 files

OpenBSD/src x9NGTt1sys/dev/pci/drm/amd/pm/powerplay amd_powerplay.c

   drm/amd/pm: bound pp_dpm_set_pp_table() memcpy

   From Asad Kamal
   3334985f8b4c7c637a829744c81518ad9a671bcb in linux-6.18.y/6.18.53
   f193e71fa9fab2e68ef85201b106e8f580d3a25b in mainline linux
VersionDeltaFile
1.13+3-0sys/dev/pci/drm/amd/pm/powerplay/amd_powerplay.c
+3-01 files

LLVM/project 41b7eablibcxx/include/__type_traits is_within_lifetime.h, libcxx/test/libcxx/utilities/meta is_within_lifetime.verify.cpp

[libc++] Implement P3450R1: Extend `std::is_within_lifetime` (#201053)

The implementing approach only requires the initial form of
`__builtin_is_within_lifetime` taking one pointer to the object
(necessary for P2641R4), along with `__builtin_constant_p` which is used
for the changes in this paper.

In the future, `__builtin_is_within_lifetime` is possibly enhanced to
additionally take a type, but the library implementation does not need
to be blocked on such improvement.
DeltaFile
+101-9libcxx/test/std/utilities/meta/meta.const.eval/is_within_lifetime.compile.pass.cpp
+29-4libcxx/test/libcxx/utilities/meta/is_within_lifetime.verify.cpp
+4-4libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
+4-4libcxx/test/std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp
+1-5libcxx/utils/generate_feature_test_macro_components.py
+3-2libcxx/include/__type_traits/is_within_lifetime.h
+142-284 files not shown
+147-3210 files

OpenBSD/src 0k00xbRsys/dev/pci/drm/amd/amdgpu amdgpu_fru_eeprom.c

   drm/amdgpu: harden FRU PIA parsing with bounded helpers

   From Stanley Yang
   4396d74b0c7304946ee343a6611ac6dbc0bfbf78 in linux-6.18.y/6.18.53
   c990c05eb6c74c98d1ff3acf67a19015312820b7 in mainline linux
VersionDeltaFile
1.8+66-35sys/dev/pci/drm/amd/amdgpu/amdgpu_fru_eeprom.c
+66-351 files

OpenBSD/src 3pg6kdZsys/dev/pci/drm/amd/amdkfd kfd_device_queue_manager.c

   drm/amdkfd: fix UAF race in destroy_queue_cpsch

   From Alysa Liu
   d98c8032c29944e1e572e1f49a0613d364fece0f in linux-6.18.y/6.18.53
   ac081deaf16a639ea7dff2f285fe421a33c1ade0 in mainline linux
VersionDeltaFile
1.32+7-1sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c
+7-11 files

OpenBSD/src 69umVsgsys/dev/pci/drm/amd/display/dc/dpp/dcn401 dcn401_dpp.c

   drm/amd/display: Check for sharpening case when calculating max vtaps for scaler

   From Samson Tam
   9bde188793a728a5db2f7a96a814f471c08521bb in linux-6.18.y/6.18.53
   4d8cfd570386eb0b6cb8aa0ca9e9db60a0404337 in mainline linux
VersionDeltaFile
1.3+6-2sys/dev/pci/drm/amd/display/dc/dpp/dcn401/dcn401_dpp.c
+6-21 files