[clang] fix crash-on-invalid with deduction guides (#207263)
Fix crash when a template template parameter specialization is used as a
deduced type.
This is a regression since Clang 22, and this will be backported, so no
release notes.
Fixes #203261
[DirectX] Remove now unreachable blocks in dxil legalize (#207259)
I think when I first wrote
https://github.com/llvm/llvm-project/pull/193592, I had been under the
assumption that the dead block would be removed for us so the test and
pass did not check that the branch was removed in the pass.
This was a wrong assumption and we need to manually remove the blocks.
This change does so by invoking the helper to do so.
For context: this issue reappeared in the offload test suite after
https://github.com/llvm/llvm-project/pull/205433 landed because the loop
could no longer unroll and the dangling branch appeared.
Resolves: https://github.com/llvm/llvm-project/issues/207095
[lldb] Fix rpath settings for LLDB.framework in buildtree when using LLVM dylib (#207270)
The LLDB.framework location in your build tree relative to the LLVM
dylib differs from an actual installation (which may be located
elsewhere). As-is, we cannot even use the LLDB.framework in the
buildtree because resources in the framework fail to load the LLVM
dylib.
www/superhtml: explicitly set CPU
lang/zig default behaviour is to compile for the specific CPU on which it
runs. This specifies a more generic baseline CPU for amd64 and arm64.
Here's hoping that this fixes the issues observed with the binary in
current packages.
NAS-141651 / 26.0.0-RC.1 / Gate ZFS deduplication on pool creation (by sonicaj) (#19252)
This commit adds changes to extend the ZFS deduplication license gate to
pool creation, which previously let a pool's root dataset be created
with dedup enabled on a system that is not entitled to it. The check is
factored into a shared validate_dedup_license helper so pool.create and
the dataset create/update path enforce it identically and stay in sync.
Original PR: https://github.com/truenas/middleware/pull/19251
Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
[libc] Make BigInt trivially constructible (#206277)
This makes BigInt trivially constructible and additionally fixes the
failures caused by the upcoming change in constexpr functions.
[lldb][CMake] Extend liblldb interposition fix to lldb-dap and lldb-mcp (#207251)
liblldb statically absorbs the lldbHost and lldbUtility archives (and
every plugin). A tool that links the shared liblldb while also linking
those same archives statically ends up with two copies of that object
code. On ELF, if the tool re-exports the archive symbols in its own
.dynsym, the dynamic linker can bind liblldb's internal references to
the tool's copy instead of liblldb's own, breaking shared-state
assumptions such as the HostInfo singletons.
106644f6c835 fixed this for the lldb driver with --exclude-libs,ALL, but
lldb-dap and lldb-mcp have the same setup and were left exposed. Factor
the logic into a shared lldb_prevent_liblldb_symbol_interposition helper
and call it from all three tools.
NAS-141651 / 27.0.0-BETA.1 / Gate ZFS deduplication on pool creation (by sonicaj) (#19253)
This commit adds changes to extend the ZFS deduplication license gate to
pool creation, which previously let a pool's root dataset be created
with dedup enabled on a system that is not entitled to it. The check is
factored into a shared validate_dedup_license helper so pool.create and
the dataset create/update path enforce it identically and stay in sync.
Original PR: https://github.com/truenas/middleware/pull/19251
Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
[clang] Defer consteval DMI checks for aggregate init
Clang currently checks immediate invocations in rebuilt default member initializers in isolation. For aggregate initialization, that can reject a valid initializer when the default member initializer reads an earlier field through the implicit this object. At that point Sema has not installed the aggregate object for constant evaluation yet, so evaluating the consteval call alone fails with a missing-this diagnostic even though evaluating the enclosing aggregate initializer would succeed.
Track immediate invocations from rebuilt default member initializers that fail only because this is unavailable, and defer diagnosing them until the enclosing full expression is complete. The enclosing initializer is then constant-evaluated with the aggregate object available; if that succeeds, the delayed invocation is accepted, and if it still fails, the normal consteval diagnostic is emitted. Also put parenthesized aggregate initialization on the same default-initializer rebuild path as braced aggregate initialization.
Update cxx2b-consteval-propagate.cpp to accept aggregate initialization from constant earlier fields, keep a runtime-dependent negative case, and cover GH207064's constructor-wrapper reproducer.
[HLSL][NFC] Update test check to be more specific (#207232)
If the repo path contains "main", the test was matching it against the
ModuleID in the output because it contains a path to the test file, and
the follow-up checks were failing.
Based on feedback in
https://github.com/llvm/llvm-project/pull/206596#discussion_r3510725223.
Gate ZFS deduplication on pool creation
This commit adds changes to extend the ZFS deduplication license gate to pool creation, which previously let a pool's root dataset be created with dedup enabled on a system that is not entitled to it. The check is factored into a shared validate_dedup_license helper so pool.create and the dataset create/update path enforce it identically and stay in sync.
18194 test-runner default output directory doesn't work
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
[clang] fix crash-on-invalid with deduction guides
Fix crash when a template template parameter specialization is used as a deduced type.
This is a regression since Clang 22, and this will be backported, so no release
notes.
Fixes #203261