[lldb] Add MSVC STL formatter for std::valarray (#217242)
Pretty-print MSVC STL `std::valarray` from `_Myptr` / `_Mysize`. The
size summary is emitted only when that layout is present so libstdc++
valarrays (same `std::` name, no inline namespace) are not stolen.
References are dereferenced and the element type is taken from `_Myptr`.
Tests: generic valarray suite's MSVC STL category (Windows), covering
empty arrays, references, exact synthetic children, and the libstdc++
dispatch guard.
Part of #24834
Assisted-by: Grok 4.6
Assisted-by: codex-5.6-high
---------
Co-authored-by: Bjorn Schobben <bjorn.schobben at aimsport.com>
mimir: update to 3.2
3.2:
- Remote execution on by default; upgrade all queriers to 3.1 first.
- Removed: -query-frontend.enable-multiple-node-remote-execution-
requests, MQE projection-pushdown and prune-toggles flags.
3.1:
- TSDB blocks must use index v2; no index-headers built from v1.
- Removed: -target=flusher (use /ingester/flush), ring heartbeat
disabling, -querier.response-streaming-enabled.
- Per-step stats unsupported under MQE.
3.0 (major; plan the upgrade):
- Query-scheduler is REQUIRED; embedded one gone, so -querier.frontend-
address, -querier.max-outstanding-requests-per-tenant and
-query-frontend.querier-forget-delay are removed.
- MQE also default in query-frontend; queriers no longer serve the
Prometheus HTTP API (go via query-frontend).
- Removed: read-write deploy mode, Redis cache, memcached addresses-
provider, instant query splitting, -query-frontend.downstream-url,
[8 lines not shown]
[clang-repl] Honor `-emit-llvm` to print incremental IR (#217870)
clang-repl cannot currently emit the LLVM IR it generates. The
command-line emit actions are accepted but folded into
`EmitLLVMOnlyAction` (producing no output), and `frontend::EmitLLVM` is
rejected by the incremental frontend action when `-emit-llvm` is passed.
This prevents users from inspecting IR produced per-input PTU.
This patch teaches clang-repl to honor `-emit-llvm` by allowing the
IncrementalAction to accept `frontend::EmitLLVM` , making the driver
print each input's `llvm::Modul` to stdout instead of executing it,
similar to `clang -emit-llvm`. This enables a lit-level test to
FileCheck the IR produced by clang-repl and the effect of a statement on
it. Exposing this functionality beyond the driver level to allow library
consumers of `clang::Interpreter` to use it is a planned follow-up.
Provide assembly implementations of SHA-1 for amd64 in libc
Provide a generic assembly implementation for SHA-1 - this is considerably
faster than the C version.
Provide a SHA-NI assembly implementation that can be used on hardware that
has the SHA-NI instructions. This is considerably faster than the generic
assembly implementation.
Largely borrowed from libcrypto.
With input from naddy@
ok naddy@ tb@
resterm: Update to 1.2.2
New
Warnings for unknown and misplaced directives
Fixed
Ignored or unknown directives no longer close an active workflow or interrupt an open workflow branch.
Invalid directives cannot accidentally create or modify a request while the parser determines whether they apply.
[libc++] Disable the wmemchr optimization in std::find on Apple platforms (#217655)
`wmemchr` on Apple platforms is incredibly slow. We can do significantly
better by just implementing it on our own.
Fixes #205840
[DAG] Remove trivial VP SDNodes. NFC
This removes the codegen parts of the trivial VP intrinsics. It's quite far reaching, but the general categories of code removed are:
- Removing definitions from VPIntrinsics.def
- Legalization and expansion code
- MatchContext used to match over both VP and non-VP nodes
- Some dead DAGCombines and folds in SelectionDAGBuilder
There are still more things to be cleaned up after this, e.g. removing more of the VPIntrinsic class hierarchy, removing ExpandVectorPredication/moving expansion into other places, removing MatchContext from SDPatternMatch