summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-20 23:22:46 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-20 23:22:46 +0000
commitc41122546238c20729b870b4668c31c24a22f745 (patch)
treea9334a747f54c54a0fc47206b6db11bea8308a17 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent56be04284f84080ccc6026ad357a996123ce5db9 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud