summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-17 18:13:58 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-17 18:13:58 +0000
commitc2df16b6d36678af7cbdeb8c748d6a289988f49b (patch)
treec434842c181ef5e64bc924b333928f06a033a6af /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parentec47bc2baef059cd7ebb8c3befbb3aa6c9bb8ff5 (diff)
downloadbcm5719-llvm-c2df16b6d36678af7cbdeb8c748d6a289988f49b.tar.gz
bcm5719-llvm-c2df16b6d36678af7cbdeb8c748d6a289988f49b.zip
DebugInfo: Use MC line table file entry uniquing for non-asm input as well.
See r204027 for the precursor to this that applied to asm debug info. This required some non-obvious API changes to handle the case of asm output (we never go asm->asm so this didn't come up in r204027): the modification of the file/directory name by MCDwarfLineTableHeader needed to be reflected in the MCAsmStreamer caller so it could print the appropriate .file directive, so those StringRef parameters are now non-const ref (in/out) parameters rather than just const. llvm-svn: 204069
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index baf87323178..3ab537037d9 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -356,12 +356,6 @@ class DwarfDebug : public AsmPrinterHandler {
// Used to unique C++ member function declarations.
StringMap<const MDNode *> OdrMemberMap;
- // Stores the current file ID for a given compile unit.
- DenseMap<unsigned, unsigned> FileIDCUMap;
- // Source id map, i.e. CUID, source filename and directory,
- // separated by a zero byte, mapped to a unique id.
- StringMap<unsigned, BumpPtrAllocator &> SourceIdMap;
-
// List of all labels used in aranges generation.
std::vector<SymbolCU> ArangeLabels;
OpenPOWER on IntegriCloud