Go to file
Oscar Fuentes 8b6d88d2f8 Fixes the Atomic implementation if compiled by MSVC compiler.
sys::cas_flag should be long on this platform, InterlockedAdd() is
defined only for the Itanium architecture (according to MSDN).

Patch by Michael Beck!

llvm-svn: 90748
2009-12-07 05:29:59 +00:00
clang Erm, revert for the moment; I didn't test this as thoroughly as I should have 2009-12-07 04:45:50 +00:00
compiler-rt Use __USER_LABEL_PREFIX__ so that we don't add a _ prefix on ELF. 2009-11-09 14:27:04 +00:00
llvm Fixes the Atomic implementation if compiled by MSVC compiler. 2009-12-07 05:29:59 +00:00