LLVM/project 1b6cb0dclang/lib/Sema SemaExprCXX.cpp, clang/test/CXX/drs cwg22xx.cpp cwg5xx.cpp

[Clang] Implement CWG 2282

Link: https://wg21.link/cwg2282

For non-overaligned types, overload resolution now falls back to aligned
allocation functions in C++20 and later.
DeltaFile
+41-16clang/lib/Sema/SemaExprCXX.cpp
+34-4clang/test/CXX/drs/cwg22xx.cpp
+8-5clang/test/CXX/expr/expr.unary/expr.new/p14.cpp
+7-6clang/test/SemaCXX/new-delete.cpp
+6-0clang/test/SemaCXX/std-align-val-t-in-operator-new.cpp
+3-2clang/test/CXX/drs/cwg5xx.cpp
+99-332 files not shown
+103-348 files

LLVM/project 264ac33clang/lib/Sema SemaExprCXX.cpp

[Clang][Sema][NFCI] Simplify `resolveAllocationOverload()`

`resolveAllocationOverload()` performs multiple rounds of overload
resolution (typed and untyped, aligned and unaligned), each requiring a
slightly different argument list. Previously, the argument vector was
mutated in-place, which made the flow hard to follow.

This refactor prepares the list of arguments before calling
`resolveAllocationOverload()`. The preferred argument list is passed in
`PrefArgs`, while the fallback arguments are passed in `FallbackArgs`.
If the fallback resolution is not required, `FallbackArgs` is empty.
When making a nested call to perform the resolution with the fallback
arguments, the current set of candidates is passed in `PrefCandidates`
(formerly, `AlignedCandidates`). This argument also serves as a flag
used to distinguish the top-level call from nested fallback calls.
DeltaFile
+77-98clang/lib/Sema/SemaExprCXX.cpp
+77-981 files

LLVM/project 884793dclang/lib/Sema SemaExprCXX.cpp, clang/test/CXX/drs cwg22xx.cpp cwg5xx.cpp

[Clang] Implement CWG 2282

Link: https://wg21.link/cwg2282

For non-overaligned types, overload resolution now falls back to aligned
allocation functions.
DeltaFile
+41-16clang/lib/Sema/SemaExprCXX.cpp
+34-4clang/test/CXX/drs/cwg22xx.cpp
+8-5clang/test/CXX/expr/expr.unary/expr.new/p14.cpp
+7-6clang/test/SemaCXX/new-delete.cpp
+6-0clang/test/SemaCXX/std-align-val-t-in-operator-new.cpp
+3-2clang/test/CXX/drs/cwg5xx.cpp
+99-332 files not shown
+103-348 files

LLVM/project d74770cllvm/include/llvm/Transforms/Coroutines CoroInstr.h, llvm/lib/Transforms/IPO ThinLTOBitcodeWriter.cpp WholeProgramDevirt.cpp

cfi creates alias
DeltaFile
+20-33llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+20-5llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+16-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+13-0llvm/test/Transforms/Coroutines/coro-id-alias.ll
+8-4llvm/include/llvm/Transforms/Coroutines/CoroInstr.h
+87-498 files not shown
+116-6914 files

LLVM/project 6f02138llvm/include/llvm/IR GlobalValue.h, llvm/include/llvm/Transforms/Utils AssignGUID.h

Reland #184065
DeltaFile
+61-17llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+45-30llvm/lib/LTO/LTO.cpp
+64-2llvm/lib/IR/Globals.cpp
+49-3llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+45-5llvm/include/llvm/IR/GlobalValue.h
+49-0llvm/include/llvm/Transforms/Utils/AssignGUID.h
+313-57116 files not shown
+848-401122 files

LLVM/project 4808462clang/test/OpenMP target_map_nested_ptr_member_mapper_codegen.cpp, offload/test/mapping mapper_map_ptee_only_2_ptr_indirections_array.c mapper_map_ptee_only_2ndlevel_array.c

[NFC][OpenMP] Add mapper-specific tests exercising pointee seciton mapping.

Also add a couple of tests that require correct propagation of map-type-modifier
bits into the mapper.
DeltaFile
+211-0clang/test/OpenMP/target_map_nested_ptr_member_mapper_codegen.cpp
+93-0offload/test/mapping/mapper_map_ptee_only_2_ptr_indirections_array.c
+82-0offload/test/mapping/mapper_map_ptee_only_2ndlevel_array.c
+78-0offload/test/mapping/mapper_map_ptee_only_always_array.c
+61-0offload/test/mapping/mapper_map_ptee_only_2_ptr_indirections.c
+59-0offload/test/mapping/mapper_map_ptee_only_array.c
+584-011 files not shown
+875-717 files

FreeBSD/src 9f5df9esys/sys elf_common.h

elf_common: Add FDO package metadata note type

Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57525

(cherry picked from commit 6365c45d951dd50ca411160b03c3a0427bd54449)
DeltaFile
+3-0sys/sys/elf_common.h
+3-01 files

FreeBSD/ports ee51378. UPDATING

UPDATING: fix recent commit

Fixes:          6e3eedc2d309bd6ecd2ee928a27ad910cf1fce63

Sponsored by:   tipi.work
DeltaFile
+5-5UPDATING
+5-51 files

FreeBSD/src 8c78774stand/lua core.lua

core.lua: follow symlinks when looking for bootable kernels

PR: 293654
Reviewed by:    kevans
Approved by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55713

(cherry picked from commit e6d579be42550f366cc85188b15c6eb0cad27367)
DeltaFile
+1-1stand/lua/core.lua
+1-11 files

FreeBSD/src 1841091stand/lua core.lua

core.lua: follow symlinks when looking for bootable kernels

PR: 293654
Reviewed by:    kevans
Approved by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55713

(cherry picked from commit e6d579be42550f366cc85188b15c6eb0cad27367)
DeltaFile
+1-1stand/lua/core.lua
+1-11 files

NetBSD/src p5wYj69sys/arch/evbppc/conf files.sam460ex, sys/arch/evbppc/include sam460ex.h

   Make FDT parsing in Sam460ex port less bad.

   Avoid messing directly with libfdt.
VersionDeltaFile
1.2+106-72sys/arch/evbppc/sam460ex/sam460ex_fdt.c
1.2+22-3sys/arch/evbppc/sam460ex/machdep.c
1.2+6-1sys/arch/evbppc/include/sam460ex.h
1.2+3-3sys/arch/evbppc/conf/files.sam460ex
1.2+3-3sys/arch/evbppc/sam460ex/autoconf.c
+140-825 files

OpenBSD/ports vOBsj3Llang/gcc/16 Makefile distinfo

   lang/gcc/16: tested on powerpc64, added bootstrap for dlang
VersionDeltaFile
1.4+5-4lang/gcc/16/Makefile
1.3+2-0lang/gcc/16/distinfo
+7-42 files

