[lldb/script] Migrate ParsedCommand & raw commands onto ScriptedPythonInterface (#210430)
Give both `command script add -c` (raw class) and `-p` (ParsedCommand) a
single, shared
`ScriptedCommandInterface`/`ScriptedCommandPythonInterface`, built on
the existing `ScriptedPythonInterface` machinery: `CreatePluginObject`
delegates to the base template, and every other method goes through
`Dispatch`.
Add a lighter `ScriptedCommand` ABC template (`scripted_command.py`) for
raw mode; the existing `ParsedCommand`/`LLDBOptionValueParser` classes
are kept as-is.
Extend `ScriptedPythonInterface` with a few `Transform` overloads
(`DebuggerSP`, `std::vector<std::string>`, `CommandReturnObject &`) so
those argument types route through `Dispatch` without extra plumbing.
Delete the standalone SWIG bridge functions this plugin was the sole
caller of. `CommandObjectScriptingObjectRaw` and
[6 lines not shown]
chrono-date: update to 3.0.5
* What's Changed
Don't fail on nearly blank lines by @HazardyKnusperkeks in #882
Port ptz.h to C++20 by @HowardHinnant in 0a1b72b
compatible for c++11 but GCC < by @aengusjiang in 229c687
Fix parse of sys_time with supplied offset, but no offset parse by @HowardHinnant in e32a0d8
fix: OPERATOR_LITERAL Wdeprecated-literal-operator by @botanegg in #890
Bring leap_second up to spec by @HowardHinnant in b2e917c
get_version - Allow for NVRO by @greateggsgreg in #905
Prevent overflow when using 32 bit minutes by @HowardHinnant in 1a70f8c
fix: add quotes to all std::system invocations in tz by @L0PiTaL in #909
Update iso_week to use closest Thursday algorithm by @HowardHinnant in 7875f43
Update remote_version to new website by @HowardHinnant in 179a6b9
dwatch: add nine diagnostic modules; grow errno, io, proc, sched
Grow the module collection to answer, each with a single command, the
first questions asked when diagnosing a sick system: why is my
application stalling, where is the kernel fighting over locks, what
file could it not find, why is this process getting EPERM, what killed
my process, will that fatal signal actually leave a core behind, what
was my process stuck on, where is my kernel memory going, who is
creating or entering jails, is the network slow because TCP is
resending, how long did my thread wait to run, and is the disk itself
slow. Every module keeps to the house style: invocation-name
overloading through hard links, predicate-only D with inline lookup
tables (no if-statements), and stable providers only (syscall, proc,
sched, io, dtmalloc, and the lockstat, vfs, priv, and mib SDT
providers), so the modules remain drop-in compatible with older
releases (the one documented exception is noted below). No kernel
changes: new and extended profiles under cddl/usr.sbin/dwatch/libexec
plus one libdtrace inline table (priv.d).
[129 lines not shown]
nvme: Add quirk for broken namespace-change log
Add a QUIRK_EMPTY_NAMESPACE_CHANGED_LOG quirk which indicates that the
nvme controller may not properly populate the namespace-changed log
page. If we receive a NVME_LOG_CHANGED_NAMESPACE page for a device
with this quirk and the page is empty, probe all of the namespaces
rather than none of them.
Reviewed by: imp
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D58231
nvme: Add quirk for Amazon EBS NVMe Controller
This controller exhibits QUIRK_EMPTY_NAMESPACE_CHANGED_LOG behaviour.
A bug report has been filed with the vendor.
Reviewed by: imp
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D58232
nda: Don't sleep with non-sleepable lock held
We reach ndaasync with the CAM device lock held, so we must pass
M_NOWAIT to disk_* rather than M_WAITOK.
Reviewed by: imp
Fixes: 628d7a3270b6 ("nda: AC_GETDEV_CHANGED calls media chanaged for sectorsize change")
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D58230
[flang][openacc] Allow blank around ':' in generated clause parser with keyword (#212638)
Follow up to https://github.com/llvm/llvm-project/pull/210446 to also
allow the space in the parser generated by TableGen.
zoneminder: Multiple minor but crucial fixes
- Upstream provides some default files that were not previously
installed. Install them.
- Work around zm searching for rm and finding it in tools wrappers.
- Work around zm having the cgibin path coded as a PATH, which it
really isn't, by adding a leading /.
- Patch php database access to use php-pdo_mysql when ZM_DB_TYPE is
MariaDB. (PHP has one wrapper for mysql/MariaDB, and perl has
separate ones.)
graphics/virtio_gpu_qemu-kmod: New port - virtio gpu driver for UTMapp/qemu
virtio_gpu_qemu enables a virtual machine running under UTMapp/qemu,
which is configured using virtio for the GPU to run a graphical user
interface through X server.
MFH: 2026Q3
(cherry picked from commit 6b825bb84ccd0d0aee943776c21e250a6bf35c23)
graphics/virtio_gpu_qemu-kmod: New port - virtio gpu driver for UTMapp/qemu
virtio_gpu_qemu enables a virtual machine running under UTMapp/qemu,
which is configured using virtio for the GPU to run a graphical user
interface through X server.
MFH: 2026Q3
[clang] Add __builtin_convert_from_arbitrary_fp
Expose llvm.convert.from.arbitrary.fp as a target-independent builtin. It
interprets an integer as the bits of a narrow floating-point format and
converts it to a supported floating-point type.
Since the destination cannot be inferred from the operands, it is provided as
a type argument and parsed using a dedicated expression, following
__builtin_convertvector.
Sema requires an ordinary string literal naming a verifier-valid arbitrary
floating-point format. The source must be an integer of the corresponding bit
width, with signedness ignored. Fixed-length vectors are supported when source
and destination element counts match.
Destination elements are restricted to IEEE half, bfloat16, IEEE single, and
IEEE double semantics. x87 extended, PPC double-double, IEEE quad, __mfp8, and
sizeless vector destinations are rejected because existing intrinsic lowering
does not safely support them.
[6 lines not shown]