[CIR] Fix speculative vtable emission check for inline virtual functions (#245845)
hasAnyUnusedVirtualInlineFunction looked up each inline virtual function
as a cir::GlobalOp, which never matches a function, so every class
appeared to have an unemitted inline virtual and
canSpeculativelyEmitVTable always returned false. As a result CIR never
emitted available_externally vtables at -O1 and above, preventing LLVM
from devirtualizing calls whose target is known after inlining a
constructor. Look the entry up as a cir::FuncOp, matching classic
codegen.
[Sparc] Reject V9-only register names and fcmp forms on V8 (#247419)
When targeting V8, the assembler accepted the V9 names of %asr2-%asr6
(%ccr, %asi, %tick, %pc and %fprs), the JPS1 names of the other ASRs,
and the forms of the floating-point compares that name an %fcc
register. fcmps %fcc1, ... was encoded with the cc bits in a field that
is reserved on V8, and the disassembler decoded that encoding back as
the V9 form.
Reject all of these on V8 as GNU as does, and don't decode %fcc1-%fcc3
on V8.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[X86] isGuaranteedNotToBeUndefOrPoisonForTargetNode - add X86ISD::HADD/HSUB handling (#247764)
Use getHorizDemandedElts to determine the correct DemandedElts masks
Pulled out of #245048
[flang][OpenMP] Keep vectorizable innermost loop out of collapse (#236152)
On the host, collapsing all loops of a multi-index `do concurrent`
recomputes every index on each iteration and blocks vectorization of the
innermost loop. Leave the innermost loop out of the collapse when it is
likely to vectorize, unless the outer loops have constant bounds with
fewer than 64 iterations in total. Device mapping is unchanged.
[Sparc] Fix inline asm operands bound to %f32-%f62 (#247420)
An inline asm double operand bound to one of %f32-%f62 (D16-D31), as
in "{f32}" or "{d16}", hit an assertion in getCopyToParts. The generic
lookup returned the register in CanonicalFPRegs, which exists only for
the assembler and comes first in the register class list, and whose
first value type is f32. Use the allocatable class of the register
instead.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
stumpwm: update to 2026.11
* Supporting reproducible builds
* Fix version in stumpwm.asd
* Reworked IO loop, simplification & removing restarts
* Better default data dir
* Include table of contents in the manual
* Use non-canonical paths when resolving default data dir
* FIX issue #997
* FIX issue #1234
* Fixing the custom type example in the docs
* Clarified nuances of command-mode
* Make find-mode-line-by-window find mode-lines with matching xwin
ids
* Add _NET_WM_STATE_ABOVE to +NETWM-SUPPORTED+
* Added more mouse interactivity and support for fixed number of
chars for window titles in the mode line
* add window classes for input, message and mode-line windows
* Update contribution guidelines and add issue references
[13 lines not shown]
[Bazel][Libc] Add info about char16_t.h to bazel build files. (#247770)
char16_t.h was added to character converter by PR 230434, but the Bazel
build files were not updated then.
www/dolibarr23: New port: Modern software package to manage your company or foundation
Dolibarr ERP & CRM is a modern software package to manage your organization's
activity (contacts, suppliers, invoices, orders, stocks, agenda)
It's an Open Source Software (written in PHP language) designed for small,
medium or large companies, foundations and freelances.
You can freely use, study, modify or distribute it according to its Free
Software licence.
You can use it as a standalone application or as a web application to be able
to access it from the Internet or a LAN.
imgact_elf: accept PT_INTERP segments up to 4096 bytes
The Yocto/Poky relocatable SDK NUL-pads the interpreter path in
PT_INTERP out to 4096 bytes (within Linux's POSIX PATH_MAX) so that
'relocate_sdk.py' can rewrite the path in place. The kernel rejected
any PT_INTERP with p_filesz > BSD's MAXPATHLEN (1024) with
"Invalid PT_INTERP" and ENOEXEC, so none of the SDK's binaries could
be run under the Linuxulator.
- The PT_INTERP segment may now be up to 'PT_INTERP_SEG_MAXSZ'
bytes, which may be greater than 'MAXPATHLEN'.
- The interpreter path within the segment must still be shorter
than 'MAXPATHLEN' -- when violated results in 'ENAMETOOLONG'
when the interpreter is looked up.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D62075
tests/sys/kern/procdesc: test the reaper exit while at the debugger
Add variants where the parent of the PD_NOWAITPID child stays its
reaper, and exits after closing the descriptor instead of doing
PROC_REAP_RELEASE. The test process reaps the parent before anybody
waits for the child, so that the child gets the next reaper up while it
sits at the debugger.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
tests/sys/kern/ptrace_test: reaper parent exits before the traced child
Run ptrace__parent_exits_before_child also with a parent which is the
reaper of the child. Its exit leaves its own pid as the real parent of
the traced child, which is stale once the parent is reaped, and the
wait of the new reaper used to report the child without reaping it.
Check that the zombie which waitpid(2) reported is gone, in both
variants.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
tests/sys/kern/procdesc: test the reaper change while at the debugger
Let the parent of the PD_NOWAITPID child be its reaper until the parent
closes the descriptor, so that the child gets the next reaper up while
it sits at the debugger, and add variants which close the descriptor
before the child exits. Run them with the reaper as the debugger, and
with another debugger.
Check that the zombie which waitpid(2) reported is gone.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
reaper_abandon_children(): pass the real parent role to the new reaper
A process which sits at its debugger can have the reaper as its real
parent: exit1() of the real parent stores the pid of the reaper into
p_oppid, and procdesc_close() makes the reaper the real parent of a
traced or parked PD_NOWAITPID child, linking a traced one onto the
orphan list of the reaper. When that reaper is reaped or does
PROC_REAP_RELEASE, the process keeps pointing at it.
For a PD_NOWAITPID child, which has no zombie reference left after the
last close, this strands the zombie. If the debugger becomes the new
reaper, proc_realparent() resolves to the debugger, so its wait is not
a debugger's wait, and without PZOMBIEREF_PARENT proc_to_reap() skips
the zombie: waitpid(2) fails with ECHILD. If the process is on the
orphan list of the old reaper, the debugger's wait or PT_DETACH gives
it to the old reaper, which cannot wait for it either. In both cases,
the zombie lingers until the process holding it goes away.
When a reaper abandons its children, hand such processes to the new
[16 lines not shown]
procdesc_close(): extract reaper_adopt()
procdesc_close() makes the reaper the real parent of a traced process,
or of a zombie parked at its debugger, and leaves the process with the
debugger. Move that into reaper_adopt(), so that it can also be done
when the reaper changes.
No functional change.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week