Skip to content

Commit ff1d538

Browse files
committed
More prototyping
1 parent 3966ec6 commit ff1d538

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,7 @@ DWARFASTParserClang::GetDIEClassTemplateParams(const DWARFDIE &die) {
869869
if (llvm::StringRef(die.GetName()).contains("<"))
870870
return ConstString();
871871

872+
//std::cerr << "rebuilding template params for " << die.GetDIE()->GetOffset() << "\n";
872873
#if 1
873874
std::string R;
874875
llvm::raw_string_ostream OS(R);
@@ -1633,6 +1634,7 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
16331634
const char *name = die.GetName();
16341635
if (!name)
16351636
return "";
1637+
#if 0
16361638
static int indent = 0;
16371639
std::cerr << std::string(indent, ' ') << "starting qualified name for: " << name << '\n';
16381640
auto &FS = die.GetCU()->GetSymbolFileDWARF().GetObjectFile()->GetFileSpec();
@@ -1642,6 +1644,7 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
16421644
<< FS.GetFilename().AsCString("") << ':' << std::hex
16431645
<< die.GetDIE()->GetOffset() << '\n';
16441646
++indent;
1647+
#endif
16451648
std::string qualified_name;
16461649
DWARFDIE parent_decl_ctx_die = die.GetParentDeclContextDIE();
16471650
// TODO: change this to get the correct decl context parent....
@@ -1687,8 +1690,10 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
16871690
qualified_name.append(name);
16881691
qualified_name.append(GetDIEClassTemplateParams(die).AsCString(""));
16891692

1693+
#if 0
16901694
--indent;
16911695
std::cerr << std::string(indent, ' ') << "computed qualified name: " << qualified_name << '\n';
1696+
#endif
16921697

16931698
return qualified_name;
16941699
}

0 commit comments

Comments
 (0)