diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2012-11-14 01:47:00 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2012-11-14 01:47:00 +0000 |
commit | 25efd6d556718295a63d37f5294985746af354f6 (patch) | |
tree | 7e9486e6b819be1ee7738610b3a051696814fc95 /lib/Target/ARM/ARMTargetObjectFile.h | |
parent | 78e786b58f6fcdd57201b292f45e0b719c1490e7 (diff) | |
download | llvm-25efd6d556718295a63d37f5294985746af354f6.tar.gz llvm-25efd6d556718295a63d37f5294985746af354f6.tar.bz2 llvm-25efd6d556718295a63d37f5294985746af354f6.tar.xz |
Use TARGET2 relocation for TType references on ARM.
Do some cleanup of the code while here.
Inspired by patch by Logan Chien!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetObjectFile.h')
-rw-r--r-- | lib/Target/ARM/ARMTargetObjectFile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMTargetObjectFile.h b/lib/Target/ARM/ARMTargetObjectFile.h index c6a7261439..7f60727e53 100644 --- a/lib/Target/ARM/ARMTargetObjectFile.h +++ b/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; } |