From e6ed8540c5896c54f1ec1f9130af922e15362b93 Mon Sep 17 00:00:00 2001 From: Alexandre Ganea Date: Sat, 5 Jan 2019 01:08:10 +0000 Subject: [PATCH] [LLD][COFF] Fix namespace compilation issue with a upcoming patch. NFC llvm-svn: 350450 --- lld/COFF/PDB.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lld/COFF/PDB.cpp b/lld/COFF/PDB.cpp index ad4f39b31e37..ae2defdca6f1 100644 --- a/lld/COFF/PDB.cpp +++ b/lld/COFF/PDB.cpp @@ -213,7 +213,7 @@ private: std::vector SectionMap; /// Type index mappings of type server PDBs that we've loaded so far. - std::map TypeServerIndexMappings; + std::map TypeServerIndexMappings; /// Type index mappings of precompiled objects type map that we've loaded so /// far. @@ -221,7 +221,7 @@ private: /// List of TypeServer PDBs which cannot be loaded. /// Cached to prevent repeated load attempts. - std::map MissingTypeServerPDBs; + std::map MissingTypeServerPDBs; }; class DebugSHandler { @@ -507,7 +507,7 @@ PDBLinker::mergeDebugT(ObjFile *File, CVIndexMap *ObjectIndexMap) { } static Expected> -tryToLoadPDB(const GUID &GuidFromObj, StringRef TSPath) { +tryToLoadPDB(const codeview::GUID &GuidFromObj, StringRef TSPath) { // Ensure the file exists before anything else. We want to return ENOENT, // "file not found", even if the path points to a removable device (in which // case the return message would be EAGAIN, "resource unavailable try again") @@ -550,7 +550,7 @@ PDBLinker::maybeMergeTypeServerPDB(ObjFile *File, const CVType &FirstType) { TypeDeserializer::deserializeAs(const_cast(FirstType), TS)) fatal("error reading record: " + toString(std::move(EC))); - const GUID &TSId = TS.getGuid(); + const codeview::GUID &TSId = TS.getGuid(); StringRef TSPath = TS.getName(); // First, check if the PDB has previously failed to load.