hanchenye-llvm-project/clang/lib
Bob Wilson cc4ab9d9c0 For Darwin, do not let -mcpu override the -arch option. <rdar://11059238>
On Darwin the architecture and the corresponding Mach-O slice is typically
specified with -arch.  If not, it defaults to the current host architecture.
Do not use -mcpu to override the -arch value.  This is only an issue when
people need to use specialized code for a non-default CPU (hopefully guarded
by run-time checks to detect the current processor).  The -mcpu option is
still used for the -target-cpu option to clang, but this patch causes it to
not be used to set the architecture in the target triple.

llvm-svn: 153197
2012-03-21 16:31:37 +00:00
..
ARCMigrate Kill cocoa::deriveNamingConvention and cocoa::followsFundamentalRule. They are now just simple wrappers around method families, and method decls can cache method family lookups. Also, no one is using them right now. 2012-03-17 20:51:32 +00:00
AST For the annals of subtle but terrible bugs: fix a longstanding bug 2012-03-21 06:57:19 +00:00
Analysis Fix crash when querying the CFG reported when using the thread safety analysis 2012-03-19 23:48:41 +00:00
Basic No longer defining LP64 in 64-bit builds on platforms which are not LP64. 2012-03-14 20:50:57 +00:00
CodeGen Update comment. 2012-03-20 23:28:32 +00:00
Driver For Darwin, do not let -mcpu override the -arch option. <rdar://11059238> 2012-03-21 16:31:37 +00:00
Edit Remove unused-but-set variable. 2012-03-13 17:05:43 +00:00
Frontend [frontend] Fix how the frontend handles -fno-inline. AFAIK clang now matches 2012-03-15 22:31:42 +00:00
FrontendTool Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
Headers [avx] Define the _mm256_loadu2_xxx and _mm256_storeu2_xxx intrinsics. 2012-03-20 16:40:00 +00:00
Index Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
Lex Turns #import in MS Mode into an error. 2012-03-18 03:10:37 +00:00
Parse Fix the other place where C++98 work for initializer lists was necessary. 2012-03-20 21:24:03 +00:00
Rewrite modern objective-c rewriter: remove 'const' from 2012-03-21 16:23:16 +00:00
Sema Undo previous patch as I checked more than I intended. 2012-03-21 16:18:21 +00:00
Serialization Fix Objective-C compilation-time performance regression introduced in r152608. 2012-03-16 06:12:59 +00:00
StaticAnalyzer [analyzer] Mark a failed-realloc's result as an interesting symbol between the realloc call and the null check, so we get nicer path notes. Fixes a regression introduced by the diagnostic pruning added in r152361. 2012-03-18 07:43:35 +00:00
CMakeLists.txt Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
Makefile Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00