diff options
author | Tim Northover <tnorthover@apple.com> | 2016-01-27 19:32:29 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-01-27 19:32:29 +0000 |
commit | 042a6c1fe19caf48af7e287dc8f6fd5fec158093 (patch) | |
tree | fff3e2194f08029330b382bb3992f90a9df74d07 /llvm/lib/Target/ARM/ARMSubtarget.h | |
parent | 391be792f296db7b99b4e92b5ae43710dfa7454d (diff) | |
download | bcm5719-llvm-042a6c1fe19caf48af7e287dc8f6fd5fec158093.tar.gz bcm5719-llvm-042a6c1fe19caf48af7e287dc8f6fd5fec158093.zip |
ARMv7k: base ABI decision on v7k Arch rather than watchos OS.
Various bits we want to use the new ABI actually compile with "-arch armv7k
-miphoneos-version-min=9.0". Not ideal, but also not ridiculous given how
slices work.
llvm-svn: 258975
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h index efa3196503e..e6fa3788c9b 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.h +++ b/llvm/lib/Target/ARM/ARMSubtarget.h @@ -390,6 +390,7 @@ public: bool isTargetDarwin() const { return TargetTriple.isOSDarwin(); } bool isTargetIOS() const { return TargetTriple.isiOS(); } bool isTargetWatchOS() const { return TargetTriple.isWatchOS(); } + bool isTargetWatchABI() const { return TargetTriple.isWatchABI(); } bool isTargetLinux() const { return TargetTriple.isOSLinux(); } bool isTargetNaCl() const { return TargetTriple.isOSNaCl(); } bool isTargetNetBSD() const { return TargetTriple.isOSNetBSD(); } |