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 { 23 public: 24 PDBSymbolExe(const IPDBSession &PDBSession, 25 std::unique_ptr<IPDBRawSymbol> ExeSymbol); 26 27 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Exe) 28 29 void dump(PDBSymDumper &Dumper) const override; 30 31 FORWARD_SYMBOL_METHOD(getAge) 32 FORWARD_SYMBOL_METHOD(getGuid) 33 FORWARD_SYMBOL_METHOD(hasCTypes) 34 FORWARD_SYMBOL_METHOD(hasPrivateSymbols) 35 FORWARD_SYMBOL_METHOD(getMachineType) 36 FORWARD_SYMBOL_METHOD(getName) 37 FORWARD_SYMBOL_METHOD(getSignature) 38 FORWARD_SYMBOL_METHOD(getSymbolsFileName) 39 40 private: 41 void dumpChildren(raw_ostream &OS, StringRef Label, PDB_SymType ChildType, 42 int Indent) const; 43 }; 44 } // namespace llvm 45 } 46 47 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H 48