[analyzer] Drop the unused FoldingSetNode base of EquivalenceClass (#244866)
EquivalenceClass derived from FoldingSetNode but was never put in a
FoldingSet; its Profile method is all ImmutableMap/Set need. Drop the
base. This shrinks it from 16 to 8 bytes on 64-bit targets, and the
ClassMap, ClassMembers, ConstraintRange and DisequalityMap nodes from 80
to 72 bytes and the ClassSet nodes from 72 to 64 bytes.
Assisted-by: Claude Opus 5.5
Co-authored-by: Gabor Horvath <gaborh at apple.com>
[lldb][NativePDB] Don't turn function-local enums into scoped enums (#244640)
CodeView can't tell a scoped enum from an unscoped enum.
`EnumRecord::isScoped()` was the wrong check: it does not say whether
the enum is an `enum class`. Instead, it says if the type is declared
inside the body of a function.
This patch always creates unscoped enums and adds a new test which fails
without the change.
rdar://192360576
[clang][AST] Dump saved APValue of all `VarDecl`s (#239672)
Only evaluate the value of constexpr variables during `dump()`, but
always print the saved `APValue` if there is one.
This is more honest since we don't withhold the values we calculated for
non-constexpr variables.
[lldb][Windows] Restore blocking mode of sockets polled by MainLoopWindows (#243851)
`MainLoopWindows` polls sockets with `WSAEventSelect`, which makes them
non-blocking, and `DidPoll` never restores blocking mode.
This patch restores blocking mode in `DidPoll`, after clearing the event
selection.
Under load, at desk, `SocketTest.CreatePair` fails 49 of 6000 runs
without this patch and passes 8000 of 8000 with it. The new
`MainLoopTest.PolledSocketStaysBlocking` fails every run without it.
rdar://191149178
[OpenMP] Don't emit explicit flushes for atomic constructs
Clang and the OpenMPIRBuilder followed every atomic construct that has a
memory ordering other than relaxed with a call to __kmpc_flush, which is
a full memory barrier. However the LLVM LangRef specifies that an atomic
operation itself can provide the ordering "rather than an explicit fence",
so this isn't actually necessary.
It seems the calls are emitted based on a reading of the spec describing
*implied* flushes to mean that flushes should be literally emitted;
an alternative reading (here) is that the flushes are implied by the
atomic operation itself. See e.g. OpenMP 6.0 "17.8.5 atomic Construct"
or equivalent passages in 5.0 through 5.2. The flushes in question
are the "with a list" type for seq_cst, i.e. relating only to the
memory locations used in the atomic. For acquire/release atomics,
synchronization happens through the atomic's variable.
The __kmpc_flush call was also only emitted after the atomic operation,
so in some cases we're *already* relying on the ordering provided by
[29 lines not shown]
[SPIR-V] Rebuild multi-register aggregate arms from a typed placeholder (#236369)
`insertCompositeAggregateArms` rebuilds a multi-register aggregate arm
(e.g. the result of `llvm.sincos`) of an aggregate select or PHI with
`insertvalue`, starting from `poison`. It runs after
`preprocessUndefsAndPoisons`, so that poison stayed bare and
`visitInsertValueInst` turned it into `UndefValue::get(i32)`, which is
uniqued: a second such chain in the function, or any `i32 undef`, then
got the first chain's SPIR-V type, giving an invalid
`OpCompositeInsert`. The chain now starts from the placeholder
`preprocessUndefsAndPoisons` would have created.
Assisted-by: Claude Opus 5.5
---------
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[SPIRV] Fold constant byte offsets past an array element into the index (#243461)
Logical SPIR-V asserts in `walkLogicalAccessChainConstant` when a GEP
adds a constant byte offset to a pointer into a byte-addressed array and
the offset reaches past the element. For example, InstCombine turns
`color.data[o + 2]` on `float4 data[8]` into `getelementptr [16 x i8],
%base, i32 %o` followed by `getelementptr i8, %p, i32 32`. The access
chain walk deduces `<4 x float>` for `%p` and cannot apply a 32-byte
offset to it.
This splits offsets like this into a count of array elements, which it
adds to the array index, and the leftover bytes, which stay a byte
offset inside the new element. In the example, `color.data[o]` plus 32
bytes becomes `color.data[o + 2]`. Longer GEP chains and variable
offsets still fail.
Addresses the constant-byte-offset crash in #206815.
RuntimeLibcalls: Add attributes to fenv libcalls (#244446)
Treat the fp environment as inaccessible memory.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
NAS-145368 / 27.1.0 / Clear the login rate limit in the password expiry unit tests (by bmeagherix) (#20283)
auth.login_ex over TCP is limited to 20 calls per minute per IP, and
logins made by earlier tests in the run count against that limit.
test__password_expired and test__password_expiry_warning could then fail
with EBUSY "Rate Limit Exceeded" depending on test order and timing.
Clear the rate limit cache before these two tests only.
Original PR: https://github.com/truenas/middleware/pull/20281
Co-authored-by: Brian Meagher <brian.meagher at truenas.com>
NAS-145368 / 28.0.0-BETA.1 / Clear the login rate limit in the password expiry unit tests (#20281)
auth.login_ex over TCP is limited to 20 calls per minute per IP, and
logins made by earlier tests in the run count against that limit.
test__password_expired and test__password_expiry_warning could then fail
with EBUSY "Rate Limit Exceeded" depending on test order and timing.
Clear the rate limit cache before these two tests only.
routinator: Update to version 0.16.2
Security fixes
Fixed an issue where Routinator runs out of memory and crashes if an rsync server sends an excessive amount of disagnistic output. (#1171)
This issue was assigned CVE-2026-119068.
Fixed an issue where Routinator may keep some data from a rejected publication point when falling back to the stored version that publication point. (#1170)
This issue was assigned CVE-2026-119069.
[IR] Fix name clashes in Module move assignment (#245152)
The global variable, function, alias, and ifunc lists share one symbol
table, but move assignment cleared and spliced them one list at a time.
An incoming value named like a destination value in a list not cleared
yet was renamed, such as an incoming global variable @foo becoming
@foo.1 next to a destination function @foo. Clear all four lists before
splicing any.
Assisted-by: Claude Code (Claude Opus 5.5)
[SPARC] Use the f128 compare helpers for matching strict compares (#244836)
With strict FP, every soft-quad f128 compare called _Q_cmp/_Qp_cmp or
_Q_cmpe/_Qp_cmpe and decoded the result. The predicate helpers have
fixed exception behaviour: _Q_flt, _Q_fle, _Q_fgt and _Q_fge (and the
_Qp_ forms) are signaling like fcmpe, and _Q_feq and _Q_fne are quiet
like fcmp. Use them when that matches the compare, as GCC does. This
covers the plain C comparison operators. The other compares still use
_Q[p]_cmp/_Q[p]_cmpe.
Fixes #244636
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[libc] Use the gettid syscall wrapper in tests (#244825)
This PR move gettid calls in libc tests behind the centralized syscall
wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
www/monolith: update to 2.12.0
v2.12.0
support for MHTML (.mht) targets
improved UI
v2.11.7
drive letter in Windows absolute paths no longer gets mistaken for a protocol
newlines in page titles get stripped from output file names
LINK, BASE and META elements are now self-closing
improved speed of operations associated with dataURLs
fixes for security issues related to badly signed TLS certificates