[cfe-commits] r164299 - in /cfe/trunk: lib/Basic/Targets.cpp test/Driver/darwin-asan-nofortify.c test/lit.cfg

Alexander Potapenko glider at google.com
Mon Sep 24 02:29:42 PDT 2012


On Fri, Sep 21, 2012 at 8:40 PM, Jordan Rose <jordan_rose at apple.com> wrote:
> ...or you could just write the test with an explicit triple. (For completeness, also a negative check for a non-Darwin triple.)
>
The triple seems not to affect the preprocessing stage and the
location of header files.
Thus checking for the triple to contain "darwin" assumes that nobody
will build for Darwin without the proper headers.
This is fine to filter out the cross-compiler case however.



More information about the cfe-commits mailing list