Normalize file path to fix problems with different folder separators. (#215225)
We have two issues reported by users:
1. Inconsistent file path separators in isa disassembly for line
correlation
2. --substitute-path silently fails for binaries compiled on Windows
when analyzed on Linux
Normalizing the file path in LineInfo is sorting both problems. As the
path is normalized immediately after symbolization, following redundant
normalization calls are removed. Tests are adjusted to accept either /
or \ depending on the host. Additional input is created to test point 2.
[IPSCCP] Do not delete non-replaceable constants during globals cleanup (#220854)
Following up on #160083, a tracked global's value may be inferred to be
a constant which is however not replaceable, due to different pointer
provenance. Such a substitution is already prevented by
`tryToReplaceWithConstant`. Ensure these globals, and their users, are
not deleted when this happens to be the case.
Fixes: https://github.com/llvm/llvm-project/issues/220793.
jj: updated to 0.45.0
0.45.0
Release highlights
A new jj converge command was added to help automatically resolve divergent
commits by combining them appropriately.
Breaking changes
jj config {edit,set,unset} --user now targets the first loaded user
configuration file (e.g. ~/.config/jj/config.toml or the first file in
conf.d/) instead of prompting interactively when multiple files exist.
Use --file <PATH> to target a specific config file.
jj git import in non-colocated repositories no longer imports commits from a
detached Git HEAD branch.
New features
[19 lines not shown]
[ARM] Name caller and callee in unsupported hard-float calling convention error message (#217693)
Add a clang test for the diagnostic output covering cases with and
without debuginfo.
[libc] Reject binary strings in inet_addr and inet_aton (#220556)
The current version of POSIX does not permit inet_addr to accept these
strings, and glibc does not either. inet_aton is not present in POSIX,
but this matches glibc and the intent of this function being a safer
version of inet_addr.
While in there, update the internal wrapper to use cpp::string_view.
Fixes #219133.
multimedia/sfml3: change PKGNAME to SFML3
This disambiguates the package from the existing SMFL package from
multimedia/sfml2. I should have reviewed this whole patch set better.
Reported by: antonie
[OpenMPOpt] Preserve debug locations when emitting barriers. (#220554)
One of the OpenMPIRBuilder::LocationDescription constructors takes an
insertion point alone and leaves the debug location default-constructed.
It is not explicit, so passing a bare insertion point to a builder entry
point converts through it silently and everything the callee emits comes
out without a !dbg.
That becomes a hard error once a runtime built with debug info is linked
in, because the verifier requires an inlinable call inside a function
with debug info to have a location. Otherwise the link fails with
inlinable function call in a function with debug info must have a !dbg
location
%omp_global_thread_num1 = call i32 @__kmpc_global_thread_num(ptr @4)
inlinable function call in a function with debug info must have a !dbg
location
call void @__kmpc_barrier(ptr @3, i32 %omp_global_thread_num1)
error: linked module is broken!
[23 lines not shown]
[libc++] Replace __uninitialized_allocator_copy with __uninitialized_allocator_copy_n (#219445)
We can simplify our code by using an iterator/size version instead of
the iterator pair.
This was originally part of #214132. However, that patch has a difficult
to track down performance issue. I'm splitting it up to make the search
easier.
py-ninja: updated to 1.13.2
1.13.2
chore: adopt PEP-639 license metadata format
chore: pytest log_level is better than log_cli_level
ci: build with clang instead of gcc
ci: secure GitHub Actions workflows
chore(ci): use manylinux clang install script
Added note about ninja_syntax names being in the ninja namespace.
fix: force BUILD_TESTING to inherit RUN_NINJA_TEST value
Update to Ninja 1.13.2.g7659b.kitware.jobserver-pipe-1
[LLVM][CodeGen][SVE] Improve code quality of predicate vector extracts. (#220254)
When extracting a fixed-length vector from a scalable boolean vector, it
is better to promote the scalable vector to i8s and extract from that
because it makes the resulting DAG mostly legal with the hope the
truncation of the result will be eliminated.
NOTE: CodeGenDAGPatterns has been changed because the original code was
too strict. Before this change a fixed-length vector was not considered
a valid subvector of a scalable vector. This erronously removed all
scalable vector MVTs to the point that type checking was disabled for
some operations because the matcher assumed only a single MVT was legal.
The net result of this is that NEON only patterns matched against
scalable vector inputs and thus generated bad code.
py-notebook: updated to 7.6.2
Jupyter Notebook 7.6 is based on JupyterLab 4.6, and includes a number of new
features, bug fixes, and enhancements for extension developers. This release is
compatible with extensions supporting JupyterLab 4.0. Extension authors are
recommended to consult the [Extension Migration
Guide](https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#jupyterlab-4-5-to-4-6)
which lists deprecations and changes to the public API.
[flang-rt] Fix missing omp_lib symbols in static runtime archive (#220821)
When both FLANG_RT_ENABLE_STATIC and FLANG_RT_ENABLE_SHARED are enabled,
runtime sources are built through an intermediate object library. Nested
$<TARGET_OBJECTS:libomp-mod> in that object library does not reliably
end up in libflang_rt.runtime.a,so omp_lib Fortran module symbols are
missing from the static archive. This causes undefined reference errors
for symbols defined in omp_lib_impl.F90 file.
Attached libomp-mod object files directly to flang_rt.runtime.static and
flang_rt.runtime.shared instead of routing them through
obj.flang_rt.runtime.
Assisted by Cursor to find the root cause.
[flang][OpenMP] Fix integer kind handling for omp_lib.h entry points (#218836)
Replace bind(c) interface definitions for OpenMP/KMP routines that take
integer arguments with external declarations in omp_lib.h. The strict
interfaces caused Flang to fail intrinsic resolution when callers passed
integer arguments whose kind differed from omp_integer_kind.
Added a regression test that includes omp_lib.h and exercises these
routines with integer kinds 1, 2, 4, and 8.
py-hanko: updated to 0.37.0
0.37.0
Breaking changes
requests was relegated to the optional dependency group [requests] due to the change in default fetching backends (see below).
Deprecate fallback to OS trust list through oscrypto.
Remove long-standing deprecated APIs
Signer.sign, Signer.sign_prescribed_attributes, Signer.sign_general_data
validate_cms_signature, validate_detached_cms
PdfSigner.digest_doc_for_signing
open_pkcs11_session(token_label=...)
find_cms_attribute
The HTTPTimeStamper reshuffle (see below) should not be a breaking change for most users, but code that relies on subclassing these objects will likely need some attention.
Dependency changes
[20 lines not shown]
interfaces: exclude VLAN devices from virtual queue; closes #10810
They were handled properly in dhcp6c cases later on, but that
changed when they became visible to through the device hook.
This is a direct commit to stable/26.7 since the master code
received a different fix along with assorted refactoring:
d5f3ea33ee7e5bde689c982fb7f858bab76b5025
net/freeipa-client: make host enrollment work on FreeBSD
This update make client enrollment against a net/freeipa-server
working.
PR: 297487
Approved by: kiwi (maintainer)