summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-09-03 07:04:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-09-03 07:04:02 +0000
commit1b38952c99f47ddb7227c157c806651729151c90 (patch)
treedecbc9e4c3ea04939308cb1e9f965f3f916d7f4a /llvm/lib/Target/ARM/ARMSubtarget.h
parent88214fbd12ba16d9bca5d4ab08034e0e86512b5c (diff)
downloadbcm5719-llvm-1b38952c99f47ddb7227c157c806651729151c90.tar.gz
bcm5719-llvm-1b38952c99f47ddb7227c157c806651729151c90.zip
Reference to hidden symbols do not have to go through non-lazy pointer in non-pic mode. rdar://7187172.
llvm-svn: 80904
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 73f9736188d..518967b9243 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -15,6 +15,7 @@
#define ARMSUBTARGET_H
#include "llvm/Target/TargetInstrItineraries.h"
+#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetSubtarget.h"
#include <string>
@@ -133,7 +134,7 @@ protected:
/// GVIsIndirectSymbol - true if the GV will be accessed via an indirect
/// symbol.
- bool GVIsIndirectSymbol(GlobalValue *GV, bool isStatic) const;
+ bool GVIsIndirectSymbol(GlobalValue *GV, Reloc::Model RelocM) const;
};
} // End llvm namespace
OpenPOWER on IntegriCloud