about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-07-21 16:20:00 +0200
committerNikita Popov <npopov@redhat.com>2022-07-22 10:54:39 +0200
commit75146102197c7f35e6c38cb402b2bc1065858c54 (patch)
tree99e38b8dab86f531be5a835c894f6d328771e9e5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent96c2df810b0b681fee63cae11ca63844792b6190 (diff)
downloadrust-75146102197c7f35e6c38cb402b2bc1065858c54.tar.gz
rust-75146102197c7f35e6c38cb402b2bc1065858c54.zip
Mark atomics as unsupported on thumbv6m
The thumbv6m target does not support atomics. Historically, LLVM
had a bug where atomic load/stores for this target were emitted
as plain load/stores rather than as libatomic calls. This was
fixed in https://reviews.llvm.org/D120026, which will be part of
LLVM 15. As we require that "atomic support" does not use libatomic,
we need to indicate that this target does not have native atomics.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions