commit | 9bdd78501484a1add2d8a757fd29960dd9fc9de7 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Mon Jun 10 23:20:58 2013 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Mon Jun 10 23:20:58 2013 +0000 |
tree | a0de733750c030b3280711231515852051a38bcc | |
parent | 45dec48dc3725a8e5ca5cfdeeed941eea2e456f1 [diff] |
ARM: diagnose ARM/Thumb assembly switches on CPUs only supporting one. Some ARM CPUs only support ARM mode (ancient v4 ones, for example) and some only support Thumb mode (M-class ones currently). This makes sure such CPUs default to the correct mode and makes the AsmParser diagnose an attempt to switch modes incorrectly. rdar://14024354 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183710 91177308-0d34-0410-b5e6-96231b3b80d8