Print function names when they are referenced via TypeIndex

llvm-svn: 257778
This commit is contained in:
Reid Kleckner 2016-01-14 17:52:01 +00:00
parent 1c7a9cdc69
commit 089db21f58
1 changed files with 1 additions and 1 deletions

View File

@ -2014,7 +2014,7 @@ void COFFDumper::printCodeViewTypeSection(StringRef SectionName,
error(consumeObject(LeafData, Func));
printTypeIndex("ParentScope", Func->ParentScope);
printTypeIndex("FunctionType", Func->FunctionType);
StringRef Name, Null;
StringRef Null;
std::tie(Name, Null) = LeafData.split('\0');
W.printString("Name", Name);
break;