summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/module.map
Commit message (Collapse)AuthorAgeFilesLines
* Rename lib/Headers/module.map to module.modulemapBen Langmuir2014-04-171-156/+0
| | | | | | Don't install a file using the legacy spelling. llvm-svn: 206431
* Even in a modules world, people will depend on the weird xmmintrin.h -> ↵Douglas Gregor2013-06-071-0/+1
| | | | | | emmintrin.h forwarding. llvm-svn: 183585
* Add arm_neon.h to the builtin intrinsics module map.Douglas Gregor2013-05-201-0/+10
| | | | | | Fixes <rdar://problem/13933913>. llvm-svn: 182268
* Add tests that build modules for our builtin headers, and fix two buglets ↵Richard Smith2013-04-041-0/+1
| | | | | | exposed by doing so. llvm-svn: 178736
* [lib/Headers] Break the module import cycle between _Builtin_intrinsics.sse ↵Argyrios Kyrtzidis2013-03-271-1/+0
| | | | | | | | | | | | | | | | | and _Builtin_intrinsics.sse2 Module "sse" implicitly exports module "sse2". This is bad because we also have module "sse2" export module "sse" (as intended) so we end up with a cycle in the module import graph: 1. sse2 -> (also imports) sse 2. sse -> (also imports) sse2 To eliminate the cycle remove 2.; importing module "sse2" will also import module "sse", but just importing module "sse" will not also import module "sse2". rdar://13240552 llvm-svn: 178117
* Split the instrinsic header wmmintrin.h into AES and PCLMUL parts, soDouglas Gregor2012-11-051-0/+15
| | | | | | that we can model them as separate submodules. llvm-svn: 167420
* Fix module map for SSE4a builtinsDouglas Gregor2012-11-051-1/+1
| | | | llvm-svn: 167399
* Make cpuid.h actually work with -std=c99 <rdar://problem/12552716>.Douglas Gregor2012-11-051-0/+22
| | | | | | | | While we're here, extend the module map to cover most of the newly-added instrinsic headers. Only wmmintrin.h is missing, because it needs to be split into AES/PCLMUL subheaders (as a separate commit). llvm-svn: 167398
* Back out my heinous hack that tricked the module generation mechanismDouglas Gregor2012-02-021-46/+7
| | | | | | | | | | | | | | | | | | | | into using non-absolute system includes (<foo>)... ... and introduce another hack that is simultaneously more heineous and more effective. We whitelist Clang-supplied headers that augment or override system headers (such as float.h, stdarg.h, and tgmath.h). For these headers, Clang does not provide a module mapping. Instead, a system-supplied module map can refer to these headers in a system module, and Clang will look both in its own include directory and wherever the system-supplied module map suggests, then adds either or both headers. The end result is that Clang-supplied headers get merged into the system-supplied module for the C standard library. As a drive-by, fix up a few dependencies in the _Builtin_instrinsics module. llvm-svn: 149611
* Split compiler builtin module into "stdlib" builtins and "intrinsic"Douglas Gregor2012-01-311-12/+17
| | | | | | | | builds, and bring mm_alloc.h into the fold. Start playing some tricks with these builtin modules to mirror the include_next tricks that the headers already perform. llvm-svn: 149434
* Remove tgmath.h from the module map for now, because it currently causes aDouglas Gregor2012-01-301-4/+1
| | | | | | | cyclic module dependency due to its inclusion of math.h and complex.h. I'll take another shot at it later. llvm-svn: 149283
* Fix typo spotted by Sebastian. Thanks!Douglas Gregor2012-01-301-1/+1
| | | | llvm-svn: 149257
* Introduce TargetInfo::hasFeature() to query various feature names inDouglas Gregor2012-01-301-1/+107
| | | | | | | | | | | | | | each of the targets. Use this for module requirements, so that we can pin the availability of certain modules to certain target features, e.g., provide a module for xmmintrin.h only when SSE support is available. Use these feature names to provide a nearly-complete module map for Clang's built-in headers. Only mm_alloc.h and unwind.h are missing, and those two are fairly specialized at the moment. Finishes <rdar://problem/10710060>. llvm-svn: 149227
* Introduce a module map for (some of) the compiler-suppliedDouglas Gregor2012-01-291-0/+39
headers. The remaining headers require more sophisticated requirements; they'll be handled separately. Part of <rdar://problem/10710060>. llvm-svn: 149206
OpenPOWER on IntegriCloud