[llvm] r328590 - [DebugInfoPDB] Print the method name along with the variant value
Aaron Smith via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 26 15:53:38 PDT 2018
Author: asmith
Date: Mon Mar 26 15:53:38 2018
New Revision: 328590
URL: http://llvm.org/viewvc/llvm-project?rev=328590&view=rev
Log:
[DebugInfoPDB] Print the method name along with the variant value
Before this change, using dumpProperties() with PDBSymbolData
would look like this:
get_locationType: 3
1
After this change:
get_locationType: 3
get_value: 1
Modified:
llvm/trunk/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp?rev=328590&r1=328589&r2=328590&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp Mon Mar 26 15:53:38 2018
@@ -180,7 +180,7 @@ void DumpDIAValue(llvm::raw_ostream &OS,
OS << "\n";
OS.indent(Indent);
Variant V = VariantFromVARIANT(Value);
- OS << V;
+ OS << Name << ": " << V;
}
}
More information about the llvm-commits
mailing list