Basic: thread CodeGenOptions into TargetInfo
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 7 Apr 2016 05:41:11 +0000 (05:41 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 7 Apr 2016 05:41:11 +0000 (05:41 +0000)
commit724275ba5fb137eedbb1930e5bad493acea1b4ce
treec4685b16122f59ceaccb3b2fb4a780123a051cd1
parent979e9756ecbcba1a1b4743048cb1193fb799bd53
Basic: thread CodeGenOptions into TargetInfo

This threads CodeGenOptions into the TargetInfo hierarchy.  This is motivated by
ARM which can change some target information based on the EABI selected
(-meabi).  Similar options exist for other platforms (e.g. MIPS) and thus is
generally useful.  NFC.

llvm-svn: 265640
clang/include/clang/Basic/TargetInfo.h
clang/lib/Basic/Targets.cpp
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Frontend/ChainedIncludesSource.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/unittests/Basic/CMakeLists.txt
clang/unittests/Lex/CMakeLists.txt