Page MenuHomeFreeBSD

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

Authored by jrtc27 on Sep 4 2023, 8:22 AM.
Tags
None
Referenced Files
F132091159: D41716.id126848.diff
Mon, Oct 13, 2:32 PM
Unknown Object (File)
Wed, Oct 8, 6:17 AM
Unknown Object (File)
Mon, Oct 6, 12:47 PM
Unknown Object (File)
Wed, Oct 1, 8:17 AM
Unknown Object (File)
Thu, Sep 25, 11:15 PM
Unknown Object (File)
Sep 8 2025, 2:26 PM
Unknown Object (File)
Sep 5 2025, 7:28 PM
Unknown Object (File)
Sep 5 2025, 4:54 PM
Subscribers

Details

Summary
[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

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable