summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-28 23:18:09 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-28 23:18:09 +0000
commit43b9ca6f42a899ca4b8f94d4d8f370d832c1107f (patch)
tree35eafeb2b8f49bf43313cfcc08f5bd3849ae99e7 /llvm/lib/Target/ARM/ARMSubtarget.h
parent90820ee62a9217e6da4ee0a7e1ae768ab3bcade3 (diff)
downloadbcm5719-llvm-43b9ca6f42a899ca4b8f94d4d8f370d832c1107f.tar.gz
bcm5719-llvm-43b9ca6f42a899ca4b8f94d4d8f370d832c1107f.zip
Let Darwin linker auto-synthesize stubs and lazy-pointers. This deletes a bunch of nasty code in ARM asm printer.
llvm-svn: 80404
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index ca0a98ea782..73f9736188d 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -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
OpenPOWER on IntegriCloud