[cfe-commits] r163464 - /cfe/trunk/lib/Basic/Targets.cpp

Chandler Carruth chandlerc at google.com
Sat Sep 8 01:12:53 PDT 2012


On Sat, Sep 8, 2012 at 1:08 AM, Anton Korobeynikov <asl at math.spbu.ru> wrote:

> Author: asl
> Date: Sat Sep  8 03:08:27 2012
> New Revision: 163464
>
> URL: http://llvm.org/viewvc/llvm-project?rev=163464&view=rev
> Log:
> Provide some ACLE C defines. This should fix PR13796
>

Is this something we can add to our regression test suite?

Particularly:


> -
> +    Builder.defineMacro("__ARM_ARCH", CPUArch.substr(0, 1));
> +    StringRef CPUProfile = getCPUProfile(CPU);
> +    if (!CPUProfile.empty())
> +      Builder.defineMacro("__ARM_ARCH_PROFILE", CPUProfile);
>

We should definitely check for the newly defined macros.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120908/9bcb7a18/attachment.html>


More information about the cfe-commits mailing list