aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-06-12 01:35:52 +0000
committerEric Christopher <echristo@gmail.com>2015-06-12 01:35:52 +0000
commit11acf739f8f7737137a0641e49a48e2f30b5f759 (patch)
tree5ab019c94c013627c21f79f38171bc7cf0a16528 /clang/lib/Frontend/CompilerInvocation.cpp
parenta1431077de66aebf75e1da83f56314a78cb8ebb2 (diff)
downloadllvm-11acf739f8f7737137a0641e49a48e2f30b5f759.zip
llvm-11acf739f8f7737137a0641e49a48e2f30b5f759.tar.gz
llvm-11acf739f8f7737137a0641e49a48e2f30b5f759.tar.bz2
Add support for the the target attribute.
Modeled after the gcc attribute of the same name, this feature allows source level annotations to correspond to backend code generation. In llvm particular parlance, this allows the adding of subtarget features and changing the cpu for a particular function based on source level hints. This has been added into the existing support for function level attributes without particular verification for any target outside of whether or not the backend will support the features/cpu given (similar to section, etc). llvm-svn: 239579
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions