man pages: provide some description for extended errors
, related functions, and the EXTERROR_VERBOSE environment variable.
Reviewed by: emaste, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54380
exterror: Add EXTERROR_VERBOSE env variable to control verbosity
If the variable is set and the process is not suid, __uexterr_format(),
used by err(3), prints errno/category/source line/pX always, not only
when there is no kernel message provided.
Requested by: mckusick
Reviewed by: emaste, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54380
exterr_test: loosen the error string pattern
After addition of the prot and max_prot values, the old error substring
no longer satisfy the check.
Reviewed by: emaste, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54380
exterror: add support for the format specifiers in the extended error msg
Note that we trust kernel code to only request the printout of integer
types, and use the 'j' modifier always.
Reviewed by: emaste, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54380
exterr: in verbose mode, print the source file name
Reviewed by: emaste, mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54380
Add a script to auto-generate mapping from exterr category to source file
Reviewed by: emaste, mkusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54380
rust192: use the NetBSD/riscv64 file which passes libc self-tests.
Also change how NetBSD defines pthread_spin_t, use __pthread_spin_t
which is typically arch-defined via __cpu_simple_lock_nv_t.
[CMake] Error when specifying pstl in LLVM_ENABLE_PROJECTS
f59d270867ccd4f8f34b32e7f144519df332f4d2 originally added this logic to
pacify buildbots, particularly the premerge-monolithic-linux bot. This
was fixed soon after the fact in
https://github.com/llvm/llvm-zorg/pull/485, and the premerge bots are
only connected to staging right now using the upstream scripts anyways.
[VPlan] Handle min/max intrinsics in getSCEVExprForVPValue (NFCI)
Use m_Intrinsic to handle min/max intrinsics in getSCEVExprForVPValue.
This also extends Argument_match and IntrinsicID_match to VPInstruction
for completeness, and unifies the handling to avoid looking up functions
from the underlying IR instruction.
Tested via the VPlan-based cost-model, but same costs should be
computed.
As part of the extension, fix a bug in Argument_match that had an
incorrect offset for the operands of VPReplicateRecipe; the function is
the last argument.