aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/X86TargetObjectFile.h
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-07-02 18:47:09 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-07-02 18:47:09 +0000
commit2b6fc8d613c50dda7f60961a0c5a19b690b450b9 (patch)
treeaf16205fc05b686b5173b34f1ade38b0df5246eb /llvm/lib/Target/X86/X86TargetObjectFile.h
parent8b3d22664e58e32095edfa58dfc3ce4ce2b7fd6f (diff)
downloadllvm-2b6fc8d613c50dda7f60961a0c5a19b690b450b9.zip
llvm-2b6fc8d613c50dda7f60961a0c5a19b690b450b9.tar.gz
llvm-2b6fc8d613c50dda7f60961a0c5a19b690b450b9.tar.bz2
[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. llvm-svn: 185460
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetObjectFile.h')
-rw-r--r--llvm/lib/Target/X86/X86TargetObjectFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86TargetObjectFile.h b/llvm/lib/Target/X86/X86TargetObjectFile.h
index 7baedd2..79c861d 100644
--- a/llvm/lib/Target/X86/X86TargetObjectFile.h
+++ b/llvm/lib/Target/X86/X86TargetObjectFile.h
@@ -38,7 +38,7 @@ namespace llvm {
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;
+ virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
};
} // end namespace llvm