[DebugInfo] Allow getDebugThreadLocalSymbol to return MCExpr
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 2 Jul 2013 18:47:09 +0000 (18:47 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 2 Jul 2013 18:47:09 +0000 (18:47 +0000)
commit716a94f0c96d6bef575cd286bafb2cc507adc6b0
tree5ba358312fae8571444c379d93f78a2d14cced30
parent18dbe5029f36a5a5d583295daa4ef6d6f5474c25
[DebugInfo] Allow getDebugThreadLocalSymbol to return MCExpr

This allows getDebugThreadLocalSymbol to return a generic MCExpr
instead of just a MCSymbolRefExpr.

This is in preparation for supporting debug info for TLS variables
on PowerPC, where we need to describe the variable location using
a more complex expression than just MCSymbolRefExpr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185460 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLoweringObjectFile.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/Target/TargetLoweringObjectFile.cpp
lib/Target/X86/X86TargetObjectFile.cpp
lib/Target/X86/X86TargetObjectFile.h