File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -869,6 +869,7 @@ DWARFASTParserClang::GetDIEClassTemplateParams(const DWARFDIE &die) {
869
869
if (llvm::StringRef (die.GetName ()).contains (" <" ))
870
870
return ConstString ();
871
871
872
+ // std::cerr << "rebuilding template params for " << die.GetDIE()->GetOffset() << "\n";
872
873
#if 1
873
874
std::string R;
874
875
llvm::raw_string_ostream OS (R);
@@ -1633,6 +1634,7 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
1633
1634
const char *name = die.GetName ();
1634
1635
if (!name)
1635
1636
return " " ;
1637
+ #if 0
1636
1638
static int indent = 0;
1637
1639
std::cerr << std::string(indent, ' ') << "starting qualified name for: " << name << '\n';
1638
1640
auto &FS = die.GetCU()->GetSymbolFileDWARF().GetObjectFile()->GetFileSpec();
@@ -1642,6 +1644,7 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
1642
1644
<< FS.GetFilename().AsCString("") << ':' << std::hex
1643
1645
<< die.GetDIE()->GetOffset() << '\n';
1644
1646
++indent;
1647
+ #endif
1645
1648
std::string qualified_name;
1646
1649
DWARFDIE parent_decl_ctx_die = die.GetParentDeclContextDIE ();
1647
1650
// TODO: change this to get the correct decl context parent....
@@ -1687,8 +1690,10 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
1687
1690
qualified_name.append (name);
1688
1691
qualified_name.append (GetDIEClassTemplateParams (die).AsCString (" " ));
1689
1692
1693
+ #if 0
1690
1694
--indent;
1691
1695
std::cerr << std::string(indent, ' ') << "computed qualified name: " << qualified_name << '\n';
1696
+ #endif
1692
1697
1693
1698
return qualified_name;
1694
1699
}
You can’t perform that action at this time.
0 commit comments