Bug#652278: clang does not pull required header files

Gabriel Corona gabriel.corona at enst-bretagne.fr
Tue Dec 20 00:59:21 UTC 2011


> will it happen ?

I guess it could. The errors

/usr/lib/gcc/x86_64-linux-gnu/4.6/include/xmmintrin.h:102:19: error: use of undeclared identifier '__builtin_ia32_addss'
     return (__m128) __builtin_ia32_addss ((__v4sf)__A, (__v4sf)__B);
[...]

happen at the semantic analysis phase (lib/Sema) and not the
the code generation phase (lib/CodeGen) (which is not included in libclang).

An IDE using libclang for semantic analysis could fail because of this.

-- 
Gabriel







More information about the Pkg-llvm-team mailing list