Add DwarfUnit::addGlobalType to match DwarfUnit::addGlobalName
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 06:06:14 +0000 (06:06 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 06:06:14 +0000 (06:06 +0000)
commit5ede09079b160bc595e913af981cb5941060245f
tree1480768301fe0532906702ade0c080ae3ac262d2
parent1808f3e89af8c3271599a55385d523ed792c2b0c
Add DwarfUnit::addGlobalType to match DwarfUnit::addGlobalName

(these will shortly become virtual, with a null implementation in
DwarfUnit (since type units don't have accelerator tables in the current
schema) and the current implementation down in DwarfCompileUnit, moving
the actual maps there too)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221082 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.h