x11/xdg-desktop-portal-wlr: depend on fuzzel as window chooser
- licensed under MIT like xdg-desktop-portal-wlr itself
- fewer dependencies due to *not* using Pango
- used last when all other chosers haven't been installed
For example, when all "dmenu" choosers are missing OBS fails to retry
xdg-desktop-portal-wlr without Window capture.
$ obs-studio
[...]
info: PipeWire initialized
info: [pipewire] Screencast session created
/bin/sh: wmenu: not found
/bin/sh: wofi: not found
/bin/sh: rofi: not found
/bin/sh: bemenu: not found
/bin/sh: mew: not found
/bin/sh: fuzzel: not found
[5 lines not shown]
[Inliner] Keep metadata on callee calls inlined through an invoke (#246149)
When a callee is inlined at an invoke site, its may-throw calls are
rewritten into invokes that unwind to the caller's landing pad.
changeToInvokeAndSplitBasicBlock() copied only !prof to the new invoke,
so these calls lost metadata such as !alloc_token, !memprof and
!callsite. Copy all metadata, as createCallMatchingInvoke() already does
for the reverse conversion.
For example, `new char[n]` in an inline helper called in a scope with a
destructor got the fallback alloc token instead of the pointer-free one.
[InstCombine][NFC] Move SimplifyDemandedUseFPClass functions verbatim to InstCombineSimplifyDemandedFP.cpp (#244969)
Moves `SimplifyDemandedUseFPClass` and related floating-point functions
into `InstCombineSimplifyDemandedFP.cpp`.
AI Disclosure:
I used Claude Opus 5.5 to help with the code changes. I copied the code
manually to ensure that code was copied verbatim.
[BPF] Accept explicit __builtin_preserve_enum_value() in case labels (#244799)
This is a follow-up to #243338, which relocates an enumerator of a
preserve_access_index enum in a case label by comparing it with the
switch condition before the switch. An explicit
__builtin_preserve_enum_value() call in a case label was still an error,
with notes suggesting the attribute. Since a relocated case label is
already run-time code before the switch, accept the explicit call too,
so that a case label can check whether an enumerator exists, e.g., with
libbpf's macros:
```
switch (id) {
case bpf_core_enum_value_exists(enum cgroup_subsys_id, hugetlb_cgrp_id) ?
hugetlb_cgrp_id : -1:
return 1;
...
}
```
The relocated value of the enumerator is only loaded if it exists, so
[20 lines not shown]
[llvm-size] Refactor output formatting into SizePrinter classes (NFC)
Introduce a class-based SizePrinter abstraction (SummarySizePrinter,
BerkeleySizePrinter, SysVSizePrinter, DarwinSizePrinter) to encapsulate
format-specific state and output logic instead of branching on
OutputFormat across printObject and printObjectSectionSizes.
Move per-run state (HeaderPrinted and totals) from file-scope globals
into printer instances, preparing llvm-size for cleanly adding
additional output formats such as GNU (-G / --format=gnu) and JSON.
Assisted-by: Gemini
[llvm-size] Deduplicate archive and universal binary traversal (NFC) (#243387)
Introduce ObjectContext, printArchiveMembers, printUniversalSlice, and a
single printObject entry point to replace the duplicated archive loops,
Mach-O universal binary slice handlers, and per-call-site OutputFormat
prefix/suffix blocks in printFileSectionSizes.
Assisted-by: Gemini
[libc++][test] Use `std::nullptr_t` when `<cstddef>` is included (#245901)
The changes are motivated by libstdc++, which does not seem to provide
`nullptr_t` in the global namespace when only `<cstddef>` is included
under some conditions.
`nullptr_t` is guaranteed to be provided in the global namespace only
when `<stddef.h>` is included. Most test files in libc++'s test suite
include `<cstddef>`, so we should use `std::`-qualification to maximize
the portability of tests (at least for those in `libcxx/test/std`).
Notes:
- Some tests are already using `using std::nullptr_t;` before, so they
are unchanged.
- Some tests lack inclusion of `<cstddef>` when `nullptr_t` is
mentioned, so this patch adds the missing includes.
[libc++][test] Fix rebinding for `operator_hijacker_allocator` (#245893)
Previously, `operator_hijacker_allocator` in the test suite lacked
proper rebinding constructors and equality operators. Also, its `rebind`
member was incorrectly implemented.
This patch adds missing functions and corrects the `rebind` member.
`rebind` is now unconditionally provided since some implementations may
provide an extension to restore `allocator::rebind` in C++20 and later.