summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2018-03-26 22:53:38 +0000
committerAaron Smith <aaron.smith@microsoft.com>2018-03-26 22:53:38 +0000
commitf13938382c003516e870c1162f962b01619c99a6 (patch)
treea7f5fa4b69d46c05cf0cebfdd6ae2865aa5fe223 /llvm/lib/DebugInfo
parent88911686c83a0235f2360cd58f2ee34727977576 (diff)
downloadbcm5719-llvm-f13938382c003516e870c1162f962b01619c99a6.tar.gz
bcm5719-llvm-f13938382c003516e870c1162f962b01619c99a6.zip
[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 llvm-svn: 328590
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp b/llvm/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp
index 0f763cdd54c..7d6cb254e1d 100644
--- a/llvm/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp
+++ b/llvm/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;
}
}
OpenPOWER on IntegriCloud