From af48fc4136b1fca9b0542bc858a3bddbf87dcc02 Mon Sep 17 00:00:00 2001 From: Oliver Stannard Date: Wed, 2 Apr 2014 16:10:33 +0000 Subject: ARM: Add support for segmented stacks Patch by Alex Crichton, ILyoan, Luqman Aden and Svetoslav. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205430 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMSubtarget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Target/ARM/ARMSubtarget.h') diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 3ffc72e21e..21fa83dff7 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -356,6 +356,9 @@ public: return TargetTriple.getEnvironment() == Triple::GNUEABIHF || TargetTriple.getEnvironment() == Triple::EABIHF; } + bool isTargetAndroid() const { + return TargetTriple.getEnvironment() == Triple::Android; + } bool isAPCS_ABI() const { assert(TargetABI != ARM_ABI_UNKNOWN); -- cgit v1.2.3