Let Darwin linker auto-synthesize stubs and lazy-pointers. This deletes a bunch of...
[oota-llvm.git] / lib / Target / ARM / ARMSubtarget.h
index ca0a98ea78295622c5b9361ad9450d651d57dabb..73f9736188dac852b47bd3a37a232702660a83a8 100644 (file)
@@ -19,6 +19,7 @@
 #include <string>
 
 namespace llvm {
+class GlobalValue;
 
 class ARMSubtarget : public TargetSubtarget {
 protected:
@@ -129,6 +130,10 @@ protected:
   /// stack frame on entry to the function and which must be maintained by every
   /// function for this subtarget.
   unsigned getStackAlignment() const { return stackAlignment; }
+
+  /// GVIsIndirectSymbol - true if the GV will be accessed via an indirect
+  /// symbol.
+  bool GVIsIndirectSymbol(GlobalValue *GV, bool isStatic) const;
 };
 } // End llvm namespace