summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-30 06:38:25 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-30 06:38:25 +0000
commit0070c0bfbe11fd114092a61015d1512bfa40f0fb (patch)
tree345812d15f86f00ccfdf8d2142ff6dc17bd006de /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent978fe0c75ad79e7bb9421c5803ecc2816ec4bf29 (diff)
downloadbcm5719-llvm-0070c0bfbe11fd114092a61015d1512bfa40f0fb.tar.gz
bcm5719-llvm-0070c0bfbe11fd114092a61015d1512bfa40f0fb.zip
Introduce TargetInfo::hasFeature() to query various feature names in
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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud