LLVM  8.0.1
PDBSymbolExe.h
Go to the documentation of this file.
1 //===- PDBSymbolExe.h - Accessors for querying executables in a PDB ----*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
11 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
12 
13 #include "PDBSymbol.h"
14 #include "PDBTypes.h"
15 
16 namespace llvm {
17 
18 class raw_ostream;
19 
20 namespace pdb {
21 
22 class PDBSymbolExe : public PDBSymbol {
24 public:
25  void dump(PDBSymDumper &Dumper) const override;
26 
27  FORWARD_SYMBOL_METHOD(getAge)
28  FORWARD_SYMBOL_METHOD(getGuid)
29  FORWARD_SYMBOL_METHOD(hasCTypes)
30  FORWARD_SYMBOL_METHOD(hasPrivateSymbols)
31  FORWARD_SYMBOL_METHOD(getMachineType)
34  FORWARD_SYMBOL_METHOD(getSymbolsFileName)
35 
37 
38 private:
39  void dumpChildren(raw_ostream &OS, StringRef Label, PDB_SymType ChildType,
40  int Indent) const;
41 };
42 } // namespace llvm
43 }
44 
45 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:51
This class represents lattice values for constants.
Definition: AllocatorList.h:24
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
uint32_t getPointerByteSize() const
static StringRef getName(Value *V)
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:20
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
Definition: PDBTypes.h:183
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:74
Definition: JSON.cpp:598
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:46
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49
static std::string getSignature(FunctionType *FTy)