LLVM/project edc5f47utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[bazel][AVR] Fix 930a46d2379914172f9e9e5e108510aa43fb7934 (#204264)

Add AVR to the intrinsics list
DeltaFile
+4-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+4-01 files

LLVM/project 8bea2ffclang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat TUSummaryEncoding.cpp LUSummary.cpp, clang/unittests/ScalableStaticAnalysisFramework EntityLinkerTest.cpp

Reland "[clang][ssaf] Track target triple in TU and LU summaries. #204027" (#204259)

This commit introduces the following changes:

- Add `TargetTriple` field to `TUSummary`, `LUSummary`, and their encodings.
- Frontend captures the triple from `CompilerInstance::getTarget()` when extracting a TU summary.
- JSON format reads/writes a `target_triple` field at the root of each summary; reader rejects strings not in `llvm::Triple::normalize` form.
- All TU/LU JSON test inputs/outputs and unit tests updated to include the new field.
    
`clang-ssaf-linker` uses a hardcoded triple value for the link unit; surfacing the triple through the tool will be handled in a follow-up PR.
    
rdar://179403011
DeltaFile
+24-1clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/TUSummaryEncoding.cpp
+24-1clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/LUSummary.cpp
+24-1clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/LUSummaryEncoding.cpp
+24-1clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/TUSummary.cpp
+12-9clang/unittests/ScalableStaticAnalysisFramework/EntityLinkerTest.cpp
+16-0clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/JSONFormatImpl.cpp
+124-13177 files not shown
+573-175183 files

OpenBSD/ports yhdocpwlang/gcc/11 Makefile

   lang/gcc/11: added new powerpc64 bootstrap
VersionDeltaFile
1.68+2-1lang/gcc/11/Makefile
+2-11 files

OpenBSD/ports RcwTI9Feditors/vim distinfo Makefile

   update to vim-9.2.663
VersionDeltaFile
1.163+2-2editors/vim/distinfo
1.310+1-1editors/vim/Makefile
+3-32 files

LLVM/project 0852756lldb/test/API/lang/cpp/abi_tag_structors TestAbiTagStructors.py, lldb/test/API/lang/cpp/namespace TestNamespaceLookup.py

[lldb][test] Skip even more unsupported tests on WebAssembly (#204255)

A second pass over the full API suite for tests that depend on features
unavailable on wasm32-wasip1 or in LLDB's Wasm support:

- Expression evaluation (skipIfWasm) for the C++ tests that the
"expression" category doesn't cover, since that category only applies to
commands/expression/*.

- Attaching to a running process (skipIfWasm). These tests have the
harness spawn the inferior as a host process and then attach, but a
.wasm module isn't a native executable, so exec'ing it fails with
ENOEXEC ("Exec format error"). The wasm module only runs inside the
runtime (e.g. iwasm) that LLDB launches, so there is no host process to
attach to.

Where a test also has supported, passing cases, the decorator is applied
per method.
DeltaFile
+4-1lldb/test/API/lang/cpp/symbols/TestSymbols.py
+4-1lldb/test/API/lang/cpp/operators/TestCppOperators.py
+4-1lldb/test/API/lang/cpp/printf/TestPrintf.py
+3-0lldb/test/API/lang/cpp/abi_tag_structors/TestAbiTagStructors.py
+3-0lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
+2-0lldb/test/API/python_api/hello_world/TestHelloWorld.py
+20-318 files not shown
+39-524 files

LLVM/project dec01d8llvm/lib/Target/DirectX DXContainerPDB.cpp

Use c_str for formatv
DeltaFile
+2-2llvm/lib/Target/DirectX/DXContainerPDB.cpp
+2-21 files

LLVM/project 9ededdaclang/lib/CodeGen CGCall.cpp, clang/test/CodeGenHLSL/resources cbuffer_struct_passing.hlsl

[HLSL] Codegen for passing cbuffer structs as function args (#203961)

Constant buffer structs are in `hlsl_constant` address space and have a
different layout than structs in default address space. They need to be
copied element-by-element and not by `memcpy`.

This change adds a check for the `hlsl_constant` address space to the
code path that avoids materializing a temporary copy for simple
`CK_LValueToRValue ` casts. This makes sure the constant buffer structs
is copied element-by-element to a temporary before being passed to a
function.
DeltaFile
+120-0clang/test/CodeGenHLSL/resources/cbuffer_struct_passing.hlsl
+11-7clang/lib/CodeGen/CGCall.cpp
+131-72 files

LLVM/project ea1b8c3clang/lib/Sema SemaExprCXX.cpp

[Clang][Sema][NFCI] Simplify `resolveAllocationOverload()`

`resolveAllocationOverload()` performs multiple rounds of overload
resolution (typed and untyped, aligned and unaligned), each requiring a
slightly different argument list. Previously, the argument vector was
mutated in-place, which made the flow hard to follow.

This refactor prepares the list of arguments before calling
`resolveAllocationOverload()`. The preferred argument list is passed in
`PrefArgs`, while the fallback arguments are passed in `FallbackArgs`.
If the fallback resolution is not required, `FallbackArgs` is empty.
When making a nested call to perform the resolution with the fallback
arguments, the current set of candidates is passed in `PrefCandidates`
(formerly, `AlignedCandidates`). This argument also serves as a flag
used to distinguish the top-level call from nested fallback calls.
DeltaFile
+77-98clang/lib/Sema/SemaExprCXX.cpp
+77-981 files

FreeBSD/ports b974b01mail/spamassassin Makefile, mail/spamassassin/files patch-lib_Mail_SpamAssassin_Plugin_URIDNSBL.pm

mail/spamassassin: Fix NS queries, A dns queries were always triggered

Upstream bz #8374.

Reported by:    laszlo at karolyi.hu
Obtained from:  Upstream commit f0a163ba1

(cherry picked from commit c9827a42640560c9a8b5a2c1cbc671e1075a8c8e)
DeltaFile
+20-0mail/spamassassin/files/patch-lib_Mail_SpamAssassin_Plugin_URIDNSBL.pm
+1-1mail/spamassassin/Makefile
+21-12 files

LLVM/project 2208263lldb/bindings/python CMakeLists.txt, lldb/examples/python delayed_enable.py

Add a useful command to the python examples & "lldb.utils" (#204251)

When debugging GUI programs where you have a bunch of breakpoints set
that you only want to have trigger when in the middle of some UI
interaction (a drag and drop for example) but not before, you need a way
to have the breakpoints disabled till a certain point, then re-enabled.
But since you are in the middle of the interaction, you can't interact
with the debugger to do that.

This little command disables your breakpoints, continues if you were
stopped, waits for a prescribed interval, then re-enables them.
DeltaFile
+69-0lldb/examples/python/delayed_enable.py
+1-0lldb/bindings/python/CMakeLists.txt
+70-02 files

LLVM/project 33b2aa3llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp, llvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVInstrInfoZc.td

rebase

Created using spr 1.3.8-beta.1
DeltaFile
+171-0llvm/test/TableGen/getRegClassFromMatchKind.td
+80-0llvm/utils/TableGen/AsmMatcherEmitter.cpp
+0-22llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+8-8llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+5-5llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
+1-0llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+265-359 files not shown
+274-3515 files

FreeBSD/ports c9827a4mail/spamassassin Makefile, mail/spamassassin/files patch-lib_Mail_SpamAssassin_Plugin_URIDNSBL.pm

mail/spamassassin: Fix NS queries, A dns queries were always triggered

Upstream bz #8374.

Reported by:    laszlo at karolyi.hu
Obtained from:  Upstream commit f0a163ba1
MFH:            2026Q2
DeltaFile
+20-0mail/spamassassin/files/patch-lib_Mail_SpamAssassin_Plugin_URIDNSBL.pm
+1-1mail/spamassassin/Makefile
+21-12 files

LLVM/project 6d2a201llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

Merge branch 'main' into users/ilovepi/clang-trap-unreachable
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+92,890-85,927llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+44,396-53,126llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+28,845-27,920llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+643,593-166,97338,347 files not shown
+4,718,876-1,847,02438,353 files

OpenBSD/src PunX8qVusr.bin/vi/vi v_sentence.c

   Make the behavior of the '(' command match the ')' command.

   Previously, the ')' command required a sentence to end with two
   blanks, but '(' only required a single space.  Historic vi (and the
   documentation) requires two spaces in both directions.

   Based on a diff from Walter Alejandro Iglesias.
VersionDeltaFile
1.13+8-3usr.bin/vi/vi/v_sentence.c
+8-31 files

FreeNAS/freenas d585d6dsrc/middlewared/middlewared/plugins/truenas_connect heartbeat.py, src/middlewared/middlewared/pytest/unit/plugins test_truenas_connect.py

Handle TNC license delivery and token states in heartbeat

This commit adds changes to read the TNC heartbeat response body so we can report the system fingerprint and installed license id, install a license PEM that TNC delivers, and drive token rotation and the terminal token states off the body fields instead of the old X-New-Token header. A delivered license is deduped against the one already installed so we don't reinstall it every beat, and a 205 that carries no license or token is logged as a TNC fault rather than silently skipped.
DeltaFile
+278-0src/middlewared/middlewared/pytest/unit/plugins/test_truenas_connect.py
+135-34src/middlewared/middlewared/plugins/truenas_connect/heartbeat.py
+413-342 files

LLVM/project 5639b33compiler-rt/lib/scudo/standalone combined.h, compiler-rt/lib/scudo/standalone/tests combined_test.cpp

[scudo] For a realloc that shrinks, retag the extra. (#204031)

When MTE is enabled and an allocations is reallocated from a large size
to a smaller size, zero tag the rest of the allocation. Before this
change only a single granule after the new size was zero tagged. This
adds extra security and use after realloc protection if code would have
tried to read/write into the old size, past the new size.
DeltaFile
+38-0compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+17-7compiler-rt/lib/scudo/standalone/combined.h
+55-72 files

LLVM/project 1e3b03dllvm/lib/Target/BPF/AsmParser BPFAsmParser.cpp, llvm/lib/Target/M68k/AsmParser M68kAsmParser.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.8-beta.1

[skip ci]
DeltaFile
+171-0llvm/test/TableGen/getRegClassFromMatchKind.td
+80-0llvm/utils/TableGen/AsmMatcherEmitter.cpp
+1-0llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
+1-0llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
+1-0llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
+1-0llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
+255-06 files not shown
+261-012 files

NetBSD/pkgsrc-wip 1540780getssl TODO

getssl: Add reference to CVE-2026-10303
DeltaFile
+3-0getssl/TODO
+3-01 files