[PowerPC] Support TLS variables in debug info
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 2 Jul 2013 18:47:35 +0000 (18:47 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 2 Jul 2013 18:47:35 +0000 (18:47 +0000)
commitb843060ecfa29efb5f896350f6530fa81184e420
tree227afc3bce75c96dac23b57f4929707f21b3ed1f
parent716a94f0c96d6bef575cd286bafb2cc507adc6b0
[PowerPC] Support TLS variables in debug info

This adds an implementation of getDebugThreadLocalSymbol for
(64-bit) PowerPC.  This needs to return a generic MCExpr
since on ppc64, we need to add a bias of 0x8000 to the
value returned by the R_PPC64_DTPREL64 relocation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185461 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCTargetObjectFile.cpp
lib/Target/PowerPC/PPCTargetObjectFile.h
test/DebugInfo/PowerPC/tls-fission.ll [new file with mode: 0644]
test/DebugInfo/PowerPC/tls.ll