[LLVMdev] [PATCH] Linux support for compiler-rt's BlocksRuntime

Bobby Powers bobbypowers at gmail.com
Sat Sep 12 09:04:42 PDT 2009


I've reattached the patch to runtime.c, this time as output from svn
instead of git.  As the original git commit noted, it does the
following:

define OSAtomicCompareAndSwap(Long|Int) for non-Mac/Win32 systems

if neither TARGET_OS_MAC or TARGET_OS_WINDOWS are defined, check to
see if GCC atomic built-ins are available (and use them if they are).

yours,
Bobby

On Sat, Sep 12, 2009 at 3:24 AM, Bobby Powers <bobbypowers at gmail.com> wrote:
> Hi Folks,
>
> The attached patches gets the Blocks runtime built and installed on my
> Linux system.  Let me know if the patches are okay as is, or what I
> need to do to get them merged into compiler-rt.  Thanks!
>
> yours,
> Bobby Powers
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc_atomic_ops.patch
Type: text/x-patch
Size: 1788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090912/d2ca6907/attachment.bin>


More information about the llvm-dev mailing list