Android support for SafeStack.
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.h
index 949c6511bde59b26d6ed089d3df31f1dc233bb99..ff680a52b1a42550917590ce542d80de37db5e28 100644 (file)
@@ -891,6 +891,12 @@ namespace llvm {
     bool getStackCookieLocation(unsigned &AddressSpace,
                                 unsigned &Offset) const override;
 
+    /// Return true if the target stores SafeStack pointer at a fixed offset in
+    /// some non-standard address space, and populates the address space and
+    /// offset as appropriate.
+    bool getSafeStackPointerLocation(unsigned &AddressSpace,
+                                     unsigned &Offset) const override;
+
     SDValue BuildFILD(SDValue Op, EVT SrcVT, SDValue Chain, SDValue StackSlot,
                       SelectionDAG &DAG) const;