[lldb][test] Remove unused variable always_false (NFC) (#239702)
The last use of always_false in TestWriteOverSoftwareBreakpoint's main.c
was removed on October 14, 2026 in commit
a111af730a345868b8b8d0b180a939e8796ae59f.
Assisted-by: Antigravity
tests/sys/capsicum: Fix -Wshadow issue with `fd_set`
`fd_set` is defined in `sys/select.h`, and prior to this change, was in fcntl.cc as well.
This change renames `fd_set` to `fd_set_` to avoid the name collision.
MFC after: 1 week
Reported by: gcc 14
Fixes: 04c4b2084eb9 ("capsicum-test: make the code WARNS=6 clean")
RISCV MC outliner: do not use RegSave in already outlined functions (#236429)
Skip `RegSave` in already outlined functions. `RegSave` inside an
outlined function adds a write to one of `t1..6`. But callers of an
outlined function rely on that outlined function to preserve registers
it doesn't define.
---------
Signed-off-by: Cyrill Leutwiler <bigcyrill at hotmail.com>
Revert #222531 "[clang] Support multiple in-process cc1 jobs in a ToolSession" (#240706)
This reverts commit cbf54d65f620f2efb78ee795ffdec28d269d9b21.
llvm-driver always constructs a ToolSession, so every clang invocation
through the multicall binary (LLVM_TOOL_LLVM_DRIVER_BUILD) takes the
reusable-cc1 path:
* -save-stats files accumulate Statistic counters across inputs
(b.stats includes a.c's counts), and -mllvm -stats output is merged.
* --offload-jobs is ignored: in-process device jobs are excluded from
parallel offload groups.
* After a crash or report_fatal_error in one input, the remaining inputs
are skipped, unlike standalone clang and -fno-integrated-cc1:
`clang -c crash.c ok.c` no longer produces ok.o.
* -disable-free is dropped for every compile, including single-file
compiles (+1.1% instructions at -O0 -g).
Embedding hosts should opt in explicitly rather than keying on
[2 lines not shown]
[RISCV] Combine extractRotateInfo and extractLuiRotateInfo. NFC (#240660)
We can rotate the constant left in the caller and pick ADDI vs LUI based
on the resulting constant.
Assisted-by: Claude
krb5: Import MIT 1.22.3
This is a bug fix release, with a focus on security issues discovered
with the aid of large language models. See
https://web.mit.edu/kerberos/advisories/MITKRB5-SA-2026-001.txt for
information on the risks of continuing to use unpatched releases.
* Fix a logic error when checking PAC server checksums
[CVE-2026-111423].
* Check for unkeyed checksums when validating CAMMAC verifiers
[CVE-2026-71199].
* Fix a loophole in the KDC's client authdata filtering which could
allow clients to include fake PAC and CAMMAC authdata values when
requesting service tickets. These fake values would be rejected by
application servers, were it not for the two bugs noted above.
* Check for the lockdown_keys attribute when processing password
[44 lines not shown]
[RISCV] Prevent potentially calling isRegisterReservedByUser with an out of bounds MCRegister. (#240501)
NextReg may be larger than X31. If X31 happens to be the last value in
the register enum, this would index past the valid range for
isRegisterReservedByUser.
I really don't think we should be incrementing past X31 at all, but
that's a more involved change.
[InferAddressSpaces] Use a new value map for each rewritten constant
When the pass rewrites a flat constant expression, it remaps the
instructions that use it through other constant expressions with a
`ValueMapper`. All rewritten constants shared one map, and the mapper
caches every constant that it visits, including the ones that it maps to
themselves. So when one instruction uses two rewritten constants, the
remap for the first one caches the part with the second one as
unchanged, and the remap for the second one reuses that entry. For
example, if a call has `addrspacecast`s of two flat pointers that are
based on the same `addrspace(3)` global, only one argument is folded.
This PR uses a new map for each rewritten constant.
This PR was assisted by AI but I reviewed all the changes.
[InferAddressSpaces] Don't replace uses in other functions (#240628)
`performPointerReplacement` visits every use of a value in the postorder
list. When the value is a constant expression, some of these uses can be
in other functions. It already skipped such uses, but only after
`replaceIfSimplePointerUse`, so when the pass ran on one function, it
could still rewrite a load, store, `atomicrmw`, or `cmpxchg` in another
function, even in an `optnone` function.
This PR skips a use in another function before any replacement, like
#70611 did for the other users of a constant.
This PR was assisted by AI but I reviewed all the changes.
[AArch64] Decompose store(insert(insert(..)) to separate stores. (#238314)
Given a store(buildvector) we will lower the buildvector to vector lane
inserts, which means expensive cross register bank copies for each lane
to store as a vector. Split the operation up instead, generating
individual store operations for the values on each lane. This generates
more stores but less expensive vector moves.
[DWARFLinker][Parallel] Leave modules out of the qualified name hash (#240650)
The parallel linker included a DW_TAG_module scope in the Apple
accelerator table hash of a type's qualified name, hashing "Mod::ns::S"
for ns::S in Clang module Mod. LLDB completes a forward declaration by
looking up the hash of its name qualified by namespaces and types only,
so with a dSYM from the parallel linker it did not find the definition.
The classic linker already ends the name at a module. Do the same in the
parallel linker and drop the SkipModules parameter. This covers any
DW_TAG_module, including Swift and Fortran modules, as in the classic
linker. A FIXME in the classic linker called skipping modules a
dsymutil-classic compatibility measure, but LLDB depends on it. Hashes
from the classic linker are unchanged.
Assisted-by: Claude
[RISCV] Don't consider bitcast of volatile load cheap in combineVectorSizedSetCCEquality (#240647)
DAGCombiner won't fold a bitcast into a volatile load because
fixed vector loads aren't "legal" on RVV.
Assisted-by: Claude
RuntimeLibcalls: Add attributes to stack protector failure handlers
Declare __stack_chk_fail and __stack_smash_handler as noreturn,
nounwind and nofree. GCC similarly declares __stack_chk_fail as
noreturn and nothrow.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
mqueuefs: set *a_eofflag in VOP_READDIR
mqfs_readdir() never reported end of directory. Since 77b273d8f5f4
VOP_READDIR_APV() asserts that a readdir which returns no entries also
sets *a_eofflag, so with INVARIANTS the final zero-length
getdirentries(2) that ls(1) issues on a mounted mqueuefs panics:
panic: VOP_READDIR: eofflag not set
Report end of directory when the child list was walked to its end;
leave the flag clear when the walk stopped because the buffer was full.
(cherry picked from commit fbac0abdc5ab1fe867ac85635662ef06b2ee9d10)
i2ctinyusb: do not list i2ctinyusb.c twice in SRCS
The module Makefile named its only source file in both the SRCS= line
and the SRCS+= line that follows. bsd.kmod.mk tolerates the duplicate
in a normal build, but when the kernel is built with -flto=thin the
linker sees the same bitcode object twice and refuses to link the
module ("Expected at most one ThinLTO module per bitcode file").
Fixes: 54e231b373ef
(cherry picked from commit b5cd411af6418986fa0da9c12d02b9f26c344a4a)
shells/oh-my-posh: update to 32.0.0
Bug Fixes
git: count native ahead/behind after the walk (d01ca02), closes #7954
ipify: use the configured url (a03f7f6)
studio: retry font loading after PNG export failures (8cb54a7)
fix(aspire)!: avoid CLI discovery on every prompt (11a939e)
BREAKING CHANGES
Aspire CLI discovery is now opt-in via fetch_apphost: true;
file-based detection remains default.
Move the query-filters documentation into the API modules
The import contract of the API schemas does not allow an import of
truesearch_filters. The truesearch API modules took the limit and the
query-filters documentation from it. Each API version now holds them
as text. truesearch_filters keeps the Spotlight attribute and the
choices of each field. A unit test checks that the current API
documents each field and each choice.