summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetObjectFile.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2012-11-14 01:47:00 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2012-11-14 01:47:00 +0000
commite42af3699bf6d7d14efd6cb0bb976aa0588549a9 (patch)
treeb7ae524110236f55066e63e245b75c893de88654 /llvm/lib/Target/ARM/ARMTargetObjectFile.h
parent6c440b932ec4ee9c9d2aa0110f318e11ef554be3 (diff)
downloadbcm5719-llvm-e42af3699bf6d7d14efd6cb0bb976aa0588549a9.tar.gz
bcm5719-llvm-e42af3699bf6d7d14efd6cb0bb976aa0588549a9.zip
Use TARGET2 relocation for TType references on ARM.
Do some cleanup of the code while here. Inspired by patch by Logan Chien! llvm-svn: 167904
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetObjectFile.h')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetObjectFile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.h b/llvm/lib/Target/ARM/ARMTargetObjectFile.h
index c6a7261439d..7f60727e530 100644
--- a/llvm/lib/Target/ARM/ARMTargetObjectFile.h
+++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.h
@@ -28,6 +28,11 @@ public:
virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
+ const MCExpr *
+ getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang,
+ MachineModuleInfo *MMI, unsigned Encoding,
+ MCStreamer &Streamer) const;
+
virtual const MCSection *getAttributesSection() const {
return AttributesSection;
}
OpenPOWER on IntegriCloud