RuntimeLibcalls: Add _Unwind_RaiseException (#239840)
This exists in libunwind and libgcc. BPF is currently emitting a call
to this directly by name.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[lldb] Interrupt the read thread when stopping it
ThreadedCommunication::StopReadThread clears m_read_thread_enabled and
joins the read thread, which checks that flag only once its read
returns. When no data comes, the read returns only when it times out,
after five seconds.
Before lldb reports that a process it launched has exited or that it
detached from the process, it stops the read thread of the process's
terminal. A process that lldb detaches from usually keeps running, and
if it does not write to its terminal, the detach takes five seconds.
StopSTDIOMonitoring closes lldb's own descriptor for the secondary side
of the terminal first, but that ends the read only once the process has
closed its descriptors too. Meanwhile, debugserver or lldb-server exits,
and since the process is not detached yet, ProcessGDBRemote gives it an
exit status, so lldb reports that the process exited.
Interrupt the read after clearing the flag, as SynchronizeWithReadThread
does. A connection reports an interrupt only when no data is pending,
[4 lines not shown]
net/kube-{apiserver,controller-manager,scheduler}: Update to 1.37.2
- Build with USES=go:modules and set the version through the
component-base ldflags; the old vendor/ paths are gone upstream.
- Add a FreeBSD stub for possibleCPUs(): upstream only builds it for
linux, darwin and windows, so pkg/securitycontext fails to compile.
- Refresh the pkg-message text; the kubelet is no longer unported.
- kube-scheduler: move the plist into PLIST_FILES and use
%%PREFIX%% in pkg-message.
- Drop the executable bit from the rc scripts.
Obtained from: https://github.com/dfr/kubernetes (03e825cfb3)
Reviewed by: dtxdf
Approved by: dtxdf (mentor)
Differential Revision: https://reviews.freebsd.org/D61242
security/vuxml: Adjust expat entry for the linux-rl9 reroll
linux-rl9-expat carries the fix for CVE-2026-45186 as of 2.5.0_9, so give
it a range of its own instead of the upstream one.
PR: 300543
Sponsored by: Netzkommune GmbH
[Clang] Fix thread sync in amdgpuintrin.h (#239832)
Summary:
This should be doing the same operation the one in HIP does. The
intrinsic doesn't have a fenec associated with it so we emit it
manually.
RISCV: Remove clearKillFlags calls (#239838)
Kill flags on physical registers here are either never set by the time
this code runs or are on reserved or constant registers where they
carry no information.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
AMDGPU: Check address alignment when merging TBUFFER accesses
SILoadStoreOptimizer only checked the alignment of the immediate
offset when merging TBUFFER accesses, ignoring the rest of the
address. This could undo splitting done for alignment and cause
hangs. This is a theoretically stronger fix to piglit failures with
mesa which were previously hidden by conditioning this transform on
relaxed OOB mode.
Check the alignment of the whole address from the memory operand, and
assume each access is already aligned to its component size. Since the
buffer intrinsics don't provide any alignment information, accesses
with 8-bit or 16-bit components can no longer be merged from IR.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[AMDGPU] Preserve f32 canonicalization through DPP shuffle (#233553)
Teach isCanonicalized to look through amdgcn.update.dpp when all rows
and banks are enabled and bound_ctrl selects zero for out-of-bounds
lanes. The result then consists entirely of source values or canonical
zeros.
This removes redundant canonicalization after shuffling canonical f32
values. An AITER FP8 blockwise quantization kernel compiles to 289
static instructions instead of 329 on gfx950, with unchanged register
counts and scratch usage.
Add positive and negative regression coverage.
[clang][Lex][NFC] Share directory module map processing (#239538)
Share directory cache handling and module map discovery between
`parseModuleMapFile` and `parseAndLoadModuleMapFile`. Use an explicit
`Load` parameter to preserve their distinct processing and cache state
updates.
[Support][mlir][llvm-mc] Support column checks in verify directives (#227570)
Allow an optional 1-based `:<col>` after the line specifier, e.g.
`expected-error@-1:8 {{...}}`, which additionally requires the
diagnostic to be at that column. Directives without a column still match
any column on their line. This also works for MLIR's
`-verify-diagnostics`.
Note that in Clang, `@<file>:<line>` instead refers to a line in another
file, but file-qualified directives are not supported here.
Assisted-by: AI tooling
Pull-Request: https://github.com/llvm/llvm-project/pull/227570
[MemProf] Cache context nodes for callsite stack ids during matching (NFC) (#239822)
updateStackNodes and assignStackNodesPostOrder repeatedly looked up the
context node for each stack id of each call being matched. Save the
nodes in CallContextInfo when they are first looked up and use them
throughout. The stack ids themselves are no longer saved, as they are
available via each node's OrigStackOrAllocId. The sort of calls with the
same last stack id now orders by those ids, and identical sequences are
detected by comparing the node vectors.
This efficiency improvement is leveraged in a follow on PR to avoid
adding another round of context node lookups.
Assisted-by: Gemini
Revert "kern: Fix write-open "." or ".." to return EISDIR instead of EEXIST"
This reverts commit d5838e7c8154895375e3f278fa0c03a2b913132c.
That change broke mkdir() and maybe others, causing them to return
the wrong EISDIR instead of EEXIST. For example:
```
% mkdir .
mkdir: .: Is a directory
```
We'll need to fix the original issue in another way.
Reported-by: swildner, mneumann
devel/binutils: fix reading ld-elf.so.hints on big-endian
ldconfig writes the hints file little-endian everywhere, but ld only read
it in host byte order, so on powerpc64 it ignored the hints and couldn't
find libraries that live only in ldconfig directories. Take the fix from
upstream master.
sysutils/fastfetch: update to 2.71.0
Add EET, EGL and XCB options. These were enabled silently whenever
their libraries happened to be installed in the build environment.
Python is needed to generate the full manual page.
Changelog: https://github.com/fastfetch-cli/fastfetch/releases/tag/2.71.0
databases/py-sqlrelay: fix build on powerpc64*
configure runs in sqlrelay's WRKSRC through a symlink, so the framework
doesn't replace config.guess and config.sub there, and the 2001 versions
from the tarball don't know aarch64 or powerpc64*. sqlrelay used to
update them in patch-config.sub, which went away with the Templates
update.
Fixes: 4d1f8f16c1c9 ("Templates/config.(guess|sub): Update to 2026-05-17")
lang/chez-scheme: use libffi for the pb backend
Without libffi, pb can only call foreign procedures whose prototypes
the Chez kernel itself uses. Anything else fails with "protocol not
supported (libffi unavailable)", so shells/schemesh spins forever in
its tests.
editors/lazarus: fix build on powerpc64*
fpc-devel added a Scale method to the canvas class, so TAChart picks
the wrong Scale and fails to build. Use the same fix as on aarch64.