From 2b889957ee03f9e4898f19ac7f0c3387f90a76fe Mon Sep 17 00:00:00 2001 From: Aaron Smith Date: Mon, 26 Mar 2018 22:53:38 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328590 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp b/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp index 0f763cdd54c..7d6cb254e1d 100644 --- a/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp +++ b/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp @@ -180,7 +180,7 @@ void DumpDIAValue(llvm::raw_ostream &OS, int Indent, StringRef Name, OS << "\n"; OS.indent(Indent); Variant V = VariantFromVARIANT(Value); - OS << V; + OS << Name << ": " << V; } }