[llvm] r257778 - Print function names when they are referenced via TypeIndex

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 09:52:01 PST 2016


Author: rnk
Date: Thu Jan 14 11:52:01 2016
New Revision: 257778

URL: http://llvm.org/viewvc/llvm-project?rev=257778&view=rev
Log:
Print function names when they are referenced via TypeIndex

Modified:
    llvm/trunk/tools/llvm-readobj/COFFDumper.cpp

Modified: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/COFFDumper.cpp?rev=257778&r1=257777&r2=257778&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp Thu Jan 14 11:52:01 2016
@@ -2014,7 +2014,7 @@ void COFFDumper::printCodeViewTypeSectio
       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;




More information about the llvm-commits mailing list