Some clang versions (< 6.0) do not inline the atomic builtin functions
leaving unresolved references to __atomic_load_8 and so on (seems to
be mostly 64-bit atomics on 32-bit platforms).
I tried without success to use some cmake magic to detect when that
would be the case, and decided to fall back to unconditionally
linking libatomic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM