diff options
author | Kai Nacke <kai.nacke@redstar.de> | 2014-02-05 07:23:09 +0000 |
---|---|---|
committer | Kai Nacke <kai.nacke@redstar.de> | 2014-02-05 07:23:09 +0000 |
commit | 0b2d8ed86d2b625d6d1a588777a187c0333c6a87 (patch) | |
tree | 51f1af63de0e08240069a25537d67a528055161d /lib/Target/ARM/ARMTargetObjectFile.h | |
parent | 7583b60306f5e7330a6548f3c4564cb5c8912815 (diff) | |
download | llvm-0b2d8ed86d2b625d6d1a588777a187c0333c6a87.tar.gz llvm-0b2d8ed86d2b625d6d1a588777a187c0333c6a87.tar.bz2 llvm-0b2d8ed86d2b625d6d1a588777a187c0333c6a87.tar.xz |
ARM: Enable use of relocation type tlsldo in debug info for tls data.
This fixes PR18554.
Reviewers: Renato Golin, Keith Walker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetObjectFile.h')
-rw-r--r-- | lib/Target/ARM/ARMTargetObjectFile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMTargetObjectFile.h b/lib/Target/ARM/ARMTargetObjectFile.h index 7f60727e53..cb86896c03 100644 --- a/lib/Target/ARM/ARMTargetObjectFile.h +++ b/lib/Target/ARM/ARMTargetObjectFile.h @@ -36,6 +36,9 @@ public: virtual const MCSection *getAttributesSection() const { return AttributesSection; } + + /// \brief Describe a TLS variable address within debug info. + virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const; }; } // end namespace llvm |