diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-07-01 21:45:25 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-07-01 21:45:25 +0000 |
commit | a35ae962918258207f9092ccbdf4fffa1f2c70f1 (patch) | |
tree | 714e3c5d5f29eb0dd4fcfe1c4561cef6242ec35b /lib/Target/X86/X86TargetObjectFile.h | |
parent | 1307d8300f6fe97059998480c42b44faefbc9b99 (diff) | |
download | external_llvm-a35ae962918258207f9092ccbdf4fffa1f2c70f1.zip external_llvm-a35ae962918258207f9092ccbdf4fffa1f2c70f1.tar.gz external_llvm-a35ae962918258207f9092ccbdf4fffa1f2c70f1.tar.bz2 |
PR16493: DebugInfo with TLS on PPC crashing due to invalid relocation
Restrict the current TLS support to X86 ELF for now. Test that we don't
produce it on PPC & we can flesh that test case out with the right thing
once someone implements it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetObjectFile.h')
-rw-r--r-- | lib/Target/X86/X86TargetObjectFile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetObjectFile.h b/lib/Target/X86/X86TargetObjectFile.h index 9d26d38..7baedd2 100644 --- a/lib/Target/X86/X86TargetObjectFile.h +++ b/lib/Target/X86/X86TargetObjectFile.h @@ -36,6 +36,9 @@ namespace llvm { /// and x86-64. class X86LinuxTargetObjectFile : public TargetLoweringObjectFileELF { virtual void Initialize(MCContext &Ctx, const TargetMachine &TM); + + /// \brief Describe a TLS variable address within debug info. + virtual const MCSymbolRefExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const; }; } // end namespace llvm |