Home | History | Annotate | Download | only in Native
      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 NativeExeSymbol : public NativeRawSymbol {
     20 public:
     21   NativeExeSymbol(NativeSession &Session);
     22 
     23   std::unique_ptr<IPDBEnumSymbols>
     24   findChildren(PDB_SymType Type) const override;
     25 
     26   uint32_t getAge() const override;
     27   std::string getSymbolsFileName() const override;
     28   PDB_UniqueId getGuid() const override;
     29   bool hasCTypes() const override;
     30   bool hasPrivateSymbols() const override;
     31 
     32 private:
     33   PDBFile &File;
     34 };
     35 
     36 } // namespace pdb
     37 } // namespace llvm
     38 
     39 #endif
     40