[Support] Add std::string overload for llvm::sys::path::native (#193228)
This patch adds an overload of `llvm::sys::path::native` that returns a
`std::string` directly, making it more convenient to use when a
`std::string` is needed instead of modifying a `SmallVectorImpl<char>`
in place.
This is for
https://github.com/llvm/llvm-project/pull/193160#discussion_r3117268925,
but made separate PR.
[lldb] Fix pexpect detection with LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS (#193444)
Fixes ec8df555702d85511290742388d28016b69468de / #193437.
In which I tried to not require pexpect on Windows because key parts of
it do not work there
(https://pexpect.readthedocs.io/en/stable/overview.html#windows).
Which I did but made a mistake which removed pexpect from the list of
required modules for *all* platforms as a side effect.
`list(APPEND pexpect)` creates an empty list called foo
(https://cmake.org/cmake/help/latest/command/list.html#append), I meant
to append to the useful modules list.
With that fixed, we require pexpect everywhere apart from Windows.
GitHub CI is already installing pexpect on Linux
(see .ci/all_requirements.txt). All the Linux bots using
[2 lines not shown]
py-pelican: updated to 4.12.0
4.12.0 - 2026-04-20
- Add dark mode to ``notmyidea`` template
- Support ``CSS_FILE`` setting in Simple theme
- Improve Simple theme template inheritance
- Strip table-of-contents elements from article summaries
- Use slug in category/tag feed titles
- Fix raising exceptions on filtered logs
- Fix disabled category output
- Fix default ``FEED_DOMAIN`` to fall back to ``SITEURL``
- Don't log feed warning if ``FEED_DOMAIN`` is set
- Fix ``livereload`` import in ``docserve()`` task
- Fix JavaScript MIME detection on Windows
- Fix linking to individual settings in docs
- Overhaul installation instructions; add ``pipx`` and ``uv``
- Enhance GitHub Pages workflow
- Require Docutils 0.22+ and Sphinx 9.0+
- Require Python 3.11 and above; add Python 3.14 to test matrix
py-msgspec: updated to 0.21.1
0.21.1
Fix ValidationError and DecodeError raised in dec_hook being incorrectly wrapped in another ValidationError
Fix a potential NULL dereference in structmeta_get_module_ns
Fix a reference leak in ms_passes_big_int_constraints
Fix missing ref_template parameter in msgspec.json.schema type stub
Clarify order='deterministic' encoder docstrings
Add a porting guide for users migrating from orjson
[X86] Recognise vectors with zeros in all upper elements to improve VMOVS*Z folding (#193263)
Currently the VMOVSHZ (etc.) patterns are mainly limited to merging with
X86vzmovl patterns which explicitly demonstrate the upper elements
should be zero (and we can remove the X86vzmovl node).
This patch adds a X86vzelts PatLeaf to help match more general cases
where we can use the result of a passthrough node (in this case
X86vzload) is known to be zero in the upper elements via value tracking,
allowing us to fold to VMOVSHZ (but not remove the passthrough node).
Fixes #192034
[SelectionDAG] Preserve poison in IS_FPCLASS folds (#193246)
Handle poison explicitly in `IS_FPCLASS` so the fold preserves poison
semantics instead of turning the result into `false`.
Prep work to help with https://github.com/llvm/llvm-project/pull/190307
[CIR] Fix __builtin_clz/__builtin_ctz poison_zero to respect target
CIR was hardcoding poisonZero=true for all clz/ctz builtins, ignoring
the target's isCLZForZeroUndef(). This caused incorrect UB on targets
like AArch64 where clz/ctz of zero is well-defined.
Also add support for __builtin_c[lt]zg fallback (2-arg) variants with
compare+select, and add NYI stubs for elementwise variants.
pmapmi: Define and use pmap_md_kernel_vaddr_{p,to_paddr} in pmap_extract.
Allow an architecture to provide a function that extracts the PA from the
VA that the kernel text/data/bss are mapped at. This allows pmap_extract
to work for kernel mappings that aren't PAGE_SIZE sized.
[libcxx][test] Skip cas_non_power_of_2.pass.cpp in Picolibc build (#191415)
Relates to #191388
This test is currently being run and failing to link, however this is
masked by the XFAIL for clang 21. It is also marked unsupported for 22,
for now.
I ran it with 23 and got this linker error:
```
| ld.lld: error: undefined symbol: __atomic_load
<...>
| ld.lld: error: undefined symbol: __atomic_compare_exchange
```
This happens because for 5 and 6 byte variables, we can't simply
generate code for the atomic, so we emit a library call, and the
picolibc build does not provide implementations of these functions.
[11 lines not shown]
du: Set BLOCKSIZE before running tests
Several testcases assume BLOCKSIZE=K, so set it at the top of the
script. This fixes an issue where the tests would sometimes fail
when run under sudo.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D56476
(cherry picked from commit d618ba314d1452c1cb4360e15ae1c80adac48306)
du: Set BLOCKSIZE before running tests
Several testcases assume BLOCKSIZE=K, so set it at the top of the
script. This fixes an issue where the tests would sometimes fail
when run under sudo.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D56476
(cherry picked from commit d618ba314d1452c1cb4360e15ae1c80adac48306)
du: Set BLOCKSIZE before running tests
Several testcases assume BLOCKSIZE=K, so set it at the top of the
script. This fixes an issue where the tests would sometimes fail
when run under sudo.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D56476
(cherry picked from commit d618ba314d1452c1cb4360e15ae1c80adac48306)
du: Complete libxo transition
* Use xo_warn() / xo_err() instead of warn() / err().
* Add a test case for the POSIX-mandated stdout error check.
* While here, don't assume the size of off_t, address some style issues,
and broaden the use of bool instead of int.
* Reorder SEE ALSO section.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D56402
(cherry picked from commit 6c18dd3eb42b50fddb6d9605ddde1362ae9c504a)