[Github] Fully remove use of login_or_token (#179258)
PyGithub deprecated this a while back. An earlier patch attempted to fix
all the deprecations, but it looks like my grep expression missed a
bunch of cases. This patch should catch the remaining ones (minus libc++
which have been split for review by libc++ maintainers).
ValueTracking: Move ldexp KnownFPClass handling to support (#179235)
Will enable code sharing with SImplifyDemandedFPClass, SelectionDAG
and GlobalISel.
[lldb-dap] Check the process state before thread or frame validation. (#179202)
We are sending an invalid thread error on a valid thread because the
process is not in a stopped state.
Send a `notStoppedError` so the client can retry at a later state after
we have sent a stopped event.
This can happen when debugging a large binary and the user spams the
step over button.
[analyzer] Fix crash when copying uninitialized data in function named "swap" (#178923)
So the RegionStore has some assumptions, namely that the
core.unitialized.Assign checker is enabled and detects copying Undefined
(read of uninitialized data) before the Store is instructed to model
this.
As it turns out, there is a little hack in the
UndefinedAssignmentChecker:
```c++
void UndefinedAssignmentChecker::checkBind(SVal location, SVal val,
const Stmt *StoreE, bool AtDeclInit,
CheckerContext &C) const {
if (!val.isUndef())
return;
// Do not report assignments of uninitialized values inside swap functions.
// This should allow to swap partially uninitialized structs
if (const FunctionDecl *EnclosingFunctionDecl =
[20 lines not shown]
Linux 6.19: handle --werror with CONFIG_OBJTOOL_WERROR=y
Linux upstream commit 56754f0f46f6: "objtool: Rename
--Werror to --werror" did just that, so we should check for
either "--Werror" or "--werror", else the build will fail
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Attila Fülöp <attila at fueloep.org>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: John Cabaj <john.cabaj at canonical.com>
Closes #18152
[Github] Make prune-unused-branches workflow prune branches (#178769)
This adds in the final piece to the workflow to actually delete unused
user branches. For now this is limited to my branches so we can validate
this a little more in the production environment before starting to
delete all branches.
audio/rubberband: fix build with libc++ 21
With libc++ 21 audio/rubberband fails to build, with errors similar to:
In file included from ../src/common/mathmisc.cpp:24:
../src/common/mathmisc.h:58:1: error: unknown type name 'size_t'; did you mean 'std::size_t'?
58 | size_t roundUp(size_t value); // to nearest power of two
| ^~~~~~
| std::size_t
/usr/include/c++/v1/__cstddef/size_t.h:20:7: note: 'std::size_t' declared here
20 | using size_t = decltype(sizeof(int));
| ^
This is because mathmisc.h depended on <stddef.h> being transitively
included, which is no longer the case. Add #include <stddef.h> to fix
the problem.
PR: 292868
Approved by: acm (maintainer)
[3 lines not shown]
audio/rubberband: fix build with libc++ 21
With libc++ 21 audio/rubberband fails to build, with errors similar to:
In file included from ../src/common/mathmisc.cpp:24:
../src/common/mathmisc.h:58:1: error: unknown type name 'size_t'; did you mean 'std::size_t'?
58 | size_t roundUp(size_t value); // to nearest power of two
| ^~~~~~
| std::size_t
/usr/include/c++/v1/__cstddef/size_t.h:20:7: note: 'std::size_t' declared here
20 | using size_t = decltype(sizeof(int));
| ^
This is because mathmisc.h depended on <stddef.h> being transitively
included, which is no longer the case. Add #include <stddef.h> to fix
the problem.
PR: 292868
Approved by: acm (maintainer)
MFH: 2026Q1
ValueTracking: Move powi logic to KnownFPClass
This case is kind of ugly because we still need to look at the
known bits to short circuit the source check
[analyzer] Avoid overwriting the default binding of union aggregates in incomplete array initializers (#178694)
Preserve existing default bindings in setImplicitDefaultValue to avoid
incorrectly overwriting the probably more accurate default binding when
initializing array elements with union members.
You can read the comments in the store-union-aggregates.c, but here's
what really matters:
We eventually bind the union field, using the "bindAggregate", which
just translates to a default binding at offset 0, binding
"compoundVal{&Element{global_buf}}".
So we will have a default binding at offset 0, by the time we realize
that the second element of the array "buffers" didn't have an explicit
initializer spelled, thus we want to default bind zero in
"setImplicitDefaultValue".
This effectively replaces our original default binding with an incorrect
[14 lines not shown]
devel/llvm-morello: new snapshot
Includes a fix for a bug (padding of globals in hybrid mode) that
prevented compiling a working FreeBSD aarch64 system.
Sponsored by: DARPA, AFRL
NAS-139574 / 26.0.0-BETA.1 / Fix systemd unit stop for non-service units (socket, target, timer) (#18135)
This commit fixes an issue where stopping non-service systemd units
(e.g., docker.socket) would generate repeated errors because the code
was attempting to query the MainPID property from the
org.freedesktop.systemd1.Service D-Bus interface. Non-service units like
sockets, targets, and timers don't have this interface - they use their
own unit-specific interfaces (e.g., org.freedesktop.systemd1.Socket).
The fix adds a check to only query MainPID for .service units, and
relies solely on ActiveState for determining when non-service units have
stopped.
graphics/gegl: disable relocatable
On discussing with upstream, "relocatable" does not mean ELF
relocation. Currently enabling the feature causes GIMP and other
consumers build and runtime failures.
While here, update comment in x11/babl due to similar architecture.
Reported by: Tatsuki Makino
Pull up following revision(s) (requested by pgoyette in ticket #1232):
sys/dev/pci/if_rgereg.h: revision 1.18
sys/dev/pci/if_rge.c: revision 1.47
Catch up with upstream (OpenBSD)
Add support for RTL8125D revision 0x6890000
Fix outdated docs with vector.reduce instead of vector.reduction (#178111)
There is no existing `vector.reduce` op in the vector dialect, but
multiple doc strings reference it. This change updates those instances
to the correct `vector.reduction` op.
Pull up following revision(s) (requested by pgoyette in ticket #172):
sys/dev/pci/if_rgereg.h: revision 1.18
sys/dev/pci/if_rge.c: revision 1.47
Catch up with upstream (OpenBSD)
Add support for RTL8125D revision 0x6890000
ValueTracking: Move powi logic to KnownFPClass
This case is kind of ugly because we still need to look at the
known bits to short circuit the source check