diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-29 05:24:35 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-29 05:24:35 +0000 |
| commit | 10a5b387cc5c4856356b7a3354f053895a275d01 (patch) | |
| tree | ec4720cee869c1a1bccdac8c5f288a7f52ca3bd5 /clang/Basic/FileManager.cpp | |
| parent | 9561a0b3e7d65522086d703c170e6b0e41edf02a (diff) | |
| download | bcm5719-llvm-10a5b387cc5c4856356b7a3354f053895a275d01.tar.gz bcm5719-llvm-10a5b387cc5c4856356b7a3354f053895a275d01.zip | |
Add support for target-specific builtins, including detecting nonportability
of source code. For example:
$ clang INPUTS/carbon_h.c -arch i386 -arch ppc
prints:
...
/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/mmintrin.h:51:3: note: use of a target-specific builtin function, source is not 'portable'
__builtin_ia32_emms ();
^
because carbon.h pulls in xmmintrin.h, and __builtin_ia32_emms isn't a builtin on ppc.
Though clang now supports target-specific builtins, the full table isn't implemented yet.
llvm-svn: 39328
Diffstat (limited to 'clang/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions

