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/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1307d8300f6fe97059998480c42b44faefbc9b99 (diff) | |
download | llvm-a35ae962918258207f9092ccbdf4fffa1f2c70f1.tar.gz llvm-a35ae962918258207f9092ccbdf4fffa1f2c70f1.tar.bz2 llvm-a35ae962918258207f9092ccbdf4fffa1f2c70f1.tar.xz |
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/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 69d55913ca..7e7359a8fe 100644 --- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -401,10 +401,6 @@ TargetLoweringObjectFileELF::InitializeELF(bool UseInitArray_) { SectionKind::getDataRel()); } -const MCSymbolRefExpr *TargetLoweringObjectFileELF::getDebugThreadLocalSymbol(const MCSymbol *Sym) const { - return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); -} - //===----------------------------------------------------------------------===// // MachO //===----------------------------------------------------------------------===// |