[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
This commit is contained in:
Aaron Smith 2018-03-26 22:53:38 +00:00
parent ca7fdbb974
commit 2b889957ee

View File

@ -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;
}
}