OSDN Git Service

Set default CPU for Darwin targets with LTO. <rdar://problem/12457841>
authorBob Wilson <bob.wilson@apple.com>
Fri, 12 Oct 2012 17:39:25 +0000 (17:39 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 12 Oct 2012 17:39:25 +0000 (17:39 +0000)
commit47ed8a161caa898cc00c85c8f8a063a0e18d8915
tree6b0fd7b2b59b82c2cd04fa7ceda104b9911bd60c
parent20ce6e65621800367a580899c5a804cdffc87c1a
Set default CPU for Darwin targets with LTO. <rdar://problem/12457841>

This is a temporary hack until Bill's project to record command line options
in the LLVM IR is ready. Clang currently sets a default CPU but that isn't
recorded anywhere and it doesn't get used in the final LTO compilation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165809 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lto/LTOCodeGenerator.cpp
tools/lto/LTOModule.cpp