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
Unknown Object (File)
Mon, Oct 28, 10:54 PM
Unknown Object (File)
Thu, Oct 17, 12:27 AM
Unknown Object (File)
Sun, Oct 13, 4:02 PM
Unknown Object (File)
Sun, Oct 13, 4:02 PM
Unknown Object (File)
Sun, Oct 13, 4:01 PM
Unknown Object (File)
Sun, Oct 13, 3:54 PM
Unknown Object (File)
Sep 30 2024, 4:17 PM
Unknown Object (File)
Sep 28 2024, 10:06 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