databases/dbeaver: fix build on openjdk25
Some jdk.xml EntitySizeLimit defaults changed in openjdk24.
In the issue are more details.
Tested to still compile with openjdk21 also.
PR: 293697
Approved-by: Martin Filla (maintainer)
add: skip osversion check when force is set
When PKG_ADD_FORCE is set, the result of is_valid_os_version() was
already ignored, but the function was still called as a side effect,
prompting the user with "Ignore the mismatch and continue?".
Swap the condition operands to short-circuit the evaluation: when
force is set, is_valid_os_version() is no longer called at all.
This fixes pkg-static bootstrap -f -y unexpectedly prompting when
there is an OS version mismatch, because the base bootstrapper
calls pkg-static add -f without forwarding -y.
Additionally fixes the case where answering 'n' to the prompt had
no effect since force was set.
Fixes: #2579
[CIR] Add support for size parameter with array delete (#185768)
This implements reading the array cookie and passing a size parameter to
the array delete operator for simple cases that require a size
parameter.
Add persistent option to cache plugin
This commit adds ability to persistently set cache entries
(survives across middleware restarts / reboots, but not system
upgrades), and set clustered cache entries (ditto about
lifecycle).
In basic benchmarking there wasn't that much perf difference
between implementations and so this reduces overall complexity
Preserve PR state across failover device transition
Set pr_dump_dir on the dev_disk handler before tearing down HA sessions
so the kernel dumps PR state at unregister time. After the replacement
vdisk_blockio devices are created, restore the saved state and swap the
LUNs in without generating a device-replacement UA.
install -A: do not mark upgraded/reinstalled packages as automatic
When running pkg install -Ay foo, if this triggers a reinstallation
or an upgrade of a package the Automatic flags was wrongly propagated to
them.
Fixes: #1350 #2477 #2384
[RISCV] Make selectShiftMask32/selectShiftMask64 a template function. NFC (#185957)
I may need selectShiftMask16 and selectShiftMask8 for P extension shift
instructions.
[libc] Add entrypoint for iswxdigit (#185574)
This PR intends to add entrypoints and some smoke tests for `iswxdigit`
function
Changes made are :-
- Added entrypoint for `iswxdigit` in wctype.yaml
- Added CMake entrypoint object for `iswxdigit`
- Added Header and implementation in `iswxdigit.h` and `iswxdigit.cpp`
- Added test for `iswxdigit` in iswxdigit_test.cpp
- Added `iswxdigit` in entrypoints.txt for available platforms
Tested using = `ninja libc.test.src.wctype.iswxdigit_test.__unit__`
passes all tests
part of #185136
AMDGPU/GlobalISel: RegBankLegalize cvt_pk_u16/i16/pkrtz (#185534)
There are regressions that can be seen in pkrtz test regarding undefs
and fneg folding when swapping to GlobalISel with new register bank
select. Hopefully these can be cleaned up in a later patch.
DB: fix a race condition in db initialization
if 2 db process access the same db and one of them has created the file
and not yes committed and when the other one tries to read.
Fixes: #2293
[lldb] Reinstate ~PluginInstances assertion (#185537)
This re-enables the assertion in the PluginInstances destructor that
catches plugins that were not unregistered in their Terminate method. It
also adds a helpful message to quickly identify the plugin.
Update my PGP key, in case anyone looks here for it.
Cue the song "Signs of Life" from Pink Floyd. I haven't dropped off
the earth just yet, although it's been awhile since I updated my PGP
key in the official documentation.
NB: This key includes my email address at Proton, but right now this
PGP key won't work if you use it when sending mail to that account. I
still need to figure out how to fix that.
[mlir][openacc] Support terminators with results in wrapMultiBlockRegionWithSCFExecuteRegion (#185950)
When wrapping a multi-block region in `scf.execute_region`, this change gets the result types from the operands of the terminators (`func.return` or `acc.yield`) and creates the `execute_region` with those types. It then replaces each such terminator with`scf.yield(operands)`, ensuring that multiple returns or yields with results are handled correctly.
[ObjC] Support emission of selector stubs calls instead of objc_msgSend. (#183922)
This optimizes objc_msgSend calls by emitting "selector stubs" instead.
Usually, the linker redirects calls to external symbols to a symbol stub
it generates, which loads the target function's address from the GOT and
branches to it:
<symbol stub for _func:>
adrp x16, _func at GOTPAGE
ldr x16, [x16, _func at GOTPAGEOFF]
br x16
with msgSend selector stubs, we extend that to compute the selector as
well:
<selector stub for "foo":>
adrp x1, <selector ref for "foo">@PAGE
ldr x1, [x1, <selector ref for "foo">@PAGEOFF]
[35 lines not shown]
Make omp.iterator verify more robust and add tests
- Make sure
- step in omp.iterator is not zero
- when step > 0, lo < hi
- when step < 0, lo > hi
- Add negative test for above checks
- Add iterator lowering test to make sure negative step work
```
// OpenMP 5.2.6
The iterator value setof the iterator are the set ofvalues i_1,...,i_N where:
i_1 = begin
i_j = i_{j-1} + step, for j >= 2
If step > 0:
i_1 <= end
i_N <= end
i_N + step > end
[6 lines not shown]
Use findAllocaInsertPoint when possible and move the affinity packing logic to OpenMPToLLVMIRTranslation
- Move the omp.affinity_list packing logic from OMPIRBuilder to
OpenMPToLLVMIRTranslation so that we have all the omp.affinity_list
allocating logic inside the lambda defined in buildAffinityData
- all the allocation logic for affinity list is now using
findAllocaInsertPoint when possible (static count)
- `task_affinity_iterator_dynamic_tripcount` in
openmp-iterator.mlir is a regression test add previously for
dynamic tripcount
Fix affinity type, handle unexpected iterator loop body and accumulate affinity entry for one register call
- Generate kmpTaskAffinityInfoTy based on platform and create a helper
in OMPIRBuilder so that we can use it in OpenMPToLLVMIRTranslation and
OMPIRBuilder
- Handle invalid iterator loop body and add unit test
- Accumulate affinity info and only one register call for a task
construct
- remove `this->` in member fucntion
Refactor createIteratorLoop to use OMPIRBuilder utility functions and make end-of-block insertion robust.
- Replace manual splitBasicBlock/branch with splitBB
and redirectTo()
- When insertion point is at BB.end() and the block is terminated, split
before the terminator so the original successor path is preserved
through omp.it.cont
- Add test for unterminated blocks