[LIT] Use forward slashes in substitutions when LLVM_WINDOWS_PREFER_FORWARD_SLASH is set (#179865)
When building with `-DLLVM_WINDOWS_PREFER_FORWARD_SLASH=ON`, tools like
lld output paths with forward slashes on Windows. However, lit's default
substitutions (`%t`, `%p`) typically use backslashes on Windows, causing
FileCheck failures in tests that strictly match path separators.
This patch propagates the `LLVM_WINDOWS_PREFER_FORWARD_SLASH` build flag
to llvm-lit via `builtin_parameters`. It also updates lit's TestRunner
to respect the 'use_normalized_slashes' parameter. When enabled, lit
normalizes paths in substitutions to use forward slashes, ensuring that
test expectations align with the tool output.
With this fix, the number of failed tests with
`-DLLVM_WINDOWS_PREFER_FORWARD_SLASH=ON` changes as follow:
- The total number of failed tests: 303 -> 168
- Break down:
- `Builtins-i386-windows` tests: 99 -> 0
[9 lines not shown]
games/vcmi: update the port to bugfix version 1.7.3
- Previous version had been skipped, prone to various crashes
- Discord integration cannot be enabled ATM due to PR 276265
Reported by: portscout
Only build USB-related modules if MK_USB != no
This change moves the thunderbolt module and other USB modules under a
MK_USB != no conditional to ensure that users not desiring USB support
can easily build systems without USB-specific drivers using this knob.
MFC after: 1 week
Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D55576
acpi: build dev/acpi_support/acpi_wmi_if.m on ARM64
Per Wikipedia, ACPI WMI support is available on all x86* platforms
and ARM platforms. Add the source to `files.arm64` so code that relies
on its headers (thunderbolt(4) for instance), can be built on ARM64.
MFC after: 1 month
Reviewed By: andrew
Differential Revision: https://reviews.freebsd.org/D55535
14.4/relnotes: Doc section is updated
Information about man page changes added,
man pages are sorted by section number, name.
Reviewed by: ziaee
Approved by: ziaee
Differential Revision: https://reviews.freebsd.org/D55618
[RISCV] Extends RISCVMoveMerger to merge GPRPairs independent of even/odd pair instruction order. (#183657)
This PR addresses post-commit reviews in #182416
Previously, `RISCVMoveMerger` only identified and merged 32-bit moves
into a 64-bit GPRPair move if the even-indexed register most appeared
before the odd-index register move.
This patch extends the pass by disregarding the order of even/odd-index
pair.
Remove CRYPTO options from man page
Since we do not build the code with CRYPTO defined, documenting
the CRYPTO options (pretending that they might work) in the man
page is misleading at best.
Rather than removing the text for the options completely, include
it conditioned on the C *roff number register being > 0 (and define
it to be 0 so the formatters don't format the CRYPTO sections of
the man page).
Add a comment to the Makefile indicating that if the commented
out section of it which would enable building with CRYPTO is
ever re-enabled, to also change the init of the C number register
in nc.1 from 0 to 1, so the options will return to the manual.
Clean up code, NFCI.
Add the /* $NetBSD$ */ header line, which wasn't added
when this was originally imported (NetBSD __RCSID was).
Move more of the CRYPTO related code into #ifdef CRYPTO
than was done before (global var decls, etc).
The -e option is CRYPTO related, does nothing without
the CRYPTO code, so move it out of the regular options,
retaining it only with CRYPTO.
The V option however (which was included with the CRYPTO
options in the getopts() arg string) is not CRYPTO related,
it is OpenBSD, and (when building for OpenBSD) would apply
to either CRYPTO or not. Fix that (though it makes no
difference when we exclude both CRYPTO & OpenBSD options).
Don't do run time tests that can never be relevant (like
[12 lines not shown]
In tzpath_ok(), also reject a path ending in "/..". This replaces
strstr() with a loop that matches "/../" in the name as well as
"/.." at the end. OK deraadt@
[OpenMP][clang] Indirect and Virtual function call mapping from host to device (#159857)
This patch implements the CodeGen logic for calling __llvm_omp_indirect_call_lookup
on the device when an indirect function call or a virtual function call is made
within an OpenMP target region.
---------
Co-authored-by: Youngsuk Kim
girara & zathura: update buildlinking to match current state
gitara had an SO major bump, so at minimum its ABI_DEPENDS needs
bumping. It also no longer requires GTK3, that moved to zathura, so
reflect it there instead.
No revbumps are needed, since all the dependent packages were updated
to new versions anyway. Ride those updates from earlier today.