Revert "[ASTMatchers] Make isExpandedFromMacro accept llvm::StringRef… (#167060)" (#169238)
This reverts commit a52e1af7f766e26a78d10d31da98af041dd66410.
That commit reverted a change (making isExpandedFromMacro take a
std::string) that was explicitly added to avoid lifetime issues. We ran
into issues with some internal matchers due to this, and it probably is
not an uncommon downstream use case. This patch restroes the original
functionality and adds a test to ensure that the functionality is
preserved.
https://reviews.llvm.org/D90303 contains more discussion.
libpthread: Link with -Wl,-z,nodelete.
Can't safely unload libpthread because of the interaction with libc
thread stubs.
PR lib/59784: dlopening and dlclosing libpthread is broken
net/unison240: Fetch from github, deprecate
The distfiles used by the port are not available anymore, take the one from github. Adapt the port to build with the slightly different layout of this distfile. [1]
The new distfile does not provide html, ps and pdf documentation, so remove those files from the port.
I'm also deprecating this port, it is an ancient version not really supported anymore by upstream. set a long expiration time.
While here:
- Refresh Makefiles for other legacy unison ports
- Remove CONFLICTS with no more existing -devel port
PR: 291166 [1]
MFH: 2025Q4
(cherry picked from commit ba72838fff3e7fa001d247aa5409e889a7c864c3)
NAS-138649 / 26.04 / Fix race condition when the websocket connection closes (#17681)
Found this traceback in middleware logs on latest GE:
```
[2025/10/28 11:03:10] (WARNING) middlewared.process_method_call():388 - Exception while calling core.unsubscribe(*['993850e4-b0d6-408c-884d-45eba5665e53']) @cee:{"TNLOG": {"exception": "Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 354, in process_method_call
result = await method.call(app, id_, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 52, in call
await self.middleware.authorize_method_call(app, self.name, methodobj, params)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 916, in authorize_method_call
if app.authenticated_credentials.is_user_session and hasattr(methodobj, '_no_authz_required'):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'is_user_session'", "type": "PYTHON_EXCEPTION", "time": "2025-10-28 15:03:10.016597"}}
```
Middleware is receiving a `core.unsubscribe` request right before the
websocket connection closes. On close, `SessionManager.logout` executes
[8 lines not shown]
net/unison240: Fetch from github, deprecate
The distfiles used by the port are not available anymore, take the one from github. Adapt the port to build with the slightly different layout of this distfile. [1]
The new distfile does not provide html, ps and pdf documentation, so remove those files from the port.
I'm also deprecating this port, it is an ancient version not really supported anymore by upstream. set a long expiration time.
While here:
- Refresh Makefiles for other legacy unison ports
- Remove CONFLICTS with no more existing -devel port
PR: 291166 [1]
MFH: 2025Q4
[VPlan] Refine mayRead/WriteFromMemory for VPInst, fix VPlan SLP check.
Fix VPlan SLP check incorrectly bailing out for non-VPInstructions.
Starting from the beginning of the block will include canonical IVs,
which in turn are not VPInstructions. If we hit a non-VPInstruction, we
should conservatively treat is as potentially unvectorizable.
To keep the tests working as expected, refine mayRead/WriteFromMemory
for Load and GEP VPInstructions.
freebsd-update: Add some diagnositic information for a failure case
Users report freebsd-update failing with "The update metadata index is
correctly signed, but failed an integrity check." Add a hint at which
of the cases is failing to help track down the issue.
PR: 264205
Reviewed by: dch
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52222
(cherry picked from commit af4ba95daf75cf1b1624dd57038cfaa3ed2753e7)
(cherry picked from commit d653eca0ef889a8e3fa1e370d2b3ce7b031441a2)