HomeFreeBSD

Merge commit 4bb2416d42eb from llvm-project (by Jessica Clarke):

Description

Merge commit 4bb2416d42eb from llvm-project (by Jessica Clarke):

[builtins][AArch64] Implement _sync out-of-line atomics

Whilst Clang does not use these, recent GCC does, and so on systems such
as FreeBSD that wish to use compiler-rt as the system runtime library
but also wish to support building programs with GCC these interfaces are
needed.

This is a light adaptation of the code committed to GCC by Sebastian Pop
<spop@amazon.com>, relicensed with permission for use in compiler-rt.

Fixes https://github.com/llvm/llvm-project/issues/63483

Reviewed By: sebpop, MaskRay

Differential Revision: https://reviews.llvm.org/D158536

Reviewed by: dim
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D41716

(cherry picked from commit 8524dc53fd4c6b79d75b82cb82f3ac72fc25e85f)

Details

Provenance
jrtc27Authored on Sep 4 2023, 8:33 AM
Reviewer
dim
Differential Revision
D41716: Merge commit 4bb2416d42eb from llvm-project (by Jessica Clarke):
Parents
rG9c6710cd2453: uefi(8): Refer to a related manual page
Branches
Unknown
Tags
Unknown