about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorPaul Murphy <murp@redhat.com>2025-07-31 17:25:00 -0400
committerPaul Murphy <murp@redhat.com>2025-08-05 10:35:13 -0500
commit6936bb975a50bf3c575d5642018ce19c58dcacf1 (patch)
treefe9bfc67dfe974322332d6f6f98798cf0ab4a31a /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent3b50253b57b130fdcef167fc0c03a9a19210fae2 (diff)
downloadrust-6936bb975a50bf3c575d5642018ce19c58dcacf1.tar.gz
rust-6936bb975a50bf3c575d5642018ce19c58dcacf1.zip
Dynamically enable LSE for aarch64 rust provided intrinsics
Create a private module to hold the bootstrap code needed enable LSE
at startup on aarch64-*-linux-* targets when rust implements the
intrinsics.

This is a bit more heavyweight than compiler-rt's LSE initialization,
but has the benefit of initializing the aarch64 cpu feature detection
for other uses.

Using the rust initialization code does use some atomic operations,
that's OK. Mixing LSE and non-LSE operations should work while the
update flag propagates.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions