Move the codebase to use: DWARFCompileUnit -> DWARFUnit
Now the codebase can use the DWARFUnit superclass. It will make it later seamlessly work also with DWARFPartialUnit for DWZ. This patch is only a search-and-replace easily undone, nothing interesting in it. Differential revision: https://reviews.llvm.org/D42892 llvm-svn: 327810
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "DWARFASTParserJava.h"
|
||||
#include "DWARFAttribute.h"
|
||||
#include "DWARFCompileUnit.h"
|
||||
#include "DWARFUnit.h"
|
||||
#include "DWARFDebugInfoEntry.h"
|
||||
#include "DWARFDebugInfoEntry.h"
|
||||
#include "DWARFDeclContext.h"
|
||||
@@ -418,7 +418,7 @@ bool DWARFASTParserJava::CompleteTypeFromDWARF(
|
||||
|
||||
void DWARFASTParserJava::ParseChildMembers(const DWARFDIE &parent_die,
|
||||
CompilerType &compiler_type) {
|
||||
DWARFCompileUnit *dwarf_cu = parent_die.GetCU();
|
||||
DWARFUnit *dwarf_cu = parent_die.GetCU();
|
||||
for (DWARFDIE die = parent_die.GetFirstChild(); die.IsValid();
|
||||
die = die.GetSibling()) {
|
||||
switch (die.Tag()) {
|
||||
|
||||
Reference in New Issue
Block a user