1 //===- NativeExeSymbol.h - native impl for PDBSymbolExe ---------*- C++ -*-===// 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_NATIVE_NATIVEEXESYMBOL_H 11 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEEXESYMBOL_H 12 13 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h" 14 #include "llvm/DebugInfo/PDB/Native/NativeSession.h" 15 16 namespace llvm { 17 namespace pdb { 18 19 class DbiStream; 20 21 class NativeExeSymbol : public NativeRawSymbol { 22 // EXE symbol is the authority on the various symbol types. 23 DbiStream *Dbi = nullptr; 24 25 public: 26 NativeExeSymbol(NativeSession &Session, SymIndexId Id); 27 28 std::unique_ptr<IPDBEnumSymbols> 29 findChildren(PDB_SymType Type) const override; 30 31 uint32_t getAge() const override; 32 std::string getSymbolsFileName() const override; 33 codeview::GUID getGuid() const override; 34 bool hasCTypes() const override; 35 bool hasPrivateSymbols() const override; 36 }; 37 38 } // namespace pdb 39 } // namespace llvm 40 41 #endif 42