summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/atomic.c
Commit message (Collapse)AuthorAgeFilesLines
* builtins: spell inline as __inlineSaleem Abdulrasool2015-10-101-7/+7
| | | | | | | | | __inline is a vendor specific spelling for inline. clang and gcc treat it the same as inline, and is available in MSVC 2013 which does not implement C99 (VS2015 supports the inline keyword though). This will allow us to build the builtins using MSVC. llvm-svn: 249953
* builtins: rely on the compiler for user label prefixSaleem Abdulrasool2014-12-191-12/+6
| | | | | | | | | | clang does not like the definition of builtins. In order to work around this, we use a SUN CC to redefine the generated name. However, this requires that we account for the user label prefix. Rather than hard coding that into the file, rely on the compiler to tell us the information and use the preprocessor to generate the name as we do in the assembly routines. NFC. llvm-svn: 224597
* Move original compiler-rt functions (libgcc replacement) to lib/builtins ↵Alexey Samsonov2014-02-141-0/+337
directory llvm-svn: 201393
OpenPOWER on IntegriCloud