[llvm-ir2vec] Refactoring the ir2vec python bindings testing (#180664)
This is order to make it more thorough and cover the API and possible
exceptions better
tail(1): Almost sync with FreeBSD
The most important change is that the '-F' flag now supports files that
are not yet exist; it will persist in trying to open the files instead
of giving up. This behavior is the same as GNU tail.
Another major fix is that "tail -f" now works on non-local filesystems.
Things excluded from the sync:
- long options
- style changes
- capability/capsicum support
- expand_number(3) support (our libutil(3) doesn't have it)
In addition, improve the BOOTSTRAPPING handling a bit. The program
simply exits when -f/-F is specified.
tail(1): Fix '-r' (reverse) to work on pseudo filesystems
Pseudo filesystems (e.g., procfs) advertize a zero file size. Fix
reverse() to handle such a case so that '-r' works on pseudo
filesystems.
lagg.4: Improve the wired-wireless failover example
Adjust the failover example to change the MAC address of the *wired*
device instead of the *wireless* device, because some common wireless
devices do not support to change the MAC address.
Obtained-from: FreeBSD
security/gvm: Update to 26.19.0
datavases/pg-gvm: Update to 22.6.15
security/gsa: Update to 26.14.0 (Only amd64 and aarch64)
security/gsad: Update to 24.16.0
security/openvas: Update to 23.41.5
security/gvmd: Update to 26.19.0
security/gvm-libs: 22.38.0
security/py-greenbone-feed-sync: Update to 25.2.0
security/py-gvm-tools: Update to 25.4.8
security/py-ospd-openvas: Update to 22.10.1
security/py-python-gvm: Update to 26.11.0
[clang][OpenMP] Parse/Sema for OpenMP 6.0 declare_target 'local' clause (#186281)
Parse and perform semantic checks for declare_target 'local' clause.
When compiling for device offloading, generate a warning that 'local' is
not yet fully supported. On the host, 'local' is/will be a no-op, so no
warning is generated.
NOTE: The minimal CodeGen changes allow 'local' to flow through as
equivalent to the 'enter' clause after warning is generated.
Testing:
- Updated messages and ast tests for declare target/declare_target
- ninja check-all.
[AMDGPU] Add s_sethalt to hasUnwantedEffectsWhenEXECEmpty (#186745)
We don't want to execute s_sethalt when all lanes want to skip it.
Co-authored-by: Junda Liu <Junda.Liu at amd.com>
zfs: reject all mount op flags for now
- our logic in zfs_vfsops.c is inconsistent. sometimes it checks
uap->flags, sometimes vfsp->vfs_flag. (aka mnt_flag)
- our userland tools (zfs, mount_zfs) currently don't seem to have
a way to pass these flags anyway. (zmount in libzfs always passes
0 to both of mount(2) 'flags' argument and 'uap->flags'. although
it stores something in uap->mflag and uap->optptr, nothing uses
them. it doesn't even set MS_OPTIONSTR. we don't implement
MS_OPTIONSTR anyway.)
this commit simply rejects them for safety. as these operations have
never been implemented in NetBSD, it shouldn't have any impact to users.
maybe someday we should fix these, but i guess it involves some
ABI changes, which i'm not in a mood to do right now.
related to PR/60026https://gnats.netbsd.org/60026
uvm_mmap.c: fix overflow check
this is my best guess of the intention of the original code,
where "*addr + *size < *addr" seems always false because "*size" is 0.
[clang] Backport: use canonical arguments for checking function template constraints
Backport from #186889
This is a partial revert of #161671, restoring the original behaviour
where the canonical template arguments are used for function template
constraint checking in diagnostics.
This reverts the fix from #183010, which attempted to fix #182344
but it causes regressions. These regressions now have test cases
included.
The attempt at #183010 is flawed because in the general case we can't
check satisfaction for constraints which have unsubstituted template
arguments, even if they don't affect the canonical type (ie they are
purely
syntactical), because these types can still turn out to be invalid after
substitution.
[20 lines not shown]
[libclc][CMake] Use clang/llvm-ar on Windows (#186726)
When LLVM_TARGETS_TO_BUILD contains host target, runtime build sets
CMAKE_C_COMPILER to clang-cl on Windows.
Changes to fix build on Windows:
- libclc struggles to pass specific flags to clang-cl MSVC-like interface.
- compile flag handling will be consistent across all host systems.
- libclc build is cross-compilation for offloading targets.
[clang] Backport: use canonical arguments for checking function template constraints
Backport from #186889
This is a partial revert of #161671, restoring the original behaviour
where the canonical template arguments are used for function template
constraint checking in diagnostics.
This reverts the fix from #183010, which attempted to fix #182344
but it causes regressions. These regressions now have test cases
included.
The attempt at #183010 is flawed because in the general case we can't
check satisfaction for constraints which have unsubstituted template
arguments, even if they don't affect the canonical type (ie they are
purely
syntactical), because these types can still turn out to be invalid after
substitution.
[20 lines not shown]
[clang] use canonical arguments for checking function template constraints (#186889)
This is a partial revert of #161671, restoring the original behaviour
where the canonical template arguments are used for function template
constraint checking in diagnostics.
This reverts the fix from #183010, which attempted to fix #182344
but it causes regressions. These regressions now have test cases
included.
The attempt at #183010 is flawed because in the general case we can't
check satisfaction for constraints which have unsubstituted template
arguments, even if they don't affect the canonical type (ie they are
purely
syntactical), because these types can still turn out to be invalid after
substitution.
This is a problem when directly evaluating a concept specialization, but
it's not a problem with other template specializations because the
[18 lines not shown]