diff options
| author | Reid Kleckner <rnk@google.com> | 2017-07-17 23:59:44 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-07-17 23:59:44 +0000 |
| commit | 67653ee0865fb7819fce751f8923b149e42d6027 (patch) | |
| tree | efafe177d491e3aad201c87ff6cd090694590201 /llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp | |
| parent | e737fc120e96fbdabab24060ec33567ea6c265db (diff) | |
| download | bcm5719-llvm-67653ee0865fb7819fce751f8923b149e42d6027.tar.gz bcm5719-llvm-67653ee0865fb7819fce751f8923b149e42d6027.zip | |
[codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId
Summary:
We were treating the GUIDs in TypeServer2Record as strings, and the
non-ASCII bytes in the GUID would not round-trip through YAML.
We already had the PDB_UniqueId type portably represent a Windows GUID,
but we need to hoist that up to the DebugInfo/CodeView library so that
we can use it in the TypeServer2Record as well as in PDB parsing code.
Reviewers: inglorion, amccarth
Subscribers: llvm-commits, hiraditya
Differential Revision: https://reviews.llvm.org/D35495
llvm-svn: 308234
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp index 707128f7efd..6450ae752f9 100644 --- a/llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp @@ -34,7 +34,7 @@ void InfoStreamBuilder::setSignature(uint32_t S) { Sig = S; } void InfoStreamBuilder::setAge(uint32_t A) { Age = A; } -void InfoStreamBuilder::setGuid(PDB_UniqueId G) { Guid = G; } +void InfoStreamBuilder::setGuid(GUID G) { Guid = G; } void InfoStreamBuilder::addFeature(PdbRaw_FeatureSig Sig) { Features.push_back(Sig); |

