nanobsd: Avoid unnecessary subshell execution
Mimic c99bb5747f5e ("nanobsd: minor formatting cleanup") and cleanup
_create_code_slice(), somehow I missed it when rebasing.
No functional change intended.
Fixes: ecc039be7fdd ("nanobsd: Add a NO_ROOT build option")
MFC after: 3 days
nanobsd: Use NANO_DEF_{UNAME,GNAME}
Prefer to use NANO_DEF_UNAME and NANO_DEF_GNAME instead of a fixed
"root/wheel".
Fixes: 61ac7309c366 ("nanobsd: Add a provisional populate_part function")
MFC after: 3 days
makeman.lua: Update for src.conf in the src tree
Copy the text change from the shell makeman to makeman.lua.
Fixes: dd8c666d8b78 ("src.sys.mk: Support src.conf in SRCTOP")
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 2619d439fa860db734dbbf4b153c5ac9b15c7e49)
[Clang][AMDGPU] Add a Sema check for the imm argument of ` __builtin_amdgcn_s_setreg` (#176838)
Our backend cannot select the corresponding intrinsic if the imm
argument is not a `int16_t` or `uint16_t`, which is not really helpful.
security/xmlsec1: update to v1.3.9
This unbreaks libxml 2.15, where some pointer types went "const",
and the prior FreeBSD ports version of xmlsec1 wanted to error out
instead of seeing warnings (-Werror) and broke.
ChangeLog: https://www.aleksey.com/xmlsec/news.html
required for:
PR: 291316
(This builds with extant libxml2.14 and 2.15, so let's just commit this.)
Improve pwenc handling
Add a common pwenc_rename function that resets caches on
config upload parsing and other places where we replace the
pwenc file. This also ensures that we never have a partially-
written pwenc file (for example sent by remote HA node).
Reapply "[AMDGPU] Propagate alias information in AMDGPULowerKernelArguments." (#174977)
Emit `!noalias` and `!alias.scope` metadata for `noalias` kernel
arguments.
Fixes sanitizer issues in #161375.
---------
Co-authored-by: Leon Clark <leoclark at amd.com>
[Clang] Avoid crash when expression requirements are substitution failures (#176896)
Clang could assert in `clang::concepts::ExprRequirement::getExpr()` when
an expression requirement becomes a substitution failure during template
instantiation.
Substitution-failure `ExprRequirements` intentionally do not have an
associated expression. Calling `getExpr()` in this case violates the API
contract and triggers an assertion.
This occurred while checking requirements in `RequirementContainsError`
during `RequiresExpr` construction.
Guard `RequirementContainsError` against substitution-failure
`ExprRequirements` and avoid calling `getExpr()` in that case.
Fixes #176402
Fixes #115513
Fixes #130620
pf tests: give rules_counter:4G more time
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 8217075f9ecb12fa9a4cf746541b9d3e1dc57e79)
SystemZ: Remove override of insertSSPDeclarations
Remove __stack_chk_guard from the SystemZ system library.
Previously the availability was assumed to match
__stack_chk_fail, but these appear to be differen for SystemZ.
I'm assuming this isn't available for systemz based on the
existing behavior.
Once the runtime library does not add a SYSTEM_CHECK_GUARD
implementation the default will be a no-op if the symbol
isn't added to the system.
Also extend the test to make sure the declaration is not emitted.
Reland "[STLExtras] Add a template for detecting whether a type has an equality comparison operator" (#176893)
This PR is an attempt to reland
https://github.com/llvm/llvm-project/pull/176429.
It seems there's a difference between Clang and MSVC's template
handling, resulting in a difference in the behaviour of is_detected with
private class members. [This](https://godbolt.org/z/x61YdEz44) Godbolt
link demonstrates the difference. This was causing one of the test cases
I made, which was checking that it didn't pick up a private equality
comparison operator, to fail when compiled using MSVC.
In this PR I have just removed that test case.
InstCombine: Filter reported classes from SimplifyDemandedFPClass (#176885)
When reporting the known class result, apply the demanded mask to
filter out rejected cases. This can simplify known-source checks
further up the call stack. There are a few improved test diffs. This
does not yet try to clean up now redundant result checks.
Do an initial brute-force scope_exit to ensure these are cleared.
Later we can do a better job by pushing this into the individual
instruction cases.