[clang] implement CWG2064: ignore value dependence for decltype
The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.
This patch also implements what's neceessary to allow overloading
on pure differences in instantiation dependence, making `std::void_t`
usable for SFINAE purposes.
This also readds a few test cases from da98651, which was a previous attempt
at resolving CWG2064.
Fixes #8740
Fixes #61818
Fixes #190388
[SLP]Initial compatibility support for shl v, 1 and add v, v
Allows to make shl v, 1 to be compatible with add operations by
modeling it as add v,v
Fixes #40801
Reviewers: bababuck, hiraditya, RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/181168
Switch to using api_client authentication helpers
This commit switches the keychain plugin and our integration tests
to using the login_with_password API client helper function to
perform truenas version agnostic authentication to remote truenas
servers.
arm64: mte: handle synchronous tag check faults
The Memory Tagging Extension supports both Synchronous and Asynchronous
faults, called Tag Check Faults, which are configurable via
SCTLR_EL1.TCF0 for userspace and SCTLR_EL1.TCF for the kernel.
This commit adds support for handling synchronous tag check faults at
EL0 and EL1, although these are only enabled on a per-process basis in
userspace, kernel space does not enable tag check faults. A TCF in the
kernel will cause a kernel panic like any other virtual memory fault,
and a TCF in userspace will result in a SIGSEGV
Reviewed by: kib
Sponsored by: Arm Ltd
Signed-off-by: Harry Moulton <harry.moulton at arm.com>
Differential Revision: https://reviews.freebsd.org/D55947
NAS-140095 / 27.0.0-BETA.1 / New `zpool.scrub` namespace (#18676)
- Add new `zpool.scrub.run` endpoint backed by `truenas_pylibzfs` that
replaces shell-based `zpool history` parsing and `py-libzfs` calls with
native Python bindings
- Deprecate `pool.scrub.run` and `pool.scrub.scrub` (now thin wrappers
that delegate to `zpool.scrub.run` / `scrub_impl`)
- Support ERRORSCRUB scan type and explicit PAUSE/CANCEL actions in the
new endpoint
- Move scrub logic out of the async event loop into synchronous
thread-based execution via `@pass_thread_local_storage`
- Delete `zfs.pool.scrub_action`, `zfs.pool.scrub_state`,
`zfs.pool.find_not_online`, and `zfs.pool.get_vdev` (unused after
migration)
- Improve error handling: pool health states beyond OFFLINE (FAULTED,
REMOVED, UNAVAIL) now produce `ScrubNotStarted` alerts instead of
propagating as unhandled exceptions; too-many-scrubs errors also produce
alerts
- Add structured exception hierarchy in `zpool/exceptions.py` for all
[9 lines not shown]
18037 nvme should log full controller status on early CFS
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
Declare CheriBSD and CheriABI OS and ABI
This is sufficent to download CheriBSD packages. Prior to 6c740ac388 it
was possible to download packages for an unknown ABI. It's now necessary
for pkg to be aware of the OS and ABI to download packages.
CheriBSD ABI strings are of the form CheriBSD:<YYYYMMDD>:<arch> where
the version is an ABI version stored in __CheriBSD_version on CheriBSD
systems. We use dates rather than a count to make the age visible. It
is effectively a major version.
Declare CheriBSD and CheriABI OS and ABI
This is sufficent to download CheriBSD packages. Prior to 6c740ac388 it
was possible to download packages for an unknown ABI. It's now necessary
for pkg to be aware of the OS and ABI to download packages.
CheriBSD ABI strings are of the form CheriBSD:<YYYYMMDD>:<arch> where
the version is an ABI version stored in __CheriBSD_version on CheriBSD
systems. We use dates rather than a count to make the age visible. It
is effectively a major version.
clk_fixed: quiet a warning message
Frequently there are some unused/unspecified fixed clocks present in a
device tree. Each one emits a warning before it fails to attach, which
results in (sometimes many) repeated messages which are not
user-actionable.
Put this warning behind the bootverbose flag.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56204
ofw: bool-ify OF_hasprop()
Adjust the function signature and the few callers that don't treat it
this way already.
This is style only; no functional change intended.
Reviewed by: andrew
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56203
bsd.port.mk: also export GNU strip when USE_BINUTILS is set
GNU Binutils packages strip, and should be used in preference to the base
LLVM strip when USE_BINUTILS = yes.
Do not take over the STRIP makefile variable, which is already used in
bsd.port.mk to signal whether the install program should strip the
binaries. Instead define STRIP_CMD and use STRIP just for the environment
variables.
Reviewed by: dim arrowd
Approved by: mat (portmgr)
Sponsored by: Citrix Systems R&D
Differential revision: https://reviews.freebsd.org/D55509
{emulators,sysutils}/xen-{kernel,tools}: update to 4.21
Update to latest stable version. Fetch QEMU from the release tarball,
building from git is getting more and more complex, and we don't usually
have a delta of patches on top of QEMU that would dissaper if using git.
Sponsored by: Citrix Systems R&D
Approved by: bapt (implicit)
misc/seabios: use GNU strip
And fix typo in the objcopy (currently objcpy) variable. This makes the
SeaBIOS image functional again on FreeBSD 15.0. For some reason I haven't
investigated using LLVM strip results in a non-functional image.
Sponsored by: Citrix Systems R&D
Approved by: bapt (implicit)
[SPIR-V] Simplify addrspacecast for null in composite constant preprocessing (#192030)
Fold addrspacecast(null) to a typed null pointer during composite
constant preprocessing so that null pointer members in structs and
arrays get the correct SPIR-V pointer type instead of being lowered as
integers. This fixes invalid SPIR-V where OpConstantNull had an integer
type instead of a pointer type, and where OpSpecConstantOp was
unnecessarily emitted for null casts
related to https://github.com/llvm/llvm-project/issues/190736
[llvm-readobj][ELF] Remove redundant error in reportWarning
If MapOrError contains no error, calling takeError() results in
undefined behavior and may crash the program.
[llvm-readobj][ELF] Remove redundant error in reportWarning
If MapOrError contains no error, calling takeError() results in
undefined behavior and may crash the program.