diff options
| author | Eric Fiselier <eric@efcs.ca> | 2017-04-20 23:22:46 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2017-04-20 23:22:46 +0000 |
| commit | c41122546238c20729b870b4668c31c24a22f745 (patch) | |
| tree | a9334a747f54c54a0fc47206b6db11bea8308a17 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
| parent | 56be04284f84080ccc6026ad357a996123ce5db9 (diff) | |
| download | bcm5719-llvm-c41122546238c20729b870b4668c31c24a22f745.tar.gz bcm5719-llvm-c41122546238c20729b870b4668c31c24a22f745.zip | |
Fix ATOMIC_<TYPE>_LOCK_FREE macros on Windows.
Previously the ATOMIC_<TYPE>_LOCK_FREE macros were implemented
using __GCC_ATOMIC_<TYPE>_LOCK_FREE but GCC specific macros
are defined when -fms-compatibility is specified.
To avoid this Libc++ now tries to use the newly added
__CLANG_ATOMIC_<TYPE>_LOCK_FREE macros instead, and only falls
back to the GCC versions when the Clang ones aren't available.
llvm-svn: 300920
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions

