[PS4] Correct relocation for DWARF TLS references.
[oota-llvm.git] / lib / Target / X86 / X86TargetObjectFile.h
index f7455382098f4f207c975af59707bb216a3d2304..1cecf0b4819abf53ddbd0fca59d94d6cf32489f6 100644 (file)
@@ -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 *