r199367 - MachO: use *-*-*-macho for MachO embedded targets.

Eric Christopher echristo at gmail.com
Thu Jan 16 15:20:43 PST 2014


>
>
> This commit appropriates the existing "MachO" environment for the
> purpose instead.
>
>
Seems pretty reasonable except...

================================================
> --- cfe/trunk/test/Preprocessor/macho-embedded-predefines.c (added)
> +++ cfe/trunk/test/Preprocessor/macho-embedded-predefines.c Thu Jan 16
> 02:48:16 2014
> @@ -0,0 +1,5 @@
> +// RUN: %clang_cc1 -E -dM -triple thumbv7m-apple-unknown-macho %s |
> FileCheck %s
> +
> +// CHECK: #define __APPLE_CC__
> +// CHECK: #define __APPLE__
> +// CHECK-NOT: #define __MACH__
>
>
This seems wrong/odd. You've got something that is "mach-o" and yet doesn't
define Mach?

-eric


>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140116/d84a7055/attachment.html>


More information about the cfe-commits mailing list