summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h38
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h33
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h36
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h209
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/IPDBSession.h37
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h33
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDB.h24
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h70
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h37
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h39
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h36
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h50
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h34
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h38
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h56
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h41
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h70
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h46
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h46
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h46
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h44
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h54
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h40
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h57
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h37
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h33
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h33
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h48
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h34
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h34
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h41
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h32
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h38
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h51
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h48
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h37
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h36
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h30
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h33
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/PDBTypes.h350
40 files changed, 0 insertions, 2129 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h b/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h
deleted file mode 100644
index 2d56150086d..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h
+++ /dev/null
@@ -1,38 +0,0 @@
-//===- IPDBDataStream.h - base interface for child enumerator -*- C++ ---*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_IPDBDATASTREAM_H
-#define LLVM_DEBUGINFO_PDB_IPDBDATASTREAM_H
-
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/Optional.h"
-
-#include "PDBTypes.h"
-
-namespace llvm {
-
-/// IPDBDataStream defines an interface used to represent a stream consisting
-/// of a name and a series of records whose formats depend on the particular
-/// stream type.
-class IPDBDataStream {
-public:
- typedef llvm::SmallVector<uint8_t, 32> RecordType;
-
- virtual ~IPDBDataStream();
-
- virtual uint32_t getRecordCount() const = 0;
- virtual std::string getName() const = 0;
- virtual llvm::Optional<RecordType> getItemAtIndex(uint32_t Index) const = 0;
- virtual bool getNext(RecordType &Record) = 0;
- virtual void reset() = 0;
- virtual std::unique_ptr<IPDBDataStream> clone() const = 0;
-};
-}
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h b/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
deleted file mode 100644
index c1793410e2a..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//===- IPDBEnumChildren.h - base interface for child enumerator -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_IPDBENUMCHILDREN_H
-#define LLVM_DEBUGINFO_PDB_IPDBENUMCHILDREN_H
-
-#include <memory>
-#include "PDBTypes.h"
-
-namespace llvm {
-
-template <typename ChildType> class IPDBEnumChildren {
-public:
- typedef std::unique_ptr<ChildType> ChildTypePtr;
- typedef std::unique_ptr<IPDBEnumChildren<ChildType>> MyTypePtr;
-
- virtual ~IPDBEnumChildren() {}
-
- virtual uint32_t getChildCount() const = 0;
- virtual ChildTypePtr getChildAtIndex(uint32_t Index) const = 0;
- virtual ChildTypePtr getNext() = 0;
- virtual void reset() = 0;
- virtual MyTypePtr clone() const = 0;
-};
-}
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h b/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h
deleted file mode 100644
index 92cd58d8664..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//===- IPDBLineNumber.h - base interface for PDB line no. info ---*- C++-*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H
-#define LLVM_DEBUGINFO_PDB_IPDBLINENUMBER_H
-
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class IPDBLineNumber {
-public:
- virtual ~IPDBLineNumber();
-
- virtual uint32_t getLineNumber() const = 0;
- virtual uint32_t getLineNumberEnd() const = 0;
- virtual uint32_t getColumnNumber() const = 0;
- virtual uint32_t getColumnNumberEnd() const = 0;
- virtual uint32_t getAddressSection() const = 0;
- virtual uint32_t getAddressOffset() const = 0;
- virtual uint32_t getRelativeVirtualAddress() const = 0;
- virtual uint64_t getVirtualAddress() const = 0;
- virtual uint32_t getLength() const = 0;
- virtual uint32_t getSourceFileId() const = 0;
- virtual uint32_t getCompilandId() const = 0;
- virtual bool isStatement() const = 0;
-};
-}
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h b/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
deleted file mode 100644
index 3ec1220c8b2..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
+++ /dev/null
@@ -1,209 +0,0 @@
-//===- IPDBRawSymbol.h - base interface for PDB symbol types ----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_IPDBRAWSYMBOL_H
-#define LLVM_DEBUGINFO_PDB_IPDBRAWSYMBOL_H
-
-#include <memory>
-
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/COFF.h"
-#include "llvm/Support/raw_ostream.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-/// IPDBRawSymbol defines an interface used to represent an arbitrary symbol.
-/// It exposes a monolithic interface consisting of accessors for the union of
-/// all properties that are valid for any symbol type. This interface is then
-/// wrapped by a concrete class which exposes only those set of methods valid
-/// for this particular symbol type. See PDBSymbol.h for more details.
-class IPDBRawSymbol {
-public:
- virtual ~IPDBRawSymbol();
-
- virtual void dump(llvm::raw_ostream &OS) const = 0;
-
- virtual std::unique_ptr<IPDBEnumSymbols>
- findChildren(PDB_SymType Type, StringRef Name,
- PDB_NameSearchFlags Flags) const = 0;
- virtual std::unique_ptr<IPDBEnumSymbols>
- findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags,
- uint32_t RVA) const = 0;
- virtual std::unique_ptr<IPDBEnumSymbols>
- findInlineFramesByRVA(uint32_t RVA) const = 0;
-
- virtual void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const = 0;
- virtual PDB_MemberAccess getAccess() const = 0;
- virtual uint32_t getAddressOffset() const = 0;
- virtual uint32_t getAddressSection() const = 0;
- virtual uint32_t getAge() const = 0;
- virtual uint32_t getArrayIndexTypeId() const = 0;
- virtual uint32_t getBackEndBuild() const = 0;
- virtual uint32_t getBackEndMajor() const = 0;
- virtual uint32_t getBackEndMinor() const = 0;
- virtual uint32_t getBaseDataOffset() const = 0;
- virtual uint32_t getBaseDataSlot() const = 0;
- virtual uint32_t getBaseSymbolId() const = 0;
- virtual PDB_BuiltinType getBuiltinType() const = 0;
- virtual uint32_t getBitPosition() const = 0;
- virtual PDB_CallingConv getCallingConvention() const = 0;
- virtual uint32_t getClassParentId() const = 0;
- virtual std::string getCompilerName() const = 0;
- virtual uint32_t getCount() const = 0;
- virtual uint32_t getCountLiveRanges() const = 0;
- virtual uint32_t getFrontEndBuild() const = 0;
- virtual uint32_t getFrontEndMajor() const = 0;
- virtual uint32_t getFrontEndMinor() const = 0;
- virtual PDB_Lang getLanguage() const = 0;
- virtual uint32_t getLexicalParentId() const = 0;
- virtual std::string getLibraryName() const = 0;
- virtual uint32_t getLiveRangeStartAddressOffset() const = 0;
- virtual uint32_t getLiveRangeStartAddressSection() const = 0;
- virtual uint32_t getLiveRangeStartRelativeVirtualAddress() const = 0;
- virtual uint32_t getLocalBasePointerRegisterId() const = 0;
- virtual uint32_t getLowerBoundId() const = 0;
- virtual uint32_t getMemorySpaceKind() const = 0;
- virtual std::string getName() const = 0;
- virtual uint32_t getNumberOfAcceleratorPointerTags() const = 0;
- virtual uint32_t getNumberOfColumns() const = 0;
- virtual uint32_t getNumberOfModifiers() const = 0;
- virtual uint32_t getNumberOfRegisterIndices() const = 0;
- virtual uint32_t getNumberOfRows() const = 0;
- virtual std::string getObjectFileName() const = 0;
- virtual uint32_t getOemId() const = 0;
- virtual uint32_t getOemSymbolId() const = 0;
- virtual uint32_t getOffsetInUdt() const = 0;
- virtual PDB_Cpu getPlatform() const = 0;
- virtual uint32_t getRank() const = 0;
- virtual uint32_t getRegisterId() const = 0;
- virtual uint32_t getRegisterType() const = 0;
- virtual uint32_t getRelativeVirtualAddress() const = 0;
- virtual uint32_t getSamplerSlot() const = 0;
- virtual uint32_t getSignature() const = 0;
- virtual uint32_t getSizeInUdt() const = 0;
- virtual uint32_t getSlot() const = 0;
- virtual std::string getSourceFileName() const = 0;
- virtual uint32_t getStride() const = 0;
- virtual uint32_t getSubTypeId() const = 0;
- virtual std::string getSymbolsFileName() const = 0;
- virtual uint32_t getSymIndexId() const = 0;
- virtual uint32_t getTargetOffset() const = 0;
- virtual uint32_t getTargetRelativeVirtualAddress() const = 0;
- virtual uint64_t getTargetVirtualAddress() const = 0;
- virtual uint32_t getTargetSection() const = 0;
- virtual uint32_t getTextureSlot() const = 0;
- virtual uint32_t getTimeStamp() const = 0;
- virtual uint32_t getToken() const = 0;
- virtual uint32_t getTypeId() const = 0;
- virtual uint32_t getUavSlot() const = 0;
- virtual std::string getUndecoratedName() const = 0;
- virtual uint32_t getUnmodifiedTypeId() const = 0;
- virtual uint32_t getUpperBoundId() const = 0;
- virtual uint32_t getVirtualBaseDispIndex() const = 0;
- virtual uint32_t getVirtualBaseOffset() const = 0;
- virtual uint32_t getVirtualTableShapeId() const = 0;
- virtual PDB_DataKind getDataKind() const = 0;
- virtual PDB_SymType getSymTag() const = 0;
- virtual PDB_UniqueId getGuid() const = 0;
- virtual int32_t getOffset() const = 0;
- virtual int32_t getThisAdjust() const = 0;
- virtual int32_t getVirtualBasePointerOffset() const = 0;
- virtual PDB_LocType getLocationType() const = 0;
- virtual COFF::MachineTypes getMachineType() const = 0;
- virtual PDB_ThunkOrdinal getThunkOrdinal() const = 0;
- virtual uint64_t getLength() const = 0;
- virtual uint64_t getLiveRangeLength() const = 0;
- virtual uint64_t getVirtualAddress() const = 0;
- virtual PDB_UdtType getUdtKind() const = 0;
- virtual bool hasConstructor() const = 0;
- virtual bool hasCustomCallingConvention() const = 0;
- virtual bool hasFarReturn() const = 0;
- virtual bool isCode() const = 0;
- virtual bool isCompilerGenerated() const = 0;
- virtual bool isConstType() const = 0;
- virtual bool isEditAndContinueEnabled() const = 0;
- virtual bool isFunction() const = 0;
- virtual bool getAddressTaken() const = 0;
- virtual bool getNoStackOrdering() const = 0;
- virtual bool hasAlloca() const = 0;
- virtual bool hasAssignmentOperator() const = 0;
- virtual bool hasCTypes() const = 0;
- virtual bool hasCastOperator() const = 0;
- virtual bool hasDebugInfo() const = 0;
- virtual bool hasEH() const = 0;
- virtual bool hasEHa() const = 0;
- virtual bool hasInlAsm() const = 0;
- virtual bool hasInlineAttribute() const = 0;
- virtual bool hasInterruptReturn() const = 0;
- virtual bool hasLongJump() const = 0;
- virtual bool hasManagedCode() const = 0;
- virtual bool hasNestedTypes() const = 0;
- virtual bool hasNoInlineAttribute() const = 0;
- virtual bool hasNoReturnAttribute() const = 0;
- virtual bool hasOptimizedCodeDebugInfo() const = 0;
- virtual bool hasOverloadedOperator() const = 0;
- virtual bool hasSEH() const = 0;
- virtual bool hasSecurityChecks() const = 0;
- virtual bool hasSetJump() const = 0;
- virtual bool hasStrictGSCheck() const = 0;
- virtual bool isAcceleratorGroupSharedLocal() const = 0;
- virtual bool isAcceleratorPointerTagLiveRange() const = 0;
- virtual bool isAcceleratorStubFunction() const = 0;
- virtual bool isAggregated() const = 0;
- virtual bool isIntroVirtualFunction() const = 0;
- virtual bool isCVTCIL() const = 0;
- virtual bool isConstructorVirtualBase() const = 0;
- virtual bool isCxxReturnUdt() const = 0;
- virtual bool isDataAligned() const = 0;
- virtual bool isHLSLData() const = 0;
- virtual bool isHotpatchable() const = 0;
- virtual bool isIndirectVirtualBaseClass() const = 0;
- virtual bool isInterfaceUdt() const = 0;
- virtual bool isIntrinsic() const = 0;
- virtual bool isLTCG() const = 0;
- virtual bool isLocationControlFlowDependent() const = 0;
- virtual bool isMSILNetmodule() const = 0;
- virtual bool isMatrixRowMajor() const = 0;
- virtual bool isManagedCode() const = 0;
- virtual bool isMSILCode() const = 0;
- virtual bool isMultipleInheritance() const = 0;
- virtual bool isNaked() const = 0;
- virtual bool isNested() const = 0;
- virtual bool isOptimizedAway() const = 0;
- virtual bool isPacked() const = 0;
- virtual bool isPointerBasedOnSymbolValue() const = 0;
- virtual bool isPointerToDataMember() const = 0;
- virtual bool isPointerToMemberFunction() const = 0;
- virtual bool isPureVirtual() const = 0;
- virtual bool isRValueReference() const = 0;
- virtual bool isRefUdt() const = 0;
- virtual bool isReference() const = 0;
- virtual bool isRestrictedType() const = 0;
- virtual bool isReturnValue() const = 0;
- virtual bool isSafeBuffers() const = 0;
- virtual bool isScoped() const = 0;
- virtual bool isSdl() const = 0;
- virtual bool isSingleInheritance() const = 0;
- virtual bool isSplitted() const = 0;
- virtual bool isStatic() const = 0;
- virtual bool hasPrivateSymbols() const = 0;
- virtual bool isUnalignedType() const = 0;
- virtual bool isUnreached() const = 0;
- virtual bool isValueUdt() const = 0;
- virtual bool isVirtual() const = 0;
- virtual bool isVirtualBaseClass() const = 0;
- virtual bool isVirtualInheritance() const = 0;
- virtual bool isVolatileType() const = 0;
-};
-
-} // namespace llvm
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h b/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h
deleted file mode 100644
index 9caa93b5a7c..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h
+++ /dev/null
@@ -1,37 +0,0 @@
-//===- IPDBSession.h - base interface for a PDB symbol context --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_IPDBSESSION_H
-#define LLVM_DEBUGINFO_PDB_IPDBSESSION_H
-
-#include <memory>
-
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolExe;
-
-/// IPDBSession defines an interface used to provide a context for querying
-/// debug information from a debug data source (for example, a PDB).
-class IPDBSession {
-public:
- virtual ~IPDBSession();
-
- virtual uint64_t getLoadAddress() const = 0;
- virtual void setLoadAddress(uint64_t Address) = 0;
- virtual std::unique_ptr<PDBSymbolExe> getGlobalScope() const = 0;
- virtual std::unique_ptr<PDBSymbol> getSymbolById() const = 0;
- virtual std::unique_ptr<IPDBSourceFile> getSourceFileById() const = 0;
-
- virtual std::unique_ptr<IPDBEnumDataStreams> getDebugStreams() const = 0;
-};
-}
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h b/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h
deleted file mode 100644
index 8a38c753645..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//===- IPDBSourceFile.h - base interface for a PDB source file --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_IPDBSOURCEFILE_H
-#define LLVM_DEBUGINFO_PDB_IPDBSOURCEFILE_H
-
-#include <memory>
-
-#include "PDBTypes.h"
-
-namespace llvm {
-
-/// IPDBSourceFile defines an interface used to represent source files whose
-/// information are stored in the PDB.
-class IPDBSourceFile {
-public:
- virtual ~IPDBSourceFile();
-
- virtual std::string getFileName() const = 0;
- virtual uint32_t getUniqueId() const = 0;
- virtual std::string getChecksum() const = 0;
- virtual PDB_Checksum getChecksumType() const = 0;
- virtual std::unique_ptr<IPDBEnumCompilands> getCompilands() const = 0;
-};
-}
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDB.h b/llvm/include/llvm/DebugInfo/PDB/PDB.h
deleted file mode 100644
index 81dbdb8fd32..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDB.h
+++ /dev/null
@@ -1,24 +0,0 @@
-//===- PDB.h - base header file for creating a PDB reader -------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDB_H
-#define LLVM_DEBUGINFO_PDB_PDB_H
-
-#include <memory>
-
-#include "PDBTypes.h"
-
-namespace llvm {
-class StringRef;
-
-std::unique_ptr<IPDBSession> createPDBReader(PDB_ReaderType Type,
- StringRef Path);
-}
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h
deleted file mode 100644
index 38c578e2c24..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//===- PDBSymbol.h - base class for user-facing symbol types -----*- C++-*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H
-#define LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H
-
-#include <memory>
-
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/raw_ostream.h"
-#include "llvm/Support/Casting.h"
-
-#include "IPDBRawSymbol.h"
-#include "PDBTypes.h"
-
-#define FORWARD_SYMBOL_METHOD(MethodName) \
- auto MethodName() const->decltype(RawSymbol->MethodName()) { \
- return RawSymbol->MethodName(); \
- }
-
-namespace llvm {
-
-class IPDBRawSymbol;
-
-/// PDBSymbol defines the base of the inheritance hierarchy for concrete symbol
-/// types (e.g. functions, executables, vtables, etc). All concrete symbol
-/// types inherit from PDBSymbol and expose the exact set of methods that are
-/// valid for that particular symbol type, as described in the Microsoft
-/// reference "Lexical and Class Hierarchy of Symbol Types":
-/// https://msdn.microsoft.com/en-us/library/370hs6k4.aspx
-class PDBSymbol {
-protected:
- PDBSymbol(std::unique_ptr<IPDBRawSymbol> Symbol);
-
-public:
- static std::unique_ptr<PDBSymbol>
- create(std::unique_ptr<IPDBRawSymbol> Symbol);
-
- virtual ~PDBSymbol();
-
- /// Dumps the contents of a symbol a raw_ostream. By default this will just
- /// call dump() on the underlying RawSymbol, which allows us to discover
- /// unknown properties, but individual implementations of PDBSymbol may
- /// override the behavior to only dump known fields.
- virtual void dump(llvm::raw_ostream &OS) const;
-
- PDB_SymType getSymTag() const;
-
- std::unique_ptr<IPDBEnumSymbols>
- findChildren(PDB_SymType Type, StringRef Name,
- PDB_NameSearchFlags Flags) const;
- std::unique_ptr<IPDBEnumSymbols> findChildrenByRVA(PDB_SymType Type,
- StringRef Name,
- PDB_NameSearchFlags Flags,
- uint32_t RVA) const;
- std::unique_ptr<IPDBEnumSymbols> findInlineFramesByRVA(uint32_t RVA) const;
-
-protected:
- const std::unique_ptr<IPDBRawSymbol> RawSymbol;
-};
-
-} // namespace llvm
-
-#endif
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
deleted file mode 100644
index 9c7fca1617f..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
+++ /dev/null
@@ -1,37 +0,0 @@
-//===- PDBSymbolAnnotation.h - Accessors for querying PDB annotations ---*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
-
-#include <string>
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolAnnotation : public PDBSymbol {
-public:
- PDBSymbolAnnotation(std::unique_ptr<IPDBRawSymbol> AnnotationSymbol);
-
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(getDataKind)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- // FORWARD_SYMBOL_METHOD(getValue)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Annotation;
- }
-};
-}
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
deleted file mode 100644
index 8be30460ae2..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
+++ /dev/null
@@ -1,39 +0,0 @@
-//===- PDBSymbolBlock.h - Accessors for querying PDB blocks -------------*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
-
-#include <string>
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolBlock : public PDBSymbol {
-public:
- PDBSymbolBlock(std::unique_ptr<IPDBRawSymbol> BlockSymbol);
-
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLocationType)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Block;
- }
-};
-}
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
deleted file mode 100644
index efa0e81aab5..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//===- PDBSymbolCompiland.h - Accessors for querying PDB compilands -----*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
-
-#include <string>
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolCompiland : public PDBSymbol {
-public:
- PDBSymbolCompiland(std::unique_ptr<IPDBRawSymbol> CompilandSymbol);
-
- FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLibraryName)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getSourceFileName)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Compiland;
- }
-};
-}
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h
deleted file mode 100644
index 191e2b990dc..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h
+++ /dev/null
@@ -1,50 +0,0 @@
-//===- PDBSymbolCompilandDetails.h - PDB compiland details ------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDDETAILS_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolCompilandDetails : public PDBSymbol {
-public:
- PDBSymbolCompilandDetails(std::unique_ptr<IPDBRawSymbol> DetailsSymbol);
-
- FORWARD_SYMBOL_METHOD(getBackEndBuild)
- FORWARD_SYMBOL_METHOD(getBackEndMajor)
- FORWARD_SYMBOL_METHOD(getBackEndMinor)
- FORWARD_SYMBOL_METHOD(getCompilerName)
- FORWARD_SYMBOL_METHOD(isEditAndContinueEnabled)
- FORWARD_SYMBOL_METHOD(getFrontEndBuild)
- FORWARD_SYMBOL_METHOD(getFrontEndMajor)
- FORWARD_SYMBOL_METHOD(getFrontEndMinor)
- FORWARD_SYMBOL_METHOD(hasDebugInfo)
- FORWARD_SYMBOL_METHOD(hasManagedCode)
- FORWARD_SYMBOL_METHOD(hasSecurityChecks)
- FORWARD_SYMBOL_METHOD(isCVTCIL)
- FORWARD_SYMBOL_METHOD(isDataAligned)
- FORWARD_SYMBOL_METHOD(isHotpatchable)
- FORWARD_SYMBOL_METHOD(isLTCG)
- FORWARD_SYMBOL_METHOD(isMSILNetmodule)
- FORWARD_SYMBOL_METHOD(getLanguage)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getPlatform)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::CompilandDetails;
- }
-};
-
-}; // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBFUNCTION_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h
deleted file mode 100644
index 6ffa829c337..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h
+++ /dev/null
@@ -1,34 +0,0 @@
-//===- PDBSymbolCompilandEnv.h - compiland environment variables *- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDENV_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDENV_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolCompilandEnv : public PDBSymbol {
-public:
- PDBSymbolCompilandEnv(std::unique_ptr<IPDBRawSymbol> CompilandEnvSymbol);
-
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- std::string getValue() const;
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::CompilandEnv;
- }
-};
-
-}; // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILANDENV_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h
deleted file mode 100644
index 7467979be53..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h
+++ /dev/null
@@ -1,38 +0,0 @@
-//===- PDBSymbolCustom.h - compiler-specific types --------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
-
-#include "llvm/ADT/SmallVector.h"
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-/// PDBSymbolCustom represents symbols that are compiler-specific and do not
-/// fit anywhere else in the lexical hierarchy.
-/// https://msdn.microsoft.com/en-us/library/d88sf09h.aspx
-class PDBSymbolCustom : public PDBSymbol {
-public:
- PDBSymbolCustom(std::unique_ptr<IPDBRawSymbol> CustomSymbol);
-
- void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes);
-
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Custom;
- }
-};
-
-}; // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h
deleted file mode 100644
index c98de6ae2c5..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//===- PDBSymbolData.h - PDB data (e.g. variable) accessors -----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolData : public PDBSymbol {
-public:
- PDBSymbolData(std::unique_ptr<IPDBRawSymbol> DataSymbol);
-
- FORWARD_SYMBOL_METHOD(getAccess)
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(getAddressTaken)
- FORWARD_SYMBOL_METHOD(getBitPosition)
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(isCompilerGenerated)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(getDataKind)
- FORWARD_SYMBOL_METHOD(isAggregated)
- FORWARD_SYMBOL_METHOD(isSplitted)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLocationType)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getOffset)
- FORWARD_SYMBOL_METHOD(getRegisterId)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSlot)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getToken)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- // FORWARD_SYMBOL_METHOD(getValue)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Data;
- }
-};
-
-}; // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLDATA_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h
deleted file mode 100644
index 0a3d5a7b169..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h
+++ /dev/null
@@ -1,41 +0,0 @@
-//===- PDBSymbolExe.h - Accessors for querying executables in a PDB ----*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
-
-#include <string>
-
-#include "llvm/Support/COFF.h"
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolExe : public PDBSymbol {
-public:
- PDBSymbolExe(std::unique_ptr<IPDBRawSymbol> ExeSymbol);
-
- FORWARD_SYMBOL_METHOD(getAge)
- FORWARD_SYMBOL_METHOD(getGuid)
- FORWARD_SYMBOL_METHOD(hasCTypes)
- FORWARD_SYMBOL_METHOD(hasPrivateSymbols)
- FORWARD_SYMBOL_METHOD(getMachineType)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getSignature)
- FORWARD_SYMBOL_METHOD(getSymbolsFileName)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Exe;
- }
-};
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
deleted file mode 100644
index dac7e258118..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//===- PDBSymbolFunc.h - class representing a function instance -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNC_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNC_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolFunc : public PDBSymbol {
-public:
- PDBSymbolFunc(std::unique_ptr<IPDBRawSymbol> FuncSymbol);
-
- FORWARD_SYMBOL_METHOD(getAccess)
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
- FORWARD_SYMBOL_METHOD(hasFarReturn)
- FORWARD_SYMBOL_METHOD(hasAlloca)
- FORWARD_SYMBOL_METHOD(hasEH)
- FORWARD_SYMBOL_METHOD(hasEHa)
- FORWARD_SYMBOL_METHOD(hasInlAsm)
- FORWARD_SYMBOL_METHOD(hasLongJump)
- FORWARD_SYMBOL_METHOD(hasSEH)
- FORWARD_SYMBOL_METHOD(hasSecurityChecks)
- FORWARD_SYMBOL_METHOD(hasSetJump)
- FORWARD_SYMBOL_METHOD(hasInterruptReturn)
- FORWARD_SYMBOL_METHOD(isIntroVirtualFunction)
- FORWARD_SYMBOL_METHOD(hasInlineAttribute)
- FORWARD_SYMBOL_METHOD(isNaked)
- FORWARD_SYMBOL_METHOD(isStatic)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLocationType)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
- FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
- FORWARD_SYMBOL_METHOD(isUnreached)
- FORWARD_SYMBOL_METHOD(getNoStackOrdering)
- FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
- FORWARD_SYMBOL_METHOD(isPureVirtual)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getToken)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(getUndecoratedName)
- FORWARD_SYMBOL_METHOD(isVirtual)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
- FORWARD_SYMBOL_METHOD(getVirtualBaseOffset)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Function;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNC_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h
deleted file mode 100644
index 989ce2f5a02..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h
+++ /dev/null
@@ -1,46 +0,0 @@
-//===- PDBSymbolFuncDebugEnd.h - function end bounds info -------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNCDEBUGEND_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNCDEBUGEND_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolFuncDebugEnd : public PDBSymbol {
-public:
- PDBSymbolFuncDebugEnd(std::unique_ptr<IPDBRawSymbol> FuncDebugEndSymbol);
-
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
- FORWARD_SYMBOL_METHOD(hasFarReturn)
- FORWARD_SYMBOL_METHOD(hasInterruptReturn)
- FORWARD_SYMBOL_METHOD(isStatic)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLocationType)
- FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
- FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
- FORWARD_SYMBOL_METHOD(isUnreached)
- FORWARD_SYMBOL_METHOD(getOffset)
- FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::FuncDebugEnd;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNCDEBUGEND_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h
deleted file mode 100644
index 82e0caa0d3a..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h
+++ /dev/null
@@ -1,46 +0,0 @@
-//===- PDBSymbolFuncDebugStart.h - function start bounds info ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNCDEBUGSTART_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNCDEBUGSTART_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolFuncDebugStart : public PDBSymbol {
-public:
- PDBSymbolFuncDebugStart(std::unique_ptr<IPDBRawSymbol> FuncDebugStartSymbol);
-
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
- FORWARD_SYMBOL_METHOD(hasFarReturn)
- FORWARD_SYMBOL_METHOD(hasInterruptReturn)
- FORWARD_SYMBOL_METHOD(isStatic)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLocationType)
- FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
- FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
- FORWARD_SYMBOL_METHOD(isUnreached)
- FORWARD_SYMBOL_METHOD(getOffset)
- FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::FuncDebugStart;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLFUNCDEBUGSTART_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h
deleted file mode 100644
index 0502fa916a3..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h
+++ /dev/null
@@ -1,46 +0,0 @@
-//===- PDBSymbolLabel.h - label info ----------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolLabel : public PDBSymbol {
-public:
- PDBSymbolLabel(std::unique_ptr<IPDBRawSymbol> LabelSymbol);
-
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
- FORWARD_SYMBOL_METHOD(hasFarReturn)
- FORWARD_SYMBOL_METHOD(hasInterruptReturn)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLocationType)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
- FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
- FORWARD_SYMBOL_METHOD(isUnreached)
- FORWARD_SYMBOL_METHOD(getOffset)
- FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Label;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h
deleted file mode 100644
index 30c307a3b10..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//===- PDBSymbolPublicSymbol.h - public symbol info -------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolPublicSymbol : public PDBSymbol {
-public:
- PDBSymbolPublicSymbol(std::unique_ptr<IPDBRawSymbol> PublicSymbol);
-
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(isCode)
- FORWARD_SYMBOL_METHOD(isFunction)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getLocationType)
- FORWARD_SYMBOL_METHOD(isManagedCode)
- FORWARD_SYMBOL_METHOD(isMSILCode)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
- FORWARD_SYMBOL_METHOD(getUndecoratedName)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::PublicSymbol;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLPUBLICSYMBOL_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h
deleted file mode 100644
index ab8c731d2d2..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h
+++ /dev/null
@@ -1,54 +0,0 @@
-//===- PDBSymbolThunk.h - Support for querying PDB thunks ---------------*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTHUNK_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTHUNK_H
-
-#include <string>
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolThunk : public PDBSymbol {
-public:
- PDBSymbolThunk(std::unique_ptr<IPDBRawSymbol> ThunkSymbol);
-
- FORWARD_SYMBOL_METHOD(getAccess)
- FORWARD_SYMBOL_METHOD(getAddressOffset)
- FORWARD_SYMBOL_METHOD(getAddressSection)
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(isIntroVirtualFunction)
- FORWARD_SYMBOL_METHOD(isStatic)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(isPureVirtual)
- FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTargetOffset)
- FORWARD_SYMBOL_METHOD(getTargetRelativeVirtualAddress)
- FORWARD_SYMBOL_METHOD(getTargetVirtualAddress)
- FORWARD_SYMBOL_METHOD(getTargetSection)
- FORWARD_SYMBOL_METHOD(getThunkOrdinal)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVirtual)
- FORWARD_SYMBOL_METHOD(getVirtualAddress)
- FORWARD_SYMBOL_METHOD(getVirtualBaseOffset)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Thunk;
- }
-};
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTHUNK_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h
deleted file mode 100644
index 92a02ea1811..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h
+++ /dev/null
@@ -1,40 +0,0 @@
-//===- PDBSymbolTypeArray.h - array type information ------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEARRAY_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEARRAY_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeArray : public PDBSymbol {
-public:
- PDBSymbolTypeArray(std::unique_ptr<IPDBRawSymbol> ArrayTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getArrayIndexTypeId)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(getCount)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getRank)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::ArrayType;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEARRAY_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h
deleted file mode 100644
index faab9bee319..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h
+++ /dev/null
@@ -1,57 +0,0 @@
-//===- PDBSymbolTypeBaseClass.h - base class type information ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeBaseClass : public PDBSymbol {
-public:
- PDBSymbolTypeBaseClass(std::unique_ptr<IPDBRawSymbol> BaseClassTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getAccess)
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(hasConstructor)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
- FORWARD_SYMBOL_METHOD(hasCastOperator)
- FORWARD_SYMBOL_METHOD(hasNestedTypes)
- FORWARD_SYMBOL_METHOD(isIndirectVirtualBaseClass)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(isNested)
- FORWARD_SYMBOL_METHOD(getOffset)
- FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
- FORWARD_SYMBOL_METHOD(isPacked)
- FORWARD_SYMBOL_METHOD(isScoped)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(getUdtKind)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
-
- FORWARD_SYMBOL_METHOD(isVirtualBaseClass)
- FORWARD_SYMBOL_METHOD(getVirtualBaseDispIndex)
- FORWARD_SYMBOL_METHOD(getVirtualBasePointerOffset)
- // FORWARD_SYMBOL_METHOD(getVirtualBaseTableType)
- FORWARD_SYMBOL_METHOD(getVirtualTableShapeId)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::BaseClass;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBASECLASS_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h
deleted file mode 100644
index 33406e0d24e..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h
+++ /dev/null
@@ -1,37 +0,0 @@
-//===- PDBSymbolTypeBuiltin.h - builtin type information --------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBUILTIN_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBUILTIN_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeBuiltin : public PDBSymbol {
-public:
- PDBSymbolTypeBuiltin(std::unique_ptr<IPDBRawSymbol> BuiltinTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getBuiltinType)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::BuiltinType;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEBUILTIN_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h
deleted file mode 100644
index 3c79c662c55..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//===- PDBSymbolTypeCustom.h - custom compiler type information -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPECUSTOM_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPECUSTOM_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeCustom : public PDBSymbol {
-public:
- PDBSymbolTypeCustom(std::unique_ptr<IPDBRawSymbol> CustomTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getOemId)
- FORWARD_SYMBOL_METHOD(getOemSymbolId)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::CustomType;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPECUSTOM_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h
deleted file mode 100644
index 562937e45d5..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//===- PDBSymbolTypeDimension.h - array dimension type info -----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEDIMENSION_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEDIMENSION_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeDimension : public PDBSymbol {
-public:
- PDBSymbolTypeDimension(std::unique_ptr<IPDBRawSymbol> DimensionTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getLowerBoundId)
- FORWARD_SYMBOL_METHOD(getUpperBoundId)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Dimension;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEDIMENSION_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
deleted file mode 100644
index 2a4d904828e..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//===- PDBSymbolTypeEnum.h - enum type info ---------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeEnum : public PDBSymbol {
-public:
- PDBSymbolTypeEnum(std::unique_ptr<IPDBRawSymbol> EnumTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getBuiltinType)
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(hasConstructor)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
- FORWARD_SYMBOL_METHOD(hasCastOperator)
- FORWARD_SYMBOL_METHOD(hasNestedTypes)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(isNested)
- FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
- FORWARD_SYMBOL_METHOD(isPacked)
- FORWARD_SYMBOL_METHOD(isScoped)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Enum;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEENUM_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h
deleted file mode 100644
index 547e9401f9b..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h
+++ /dev/null
@@ -1,34 +0,0 @@
-//===- PDBSymbolTypeFriend.h - friend type info -----------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFRIEND_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFRIEND_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeFriend : public PDBSymbol {
-public:
- PDBSymbolTypeFriend(std::unique_ptr<IPDBRawSymbol> FriendTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Friend;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFRIEND_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h
deleted file mode 100644
index 89c33ab780d..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h
+++ /dev/null
@@ -1,34 +0,0 @@
-//===- PDBSymbolTypeFunctionArg.h - function arg type info ------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONARG_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONARG_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeFunctionArg : public PDBSymbol {
-public:
- PDBSymbolTypeFunctionArg(std::unique_ptr<IPDBRawSymbol> FuncArgTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::FunctionArg;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONARG_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h
deleted file mode 100644
index 69c3f203bdf..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h
+++ /dev/null
@@ -1,41 +0,0 @@
-//===- PDBSymbolTypeFunctionSig.h - function signature type info *- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeFunctionSig : public PDBSymbol {
-public:
- PDBSymbolTypeFunctionSig(std::unique_ptr<IPDBRawSymbol> FuncSigTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getCallingConvention)
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(getCount)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- // FORWARD_SYMBOL_METHOD(getObjectPointerType)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getThisAdjust)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::FunctionSig;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEFUNCTIONSIG_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h
deleted file mode 100644
index f10491ba681..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h
+++ /dev/null
@@ -1,32 +0,0 @@
-//===- PDBSymbolTypeManaged.h - managed type info ---------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEMANAGED_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEMANAGED_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeManaged : public PDBSymbol {
-public:
- PDBSymbolTypeManaged(std::unique_ptr<IPDBRawSymbol> ManagedTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::ManagedType;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEMANAGED_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h
deleted file mode 100644
index ddf84138e67..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h
+++ /dev/null
@@ -1,38 +0,0 @@
-//===- PDBSymbolTypePointer.h - pointer type info ---------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypePointer : public PDBSymbol {
-public:
- PDBSymbolTypePointer(std::unique_ptr<IPDBRawSymbol> PointerTypeSymbol);
-
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(isReference)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::PointerType;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEPOINTER_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h
deleted file mode 100644
index de8d7f989dc..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h
+++ /dev/null
@@ -1,51 +0,0 @@
-//===- PDBSymbolTypeTypedef.h - typedef type info ---------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPETYPEDEF_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPETYPEDEF_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeTypedef : public PDBSymbol {
-public:
- PDBSymbolTypeTypedef(std::unique_ptr<IPDBRawSymbol> TypedefSymbol);
-
- FORWARD_SYMBOL_METHOD(getBuiltinType)
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(hasConstructor)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
- FORWARD_SYMBOL_METHOD(hasCastOperator)
- FORWARD_SYMBOL_METHOD(hasNestedTypes)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(isNested)
- FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
- FORWARD_SYMBOL_METHOD(isPacked)
- FORWARD_SYMBOL_METHOD(isReference)
- FORWARD_SYMBOL_METHOD(isScoped)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(getUdtKind)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(getVirtualTableShapeId)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::Typedef;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPETYPEDEF_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h
deleted file mode 100644
index 876a75692df..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//===- PDBSymbolTypeUDT.h - UDT type info -----------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeUDT : public PDBSymbol {
-public:
- PDBSymbolTypeUDT(std::unique_ptr<IPDBRawSymbol> UDTSymbol);
-
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(hasConstructor)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(hasAssignmentOperator)
- FORWARD_SYMBOL_METHOD(hasCastOperator)
- FORWARD_SYMBOL_METHOD(hasNestedTypes)
- FORWARD_SYMBOL_METHOD(getLength)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(isNested)
- FORWARD_SYMBOL_METHOD(hasOverloadedOperator)
- FORWARD_SYMBOL_METHOD(isPacked)
- FORWARD_SYMBOL_METHOD(isScoped)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getUdtKind)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(getVirtualTableShapeId)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::UDT;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEUDT_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h
deleted file mode 100644
index 4e3aff8aaa3..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h
+++ /dev/null
@@ -1,37 +0,0 @@
-//===- PDBSymbolTypeVTable.h - VTable type info -----------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLE_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLE_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeVTable : public PDBSymbol {
-public:
- PDBSymbolTypeVTable(std::unique_ptr<IPDBRawSymbol> VtblSymbol);
-
- FORWARD_SYMBOL_METHOD(getClassParentId)
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(getTypeId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::VTable;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLE_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h
deleted file mode 100644
index b3cb8a24f33..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h
+++ /dev/null
@@ -1,36 +0,0 @@
-//===- PDBSymbolTypeVTableShape.h - VTable shape info -----------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLESHAPE_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLESHAPE_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolTypeVTableShape : public PDBSymbol {
-public:
- PDBSymbolTypeVTableShape(std::unique_ptr<IPDBRawSymbol> VtblShapeSymbol);
-
- FORWARD_SYMBOL_METHOD(isConstType)
- FORWARD_SYMBOL_METHOD(getCount)
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
- FORWARD_SYMBOL_METHOD(isUnalignedType)
- FORWARD_SYMBOL_METHOD(isVolatileType)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::VTableShape;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLTYPEVTABLESHAPE_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h
deleted file mode 100644
index 11637d33785..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h
+++ /dev/null
@@ -1,30 +0,0 @@
-//===- PDBSymbolUnknown.h - unknown symbol type -----------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolUnknown : public PDBSymbol {
-public:
- PDBSymbolUnknown(std::unique_ptr<IPDBRawSymbol> UnknownSymbol);
-
- static bool classof(const PDBSymbol *S) {
- return (S->getSymTag() == PDB_SymType::None ||
- S->getSymTag() >= PDB_SymType::Max);
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLUNKNOWN_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h b/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h
deleted file mode 100644
index 7f192b61a20..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//===- PDBSymbolUsingNamespace.h - using namespace info ---------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLUSINGNAMESPACE_H
-#define LLVM_DEBUGINFO_PDB_PDBSYMBOLUSINGNAMESPACE_H
-
-#include "PDBSymbol.h"
-#include "PDBTypes.h"
-
-namespace llvm {
-
-class PDBSymbolUsingNamespace : public PDBSymbol {
-public:
- PDBSymbolUsingNamespace(std::unique_ptr<IPDBRawSymbol> UsingSymbol);
-
- FORWARD_SYMBOL_METHOD(getLexicalParentId)
- FORWARD_SYMBOL_METHOD(getName)
- FORWARD_SYMBOL_METHOD(getSymIndexId)
-
- static bool classof(const PDBSymbol *S) {
- return S->getSymTag() == PDB_SymType::UsingNamespace;
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLUSINGNAMESPACE_H
diff --git a/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h b/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h
deleted file mode 100644
index d9ed672c73a..00000000000
--- a/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h
+++ /dev/null
@@ -1,350 +0,0 @@
-//===- PDBTypes.h - Defines enums for various fields contained in PDB ---*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_DEBUGINFO_PDB_PDBTYPES_H
-#define LLVM_DEBUGINFO_PDB_PDBTYPES_H
-
-#include <stdint.h>
-
-namespace llvm {
-
-class PDBSymbol;
-class PDBSymbolCompiland;
-class PDBSymbolFunc;
-class PDBSymbolExe;
-
-class IPDBDataStream;
-template <class T> class IPDBEnumChildren;
-class IPDBRawSymbol;
-class IPDBSession;
-class IPDBSourceFile;
-
-typedef IPDBEnumChildren<IPDBRawSymbol> IPDBEnumSymbols;
-typedef IPDBEnumChildren<IPDBSourceFile> IPDBEnumSourceFiles;
-typedef IPDBEnumChildren<IPDBDataStream> IPDBEnumDataStreams;
-typedef IPDBEnumChildren<PDBSymbolCompiland> IPDBEnumCompilands;
-
-class PDBSymbolExe;
-class PDBSymbolCompiland;
-class PDBSymbolCompilandDetails;
-class PDBSymbolCompilandEnv;
-class PDBSymbolFunc;
-class PDBSymbolBlock;
-class PDBSymbolData;
-class PDBSymbolAnnotation;
-class PDBSymbolLabel;
-class PDBSymbolPublicSymbol;
-class PDBSymbolTypeUDT;
-class PDBSymbolTypeEnum;
-class PDBSymbolTypeFunctionSig;
-class PDBSymbolTypePointer;
-class PDBSymbolTypeArray;
-class PDBSymbolTypeBuiltin;
-class PDBSymbolTypeTypedef;
-class PDBSymbolTypeBaseClass;
-class PDBSymbolTypeFriend;
-class PDBSymbolTypeFunctionArg;
-class PDBSymbolFuncDebugStart;
-class PDBSymbolFuncDebugEnd;
-class PDBSymbolUsingNamespace;
-class PDBSymbolTypeVTableShape;
-class PDBSymbolTypeVTable;
-class PDBSymbolCustom;
-class PDBSymbolThunk;
-class PDBSymbolTypeCustom;
-class PDBSymbolTypeManaged;
-class PDBSymbolTypeDimension;
-class PDBSymbolUnknown;
-
-/// Specifies which PDB reader implementation is to be used. Only a value
-/// of PDB_ReaderType::DIA is supported.
-enum class PDB_ReaderType {
- SystemDefault = 0,
-#if defined(_MSC_VER)
- DIA = 1,
-#endif
-};
-
-/// Defines a 128-bit unique identifier. This maps to a GUID on Windows, but
-/// is abstracted here for the purposes of non-Windows platforms that don't have
-/// the GUID structure defined.
-struct PDB_UniqueId {
- uint64_t HighPart;
- uint64_t LowPart;
-};
-
-/// An enumeration indicating the type of data contained in this table.
-enum class PDB_TableType {
- Symbols,
- SourceFiles,
- LineNumbers,
- SectionContribs,
- Segments,
- InjectedSources,
- FrameData
-};
-
-/// Defines flags used for enumerating child symbols. This corresponds to the
-/// NameSearchOptions enumeration which is documented here:
-/// https://msdn.microsoft.com/en-us/library/yat28ads.aspx
-enum PDB_NameSearchFlags {
- NS_Default = 0x0,
- NS_CaseSensitive = 0x1,
- NS_CaseInsensitive = 0x2,
- NS_FileNameExtMatch = 0x4,
- NS_Regex = 0x8,
- NS_UndecoratedName = 0x10
-};
-
-/// Specifies the hash algorithm that a source file from a PDB was hashed with.
-/// This corresponds to the CV_SourceChksum_t enumeration and are documented
-/// here: https://msdn.microsoft.com/en-us/library/e96az21x.aspx
-enum class PDB_Checksum { None = 0, MD5 = 1, SHA1 = 2 };
-
-/// These values correspond to the CV_CPU_TYPE_e enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/b2fc64ek.aspx
-enum class PDB_Cpu {
- Intel8080 = 0x0,
- Intel8086 = 0x1,
- Intel80286 = 0x2,
- Intel80386 = 0x3,
- Intel80486 = 0x4,
- Pentium = 0x5,
- PentiumPro = 0x6,
- Pentium3 = 0x7,
- MIPS = 0x10,
- MIPS16 = 0x11,
- MIPS32 = 0x12,
- MIPS64 = 0x13,
- MIPSI = 0x14,
- MIPSII = 0x15,
- MIPSIII = 0x16,
- MIPSIV = 0x17,
- MIPSV = 0x18,
- M68000 = 0x20,
- M68010 = 0x21,
- M68020 = 0x22,
- M68030 = 0x23,
- M68040 = 0x24,
- Alpha = 0x30,
- Alpha21164 = 0x31,
- Alpha21164A = 0x32,
- Alpha21264 = 0x33,
- Alpha21364 = 0x34,
- PPC601 = 0x40,
- PPC603 = 0x41,
- PPC604 = 0x42,
- PPC620 = 0x43,
- PPCFP = 0x44,
- PPCBE = 0x45,
- SH3 = 0x50,
- SH3E = 0x51,
- SH3DSP = 0x52,
- SH4 = 0x53,
- SHMedia = 0x54,
- ARM3 = 0x60,
- ARM4 = 0x61,
- ARM4T = 0x62,
- ARM5 = 0x63,
- ARM5T = 0x64,
- ARM6 = 0x65,
- ARM_XMAC = 0x66,
- ARM_WMMX = 0x67,
- ARM7 = 0x68,
- Omni = 0x70,
- Ia64 = 0x80,
- Ia64_2 = 0x81,
- CEE = 0x90,
- AM33 = 0xa0,
- M32R = 0xb0,
- TriCore = 0xc0,
- X64 = 0xd0,
- EBC = 0xe0,
- Thumb = 0xf0,
- ARMNT = 0xf4,
- D3D11_Shader = 0x100,
-};
-
-/// These values correspond to the CV_call_e enumeration, and are documented
-/// at the following locations:
-/// https://msdn.microsoft.com/en-us/library/b2fc64ek.aspx
-/// https://msdn.microsoft.com/en-us/library/windows/desktop/ms680207(v=vs.85).aspx
-///
-enum class PDB_CallingConv {
- NearCdecl = 0x00,
- FarCdecl = 0x01,
- NearPascal = 0x02,
- FarPascal = 0x03,
- NearFastcall = 0x04,
- FarFastcall = 0x05,
- Skipped = 0x06,
- NearStdcall = 0x07,
- FarStdcall = 0x08,
- NearSyscall = 0x09,
- FarSyscall = 0x0a,
- Thiscall = 0x0b,
- MipsCall = 0x0c,
- Generic = 0x0d,
- Alphacall = 0x0e,
- Ppccall = 0x0f,
- SuperHCall = 0x10,
- Armcall = 0x11,
- AM33call = 0x12,
- Tricall = 0x13,
- Sh5call = 0x14,
- M32R = 0x15,
- Clrcall = 0x16,
- Inline = 0x17,
- NearVectorcall = 0x18,
- Reserved = 0x19,
-};
-
-/// These values correspond to the CV_CFL_LANG enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/bw3aekw6.aspx
-enum class PDB_Lang {
- C = 0x00,
- Cpp = 0x01,
- Fortran = 0x02,
- Masm = 0x03,
- Pascal = 0x04,
- Basic = 0x05,
- Cobol = 0x06,
- Link = 0x07,
- Cvtres = 0x08,
- Cvtpgd = 0x09,
- CSharp = 0x0a,
- VB = 0x0b,
- ILAsm = 0x0c,
- Java = 0x0d,
- JScript = 0x0e,
- MSIL = 0x0f,
- HLSL = 0x10
-};
-
-/// These values correspond to the DataKind enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/b2x2t313.aspx
-enum class PDB_DataKind {
- Unknown,
- Local,
- StaticLocal,
- Param,
- ObjectPtr,
- FileStatic,
- Global,
- Member,
- StaticMember,
- Constant
-};
-
-/// These values correspond to the SymTagEnum enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx
-enum class PDB_SymType {
- None,
- Exe,
- Compiland,
- CompilandDetails,
- CompilandEnv,
- Function,
- Block,
- Data,
- Annotation,
- Label,
- PublicSymbol,
- UDT,
- Enum,
- FunctionSig,
- PointerType,
- ArrayType,
- BuiltinType,
- Typedef,
- BaseClass,
- Friend,
- FunctionArg,
- FuncDebugStart,
- FuncDebugEnd,
- UsingNamespace,
- VTableShape,
- VTable,
- Custom,
- Thunk,
- CustomType,
- ManagedType,
- Dimension,
- Max
-};
-
-/// These values correspond to the LocationType enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/f57kaez3.aspx
-enum class PDB_LocType {
- Null,
- Static,
- TLS,
- RegRel,
- ThisRel,
- Enregistered,
- BitField,
- Slot,
- IlRel,
- MetaData,
- Constant,
- Max
-};
-
-/// These values correspond to the THUNK_ORDINAL enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/dh0k8hft.aspx
-enum class PDB_ThunkOrdinal {
- Standard,
- ThisAdjustor,
- Vcall,
- Pcode,
- UnknownLoad,
- TrampIncremental,
- BranchIsland
-};
-
-/// These values correspond to the UdtKind enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/wcstk66t.aspx
-enum class PDB_UdtType { Struct, Class, Union, Interface };
-
-/// These values correspond to the StackFrameTypeEnum enumeration, and are
-/// documented here: https://msdn.microsoft.com/en-us/library/bc5207xw.aspx.
-enum class PDB_StackFrameType { FPO, KernelTrap, KernelTSS, EBP, FrameData };
-
-/// These values correspond to the StackFrameTypeEnum enumeration, and are
-/// documented here: https://msdn.microsoft.com/en-us/library/bc5207xw.aspx.
-enum class PDB_MemoryType { Code, Data, Stack, HeapCode };
-
-/// These values correspond to the Basictype enumeration, and are documented
-/// here: https://msdn.microsoft.com/en-us/library/4szdtzc3.aspx
-enum class PDB_BuiltinType {
- None = 0,
- Void = 1,
- Char = 2,
- WCharT = 3,
- Int = 6,
- UInt = 7,
- Float = 8,
- BCD = 9,
- Bool = 10,
- Long = 13,
- ULong = 14,
- Currency = 25,
- Date = 26,
- Variant = 27,
- Complex = 28,
- Bitfield = 29,
- BSTR = 30,
- HResult = 31
-};
-
-enum class PDB_MemberAccess { Private = 1, Protected = 2, Public = 3 };
-
-} // namespace llvm
-
-#endif
OpenPOWER on IntegriCloud