[PATCH] compiler-rt darwin macros

Alexey Samsonov samsonov at google.com
Mon May 27 01:00:05 PDT 2013


Re the patch to lib/interception/interception.h:

lib/interception is currently used only in sanitizers, and they are not
expected to work on OS X 10.4.
I think we add a compile flag -mmacosx-version-min=10.5 when compiling
these files, doesn't it work for you?


On Fri, May 24, 2013 at 10:47 PM, David Fang <fang at csl.cornell.edu> wrote:

> Hi,
>
> I thought I'd share a little patch I needed for the latest compiler-rt to
> build on powerpc-darwin8, that might be needed on other darwin platforms.
>
> The first part of the patch adds a missing NOT_HERE_IN_10_8_AND_EARLIER
> macro for the __ppc__ case.
>
> The second part provides an empty macro for __DARWIN_ALIAS_C on older
> systems that didn't define it in <sys/cdefs.h>.
>
> Any interest in either piece?  (I can commit after approval.)
>
> Fang
>
> --
> David Fang
> http://www.csl.cornell.edu/~**fang/ <http://www.csl.cornell.edu/~fang/>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>


-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130527/f16769e7/attachment.html>


More information about the llvm-commits mailing list