llvm-project
08873be2 - [Support] Add missing LLVM_ABI annotations in Atomic.h (#152768)

Commit
195 days ago
[Support] Add missing LLVM_ABI annotations in Atomic.h (#152768) This fixes building LLD for mingw targets with LLVM_BUILD_LLVM_DYLIB_VIS=ON with Clang. This has been missed for other platforms, as those platforms have LLVM_THREADING_USE_STD_CALL_ONCE=1 in llvm/Support/Threading.h, while it ends up set to 0, using CompareAndSwap() and MemoryFence() instead, for mingw targets.
Author
Parents
Loading