summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-07-01 23:55:52 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-07-01 23:55:52 +0000
commit8fed05ec1ba90c688d71323fe8a1c3070adf58cf (patch)
tree0cd4f32412ecce66ab5bf570d93dd8e9230762a0 /lib/CodeGen/AsmPrinter/DwarfDebug.h
parentb57770387ab262a0a23e77f094f599b6c955ba14 (diff)
downloadllvm-8fed05ec1ba90c688d71323fe8a1c3070adf58cf.tar.gz
llvm-8fed05ec1ba90c688d71323fe8a1c3070adf58cf.tar.bz2
llvm-8fed05ec1ba90c688d71323fe8a1c3070adf58cf.tar.xz
PR14728: DebugInfo: TLS variables with -gsplit-dwarf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 00d48d7eca..893505c254 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -197,7 +197,7 @@ typedef StringMap<std::pair<MCSymbol*, unsigned>,
// A Symbol->unsigned mapping of addresses used by indirect
// references.
-typedef DenseMap<const MCSymbol *, unsigned> AddrPool;
+typedef DenseMap<const MCSymbolRefExpr *, unsigned> AddrPool;
/// \brief Collects and handles information specific to a particular
/// collection of units.
@@ -270,6 +270,7 @@ public:
/// \brief Returns the index into the address pool with the given
/// label/symbol.
+ unsigned getAddrPoolIndex(const MCSymbolRefExpr *);
unsigned getAddrPoolIndex(const MCSymbol *);
/// \brief Returns the address pool.