diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2014-02-01 21:06:21 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2014-02-01 21:06:21 +0000 |
| commit | ea9fa6a25743c5517f819638002e5b79d7715b89 (patch) | |
| tree | cbfc91493ef5d8e8ecaaa2eb035b4e7d0e1d6dbd /lib/CodeGen/CodeGenFunction.cpp | |
| parent | f061cea7d077f771dcbe5f38d249e516f6442b45 (diff) | |
| download | clang-ea9fa6a25743c5517f819638002e5b79d7715b89.tar.gz clang-ea9fa6a25743c5517f819638002e5b79d7715b89.tar.bz2 clang-ea9fa6a25743c5517f819638002e5b79d7715b89.tar.xz | |
Fix an assertion failure when building for the iOS simulator. rdar://15959009
When building for i386 or x86_64 with IPHONEOS_DEPLOYMENT_TARGET set in the
environment, the toolchain correctly recognizes that the target platform is
the iOS simulator. The code in Darwin::addMinVersionArgs was not updated for
svn 197148, where isTargetIPhoneOS() was widely replaced by isTargetIOSBased().
This is kind of a strange case, though, because we probably ought to be
passing -ios_simulator_version_min to the linker, but according to the FIXME
in the code, we intentionally avoid that unless the -mios-simulator-version-min
option was used. I don't know whether it is safe to change that yet, so
for now, I am just fixing the assertion failure.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
