summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-12 03:03:13 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-12 03:03:13 +0000
commit59b0ee8a5690955e2db6cfdc3c2267317b578561 (patch)
tree5242f1380596216b0fb5b00244638b1040f01ffc /clang/lib/Frontend/CompilerInvocation.cpp
parent700537cddf0985bf3f9e93596c8c9dcfdc025518 (diff)
downloadbcm5719-llvm-59b0ee8a5690955e2db6cfdc3c2267317b578561.tar.gz
bcm5719-llvm-59b0ee8a5690955e2db6cfdc3c2267317b578561.zip
Reapply r158337, this time properly protect Darwin/PPC host CPU use with __ppc__.
Original commit message: Move PPC host-CPU detection logic from PPCSubtarget into sys::getHostCPUName(). Both the new Linux functionality and the old Darwin functions have been moved. This change also allows this information to be queried directly by clang and other frontends (clang, for example, will now have real -mcpu=native support). llvm-svn: 158349
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud