diff options
author | Strahinja Petrovic <strahinja.petrovic@rt-rk.com> | 2018-03-27 11:23:53 +0000 |
---|---|---|
committer | Strahinja Petrovic <strahinja.petrovic@rt-rk.com> | 2018-03-27 11:23:53 +0000 |
commit | 06cf6a6490bbb466f340307c111b63a979a5b17e (patch) | |
tree | 9116bc8ee0b09c2b96e9f99e851350a18b31b921 /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | e8059b1de44ff96530d151515123a28048c59833 (diff) | |
download | bcm5719-llvm-06cf6a6490bbb466f340307c111b63a979a5b17e.tar.gz bcm5719-llvm-06cf6a6490bbb466f340307c111b63a979a5b17e.zip |
[PowerPC] Secure PLT support
This patch supports secure PLT mode for PowerPC 32 architecture.
Differential Revision: https://reviews.llvm.org/D42112
llvm-svn: 328617
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index c351b5c04a0..c576d69d602 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -133,6 +133,7 @@ protected: bool HasFloat128; bool IsISA3_0; bool UseLongCalls; + bool SecurePlt; POPCNTDKind HasPOPCNTD; @@ -255,6 +256,7 @@ public: bool hasOnlyMSYNC() const { return HasOnlyMSYNC; } bool isPPC4xx() const { return IsPPC4xx; } bool isPPC6xx() const { return IsPPC6xx; } + bool isSecurePlt() const {return SecurePlt; } bool isE500() const { return IsE500; } bool isFeatureMFTB() const { return FeatureMFTB; } bool isDeprecatedDST() const { return DeprecatedDST; } |