[OpenMP] Prevent parser infinite loop on unimplemented clauses (#198796)
This is to fix an infinite loop in the parser when using un-implemented
clauses. See https://godbolt.org/z/f775asrea .
This patch also fixes this crash: https://godbolt.org/z/WKrsbTGGe .
Fix memory leak in pkg_repo_archive_extract_check_archive
The signature hash (sc) returned by pkg_repo_archive_extract_archive
was never freed - neither on error paths (early returns) nor on
success. Use goto cleanup pattern to ensure pkg_repo_signatures_free
is called on all paths.
Fix memory leak in pkg_jobs_universe_get_upgrade_candidates
When the version filter causes a continue, the pkg allocated by
pkgdb_it_next is not pushed to candidates and not freed. Free
the leftover pkg after the loop exits.
Fix memory leak in jobs_solve_autoremove
Free pkg when pkg_jobs_test_automatic returns false, as the package
is not added to the request and would otherwise leak.
Fix memory leak in delete_process_provides
Free pkg objects obtained from pkgdb_it_next() in all code paths
and reset the pointer to NULL to prevent double-free on the next
iterator call.
18110 pciebus topo module caches snapshot-lifetime pointers in module-lifetime state
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
NAS-140539 / 27.0.0-BETA.1 / Add tiering API (#18605)
This commit modifies the truenas API to wrap around tiering design in
the following ways:
A new namespace zfs.tier. will be added. This contains global
configuration for systemwide tiering settings as well as APIs related to
transitioning existing files from one tier to another. Parameters
include
- enabled: whether to enable tiering.
- max_concurrent_jobs: the maximum number of concurrent rewrite jobs
(tier migrations for existing data).
- min_available_space: point in available space for a dataset where tier
migrations will error out.
The namespace will also support APIs for managing and querying tier
[12 lines not shown]
devel/llvm??: remove libxml2 discovery
In commit af979dd126ff4 the dependency on libxml2 was removed. But
libxml2 was still found for LLDB and used if it was present at configure
time.
PR: 295076
Submitted by: laurent
[VPlan] Assert that replacement types match in VPUser::setOperand (NFC). (#195891)
Add assertion to VPValue::setOperand to check if types of the new
operand matches the old operand.
This makes it easier to catch replacements with incorrect types at the
source, instead only later during verification.
A few places currently preform replacements with mis-matching types,
which only get fixed up later. Update those to avoid type-violation.
Depends on https://github.com/llvm/llvm-project/pull/195485
PR: https://github.com/llvm/llvm-project/pull/195891