Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:44

0001 //===- NativeExeSymbol.h - native impl for PDBSymbolExe ---------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEEXESYMBOL_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEEXESYMBOL_H
0011 
0012 #include "llvm/DebugInfo/CodeView/GUID.h"
0013 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
0014 #include "llvm/DebugInfo/PDB/PDBTypes.h"
0015 
0016 namespace llvm {
0017 namespace pdb {
0018 
0019 class NativeSession;
0020 
0021 class DbiStream;
0022 
0023 class NativeExeSymbol : public NativeRawSymbol {
0024   // EXE symbol is the authority on the various symbol types.
0025   DbiStream *Dbi = nullptr;
0026 
0027 public:
0028   NativeExeSymbol(NativeSession &Session, SymIndexId Id);
0029 
0030   std::unique_ptr<IPDBEnumSymbols>
0031   findChildren(PDB_SymType Type) const override;
0032 
0033   uint32_t getAge() const override;
0034   std::string getSymbolsFileName() const override;
0035   codeview::GUID getGuid() const override;
0036   bool hasCTypes() const override;
0037   bool hasPrivateSymbols() const override;
0038 };
0039 
0040 } // namespace pdb
0041 } // namespace llvm
0042 
0043 #endif