1 //===-- sync_synchronize - Implement memory barrier * ----------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "../assembly.h"
13 // When compiling a use of the gcc built-in __sync_synchronize() in thumb1 mode
14 // the compiler may emit a call to __sync_synchronize.
15 // On Darwin the implementation jumps to an OS supplied function named
25 DEFINE_COMPILERRT_PRIVATE_FUNCTION(__sync_synchronize)
31 // tell linker it can break up file at label boundaries
32 .subsections_via_symbols