[SSAF][WPA] Operator new/delete overload entities that shall retain their types
A follow-up change to #206600. This commit adds the WPA
implementation for those operator new/delete overload entities that
shall retain their types. This WPA result will later be used to
filter unsafe buffer analysis results.
rdar://179151541
NAS-141710 / 27.0.0-BETA.1 / Add ISCSI_DISK device type to VM API (#19281)
Adds VMISCSIDiskDevice and VMISCSIDiskTarget to the v27 API model, wires
the ISCSI_DISK dtype through factory_utils, and calls
check_pci_slot_conflicts() from _validate_device() so PCI slot
collisions are caught at vm.device.create/update time rather than
failing silently at VM start.
Also:
- Add NIC pci_address slot validation
Override VMNICDelegate.validate_middleware() to enforce machine-topology
slot rules using pci_slot_error_for_machine(): PCIe machines (q35 /
aarch64 virt) require slot == 0 on point-to-point ports; i440fx PCI
bridges reserve slot 0 for the SHPC controller so usable slots start at
1. Machine type is read from the VM instance, which is already in hand
at create/update time.
- Tighten VMNICPciAddress constraints
[flang][cuda] Switch CUFAllocDelay to operate on fir.declare (#208334)
CUFAllocDelay previously matched hlfir.declare, requiring it to run
before HLFIR-to-FIR lowering. Match fir.declare instead so the pass can
be scheduled with the other CUF preparation passes (which also operate
on fir.declare), before cuf.alloc is lowered. The delay logic is
unchanged.
[ConstraintEli] Add more tests with latch guarded loops+overflows (NFC) (#208328)
Add additional tests with latch controlled loops and cases where we
currently bail out due to constraint-system overflows.
[clang] add triple to `test/SemaCXX/deduced-return-type-cxx14.cpp`
Fixes issue reported here: https://github.com/llvm/llvm-project/pull/208285#issuecomment-4919717057
Since that test file now uses the `cdecl` attribute, which is not supported
in some targets, pin that test to x86_64 triple.
[DirectX] Expand {u,s}mul.with.overflow in DXILIntrinsicExpansion (#207297)
DXIL has no op for the llvm.{u,s}mul.with.overflow intrinsics. These can
be emulated by performing the full multiply using double-width values
and then checking the high-part of the result. However, this should be
avoided for 32-bit values since we don't want to make the shader start
using 64-bit values if it wasn't before. In this case we can use the
UMul and IMul DXIL operations that return the result as separate low &
high values.
Wider (64-bit) multiplies, which can't widen further, compute the high
half with same-width arithmetic instead.
Fixes #207090
---------
Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Co-authored-by: Farzon Lotfi <farzonl at gmail.com>
Mk/Uses/php.mk: Add DEV_WARNING for USES=php:pecl
- php has declared pecl infrastructure as deprecated in lieu of pie
- Considering this add a warning for DEV to convert these packages to
standard extensions
- Most of the pecl ports have an upstream src repo in a version control
system
- Move the port with a prefix name php-, update the MASTER_SITES and
use USES=php:ext
- Update the reverse dependencies
- If you are a non-committer feel free to reach out for necessary
assistance
(cherry picked from commit 1175e000303d7a5fdc30d013b82dd3d62b1f2a63)
security/barnyard2*: Mark DEPRECATED
- Upstream has archived the project in 2024
- This only works with snort2 and support of snort2 is being silently
dropped by upstream in favor of snort3
- Set EXPIRATION_DATE 2026-08-07
(cherry picked from commit 3f5ab56aeb6c9d753911b6f4c2c65560a0b3118e)
Mk/bsd.sites.mk: Remove stale mirrors
razaoinfo.dl.sourceforge.net has been decommissioned so remove the stale
entry
Approved by: portmgr (blanket)
(cherry picked from commit 8302b59d0a379bc2215b85f935d7fca4849e85fa)
net-mgmt/flow-tools: Update version 2ca53f5=>039acc4
- As this is a fork generate the necessary patches to remove the
dependency on 2to3 which is being removed from python313 oneward
Reported by: des
(cherry picked from commit 8befd7e5cd6f4984b6e827a32ae28f0ac07069ba)
[clang][docs] Fix coro_await_elidable bullet list rendering
Add the blank line required before the reStructuredText bullet list and indent the continuation line for the second item. Without this, the generated AttributeReference page does not render the coro_await_elidable safe-elide-context bullets correctly.
Revert "[Clang] support friend declarations with a dependent nested-name-specifier" (#208302)
Reverts llvm/llvm-project#191268
---
Revert dependent friend support due to a crash in access checking
https://github.com/llvm/llvm-project/issues/208290
[flang][OpenACC] Fix host fallback for acc.atomic.update (#207597)
The host fallback for `acc.atomic.update` only processed the first
operation in the region and used its result for the store, ignoring the
remaining operations and the `acc.yield` terminator. This generated
invalid IR when the region contained multiple operations.
1.Fix this by cloning all operations in the region and using the operand
of `acc.yield` as the final result to store.
2.Add tests for atomic read, write, update, and capture operations to
cover the host fallback path.
---------
Co-authored-by: ES3Q <ES3Q at QQ.COM>
linux: Fix sockopt copyout
The Linux getsockopt did not check the size of the provided buffer when
copying out the value, leading to buffer overflows (e.g., for TCP_INFO).
Fix is to use the smaller of the option value size and the provided
buffer.
(cherry picked from commit 471fdd91d9156aeab026dc420fb97d97be872d65)
[VPlan] Model initial header mask as region value. (#196199)
Introduce a new VPRegionValue for the header mask, managed by loop
regions similar to the canonical IV.
The main benefit is we do not need to materialize the mask early and it
is trivial to find (no more need for patterns hard-coded in findHeaderMask).
It is currently materialized before computing costs, as we compute costs
for part of it currently.
PR: https://github.com/llvm/llvm-project/pull/196199
Add SECURITY.md policy file
Add a basic SECURITY.md file to establish the repository's security
reporting policy. Includes guidance for reporting security issues
and what to expect.
Reviewed-by: Allan Jude <allan at klarasystems.com>
Reviewed-by: George Melikov <mail at gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18766
devel/perfetto: new port
thj@ and adrian@ did all of the underlying FreeBSD-specific
porting work and testing. I helped with creating the Ports
tree Makefile.
Co-authored-by: Tom Jones <thj at FreeBSD.org>
Co-authored-by: Adrian Chadd <adrian at FreeBSD.org>
Differential Revision: https://reviews.freebsd.org/D56762