diff options
| author | Paul Robinson <paul_robinson@playstation.sony.com> | 2015-03-02 17:44:52 +0000 |
|---|---|---|
| committer | Paul Robinson <paul_robinson@playstation.sony.com> | 2015-03-02 17:44:52 +0000 |
| commit | 10ae2e52de3a049950dd5d4c6233893380e5948b (patch) | |
| tree | b4a0e1dfa2bc82840e88fc5a8ccc6c45d7fa5284 /llvm/lib/Target/X86/X86TargetObjectFile.h | |
| parent | b79ac88155e805015af1b5691e25a325c9eeda57 (diff) | |
| download | bcm5719-llvm-10ae2e52de3a049950dd5d4c6233893380e5948b.tar.gz bcm5719-llvm-10ae2e52de3a049950dd5d4c6233893380e5948b.zip | |
[PS4] Correct relocation for DWARF TLS references.
llvm-svn: 230979
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetObjectFile.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86TargetObjectFile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetObjectFile.h b/llvm/lib/Target/X86/X86TargetObjectFile.h index f7455382098..1cecf0b4819 100644 --- a/llvm/lib/Target/X86/X86TargetObjectFile.h +++ b/llvm/lib/Target/X86/X86TargetObjectFile.h @@ -47,6 +47,12 @@ namespace llvm { const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override; }; + /// \brief This TLOF implementation is used for PS4. + class PS4TargetObjectFile : public TargetLoweringObjectFileELF { + /// \brief Describe a TLS variable address within debug info. + const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override; + }; + /// \brief This implementation is used for Windows targets on x86 and x86-64. class X86WindowsTargetObjectFile : public TargetLoweringObjectFileCOFF { const MCExpr * |

