From 49fc1e6fbc4dbcde96f77f13f9d47e717f83872b Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 26 Jul 2017 00:58:49 +0000 Subject: [PATCH] [PDB] Remove stale GSI.h header that I intended to remove in the previous commit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309069 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/PDB/Native/GSI.h | 52 ------------------- lib/DebugInfo/PDB/Native/PublicsStream.cpp | 1 - .../PDB/Native/PublicsStreamBuilder.cpp | 2 - 3 files changed, 55 deletions(-) delete mode 100644 lib/DebugInfo/PDB/Native/GSI.h diff --git a/lib/DebugInfo/PDB/Native/GSI.h b/lib/DebugInfo/PDB/Native/GSI.h deleted file mode 100644 index 3fb26c8927b..00000000000 --- a/lib/DebugInfo/PDB/Native/GSI.h +++ /dev/null @@ -1,52 +0,0 @@ -//===- GSI.h - Common Declarations for GlobalsStream and PublicsStream ----===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// The data structures defined in this file are based on the reference -// implementation which is available at -// https://github.com/Microsoft/microsoft-pdb/blob/master/PDB/dbi/gsi.h -// -// When you are reading the reference source code, you'd find the -// information below useful. -// -// - ppdb1->m_fMinimalDbgInfo seems to be always true. -// - SMALLBUCKETS macro is defined. -// -// The reference doesn't compile, so I learned just by reading code. -// It's not guaranteed to be correct. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_LIB_DEBUGINFO_PDB_RAW_GSI_H -#define LLVM_LIB_DEBUGINFO_PDB_RAW_GSI_H - -#include "llvm/DebugInfo/PDB/Native/RawTypes.h" -#include "llvm/Support/BinaryStreamArray.h" - -#include "llvm/Support/Endian.h" -#include "llvm/Support/Error.h" - -namespace llvm { - -class BinaryStreamReader; - -namespace pdb { - -Error readGSIHashBuckets(FixedStreamArray &HashBuckets, - ArrayRef &HashBitmap, - const GSIHashHeader *HashHdr, - BinaryStreamReader &Reader); -Error readGSIHashHeader(const GSIHashHeader *&HashHdr, - BinaryStreamReader &Reader); -Error readGSIHashRecords(FixedStreamArray &HashRecords, - const GSIHashHeader *HashHdr, - BinaryStreamReader &Reader); -} -} - -#endif diff --git a/lib/DebugInfo/PDB/Native/PublicsStream.cpp b/lib/DebugInfo/PDB/Native/PublicsStream.cpp index 7a48e3d1596..c716720b5a7 100644 --- a/lib/DebugInfo/PDB/Native/PublicsStream.cpp +++ b/lib/DebugInfo/PDB/Native/PublicsStream.cpp @@ -23,7 +23,6 @@ //===----------------------------------------------------------------------===// #include "llvm/DebugInfo/PDB/Native/PublicsStream.h" -#include "GSI.h" #include "llvm/ADT/iterator_range.h" #include "llvm/DebugInfo/CodeView/SymbolRecord.h" #include "llvm/DebugInfo/MSF/MappedBlockStream.h" diff --git a/lib/DebugInfo/PDB/Native/PublicsStreamBuilder.cpp b/lib/DebugInfo/PDB/Native/PublicsStreamBuilder.cpp index 2232f51da86..1b99b5561a2 100644 --- a/lib/DebugInfo/PDB/Native/PublicsStreamBuilder.cpp +++ b/lib/DebugInfo/PDB/Native/PublicsStreamBuilder.cpp @@ -13,8 +13,6 @@ #include "llvm/DebugInfo/MSF/MappedBlockStream.h" #include "llvm/DebugInfo/PDB/Native/GlobalsStream.h" -#include "GSI.h" - using namespace llvm; using namespace llvm::msf; using namespace llvm::pdb; -- 2.40.0