summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-23 23:37:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-04-23 23:37:35 +0000
commitc8bd54be97266fa0cf3ca33a48c4cc143005eaed (patch)
treeff95df768405ac02bc4332ed3f5a2550f567234a /lib/CodeGen/AsmPrinter/DwarfDebug.h
parent306d5ba0923b6554c5c6e1c43cae9ae08341459d (diff)
downloadllvm-c8bd54be97266fa0cf3ca33a48c4cc143005eaed.tar.gz
llvm-c8bd54be97266fa0cf3ca33a48c4cc143005eaed.tar.bz2
llvm-c8bd54be97266fa0cf3ca33a48c4cc143005eaed.tar.xz
Remove intermediate accelerator table for names.
(similar changes coming for the other accelerator tables) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 3a69538108..537010c5e9 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -19,6 +19,7 @@
#include "DIE.h"
#include "DebugLocEntry.h"
#include "DebugLocList.h"
+#include "DwarfAccelTable.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SmallPtrSet.h"
@@ -323,6 +324,8 @@ class DwarfDebug : public AsmPrinterHandler {
AddressPool AddrPool;
+ DwarfAccelTable AccelNames;
+
MCDwarfDwoLineTable *getDwoLineTable(const DwarfCompileUnit &);
void addScopeVariable(LexicalScope *LS, DbgVariable *Var);
@@ -634,7 +637,11 @@ public:
/// or another context nested inside a subprogram.
bool isSubprogramContext(const MDNode *Context);
+ void addSubprogramNames(DwarfUnit &TheU, DISubprogram SP, DIE *Die);
+
AddressPool &getAddressPool() { return AddrPool; }
+
+ void addAccelName(StringRef Name, const DIE *Die);
};
} // End of namespace llvm