[lldb-dap] Don't repeat the type in a variable's value (#240897)
When a value had neither a value nor a summary, lldb-dap used its type
name as the value. The type is already sent in
the `type` field, so clients that show variable types displayed it
twice.
Move setting the types to the VS Code extension, It is only enabled if
the setting `debug.showVariableTypes` is true.
Fixes #240886
[ARM] allow hlt on all A and R profile architectures (#239909)
The Arm semihosting specification v2.0 requires implementations to
support hlt as a semihosting trap on all A/R-profile architecture
versions, including Armv7 and earlier where hlt is not defined.
https://github.com/ARM-software/abi-aa/blob/2026Q3/semihosting/semihosting.rst#the-semihosting-interface
GNU binutils supports hlt on pre-Armv8 A/R-profile since version 2.33
for the same reason.
17426 various kernel bits don't know about strdup(9F)/ddi_strdup(9F)
Reviewed by: Luqman Aden <luqman at oxide.computer>
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Approved by: Dan McDonald <danmcd at oxide.computer>
[AArch64] Fix missed-optimization problem because of DBG_VALUE at successor entry. (#241736)
Use skipDebugInstructionForward(CurMBB->begin(),CurMBB->end()) for
skipping DBG_VALUE at sucessor entry,so it won't prevent post-index
store formation.And the test indicates it works.
This fixes #229307
www/py-djangorestframework-filters: Deprecate
* The package is incompatible with Django 3.0+ and upstream is inactive
since 6+ years.
* Also mark as BROKEN and set a relatively short EXPIRATION_DATE to get
a quick deorbit.
* While here, fix portlint warnings and bump PORTREVISION to inform
users about the deprecation.
PR: 299889
Approved by: maintainer timeout (14+ days)
MFH: 2026Q4
Co-Authored-By: Kai Knoblich <kai at FreeBSD.org>
(cherry picked from commit 59ab004d2773bfb3ed8d30f5a07c62e9d045a1a1)
www/py-django-reversion-compare: Update to 0.21.1
0.14.0 imports ugettext (removed in Django 4.0), so the admin and
views fail on the tree's Django 5.2, and the port also lacks the
django-reversion dependency.
* Upstream requires-python >= 3.12 thus adjust USES=python accordingly.
* 0.21.1 also ships reversion_compare_project, a test/demo Django
project with manage.py, as a top-level package with a console
script; it fails stage-qa and does not belong in site-packages.
Prevent the installation by patching out the relevant parts.
* Fix LICENSE, because it's GPLv3+ as noted in pyproject.toml and the
LICENSE file.
* While here, add python to CATEGORIES, fix portlint warnings and switch
to the more preferred DISTVERSION.
[6 lines not shown]
www/py-django-libsass: Update to 0.9
0.7 imports django.contrib.staticfiles.templatetags.staticfiles, which
was removed in Django 3.0, so django_libsass fails to import with the
Django 5.2 in the tree. 0.9 uses django.templatetags.static.
* Switch to USE_PYTHON=pep517 to make the port future-proof.
* While here, add concurrent to USE_PYTHON, add LICENSE_FILE and switch
to the more preferred DISTVERSION.
PR: 299848
Approved by: maintainer timeout (14+ days)
MFH: 2026Q4
Co-Authored-By: Kai Knoblich <kai at FreeBSD.org>
(cherry picked from commit 66ad4cb049a75ec6d91c3c90466bfee32708db24)
www/py-django-bootstrap4: Update to 26.3
0.0.8 imports ugettext, django.utils.six and force_unicode, removed in
Django 3.0 and 4.0, so the package fails to import. 26.3 supports
Django 5.2.
* The sdist is now django_bootstrap4-*; build with pep517 (uv_build),
relaxing its uv_build<0.13.0 pin for the tree's 0.13 due to uv's
frequent releases.
* While here, add concurrent to USE_PYTHON, expand pkg-descr and switch
to the more preferred DISTVERSION.
PR: 299847
Approved by: maintainer timeout (14+ days)
MFH: 2026Q4
Co-Authored-By: Kai Knoblich <kai at FreeBSD.org>
(cherry picked from commit 2c6573f7f93c2f5f5adcdf86fdd1675c8b64ecc3)
[libc] Implement statx in sys/stat (#240031)
This PR implements `statx` in `<sys/stat.h>`.
- Connects public `statx` entrypoint to internal Linux syscall wrapper.
- Adds `struct statx` and `struct statx_timestamp` definitions to
`llvm-libc-types` and `hdr/types`.
- Registers public declaration in `libc/include/sys/stat.yaml`.
- Registers entrypoints across Linux targets (`x86_64`, `aarch64`,
`riscv`).
- Adds unit tests in `libc/test/src/sys/stat/statx_test.cpp`.
Fixes #240022.
upgrade: pick the newest version of a package, not the first one
The items of a request are in universe order, which is not the version
order, and the solver assumes the first item to be installed. When a
repository publishes several versions of the same package, the first one
can be any of them, including an older one, so the upgrade proposes a
downgrade.
Keep assuming the first item unless it is older than the installed
package: in that case use the newest candidate of the repository the
package was installed from, or keep the installed package when none of
the candidates is an upgrade. The same repository selection in the
universe now also prefers the newest candidate instead of the first one.
Fixes: #1757
[X86] Mark vXi64 int to fp undesirable without AVX512DQ
Without avx512dq there is no vector conversion from i64 elements to f32
or f64, so widening the conversion of a source truncated with nsw or nuw
back to i64 makes it slower.
avx512fp16 converts i64 elements to f16 directly, so the widening folds
now pass the node and the check sees the result type.
Assisted-by: Claude Code Opus 5.5
[DAGCombiner] Mark uint_to_fp widened through trunc nuw as nneg
The source of a trunc nuw fits in a strictly narrower type, so it is
non-negative. Without nneg x86 lowers the widened conversion through the
unsigned i64 expansion.
Assisted-by: Claude Code Opus 5.5
[NFC][X86] Add tests for int to fp of a trunc nuw or nsw source (#242913)
Without avx512dq a vector i64 source truncated with nsw or nuw is
converted one element at a time or through the unsigned i64 expansion.
A scalar source truncated with nuw takes the expansion without avx512f.
avx512fp16 converts i64 to half directly even without avx512dq.
Assisted-by: Claude Code Opus 5.5
[lld-link] Fix use-after-free in --time-trace with type server PDBs (#242726)
LinkerDriver::enqueuePath() used to capture its `StringRef path`
parameter. For type server PDBs, `path` is a local in
ObjFile::enqueuePdbFile() and the StringRef dangles and points to
garbage (which in assert-enabled builds usually isn't valid UTF-8,
making the trace assert with "Invalid UTF-8 in value used as JSON").
Instead, use the already-existing std::string copy of the path.