diff options
author | Tim Northover <tnorthover@apple.com> | 2015-11-17 18:27:27 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2015-11-17 18:27:27 +0000 |
commit | c741b04d1ee25450c2c9df936b6df39762a775ee (patch) | |
tree | fad2d23b18905d9288d9e383fd913afaad1949bc /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 3ac8a5abbfe152484383b6793c84188c71297bfb (diff) | |
download | llvm-c741b04d1ee25450c2c9df936b6df39762a775ee.zip llvm-c741b04d1ee25450c2c9df936b6df39762a775ee.tar.gz llvm-c741b04d1ee25450c2c9df936b6df39762a775ee.tar.bz2 |
ARM: fix mismatch between Clang and backend on exception type.
"-arch armv7k" is only normally used with a watchos target, but Clang doesn't
stop you from giving a "-miphoneos-version-min" option too, converting the
triple to "thumbv7k-apple-ios". In this case the backend will decide to use
SjLj exceptions, so Clang needs to agree so it can create the correct
predefines.
Fortunately, there's a handy function to make the decision for us now.
llvm-svn: 253355
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions