aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitc299914a58baed2d7cf594494dbba60880d476cd (patch)
tree32103da2370fe73399a42611646ac68ad2a96854 /lib/Target/ARM/ARMSubtarget.h
parenta14f4474b2d915579e9e9bd8bf4080d7f25e7dcd (diff)
downloadexternal_llvm-c299914a58baed2d7cf594494dbba60880d476cd.zip
external_llvm-c299914a58baed2d7cf594494dbba60880d476cd.tar.gz
external_llvm-c299914a58baed2d7cf594494dbba60880d476cd.tar.bz2
Let Darwin linker auto-synthesize stubs and lazy-pointers. This deletes a bunch of nasty code in ARM asm printer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--lib/Target/ARM/ARMSubtarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h
index ca0a98e..73f9736 100644
--- a/lib/Target/ARM/ARMSubtarget.h
+++ b/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