summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-07-01 21:45:25 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-07-01 21:45:25 +0000
commit1b01ae8648128ca1d7dea4d7cc454dedf722551a (patch)
tree1ca7851b73edb09abf9f9cdbf715b251b6897984 /llvm/lib/CodeGen
parentab70d5dbaa30cf41421f999a79098b699ee4db8e (diff)
downloadbcm5719-llvm-1b01ae8648128ca1d7dea4d7cc454dedf722551a.tar.gz
bcm5719-llvm-1b01ae8648128ca1d7dea4d7cc454dedf722551a.zip
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. llvm-svn: 185389
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 69d55913caf..7e7359a8fee 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/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
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud