Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit
authorGreg Clayton <gclayton@apple.com>
Thu, 5 Apr 2018 15:52:39 +0000 (15:52 +0000)
committerGreg Clayton <gclayton@apple.com>
Thu, 5 Apr 2018 15:52:39 +0000 (15:52 +0000)
commit118bcd9ce247143ec7e66a68bfdcea7e8f8b2a92
tree1ee71628801418b61bdeccbb2f5cecd8143f7a72
parentc74ad502cecf221e2cbfed86f79a93155247760a
Cleanup DWARFCompileUnit and DWARFUnit in preparation for adding DWARFTypeUnit

Many things that were in DWARFCompileUnit actually need to be in DWARFUnit. This patch moves all DWARFUnit specific things over into DWARFUnit and fixes the layering. This is in preparation for adding DWARFTypeUnit for the .debug_types patch.

Differential Revision: https://reviews.llvm.org/D45170

llvm-svn: 329305
lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h