LLVM  10.0.0svn
NativeExeSymbol.h
Go to the documentation of this file.
1 //===- NativeExeSymbol.h - native impl for PDBSymbolExe ---------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEEXESYMBOL_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEEXESYMBOL_H
11 
14 
15 namespace llvm {
16 namespace pdb {
17 
18 class DbiStream;
19 
21  // EXE symbol is the authority on the various symbol types.
22  DbiStream *Dbi = nullptr;
23 
24 public:
26 
27  std::unique_ptr<IPDBEnumSymbols>
28  findChildren(PDB_SymType Type) const override;
29 
30  uint32_t getAge() const override;
31  std::string getSymbolsFileName() const override;
32  codeview::GUID getGuid() const override;
33  bool hasCTypes() const override;
34  bool hasPrivateSymbols() const override;
35 };
36 
37 } // namespace pdb
38 } // namespace llvm
39 
40 #endif
std::string getSymbolsFileName() const override
This class represents lattice values for constants.
Definition: AllocatorList.h:23
codeview::GUID getGuid() const override
This represents the &#39;GUID&#39; type from windows.h.
Definition: GUID.h:21
uint32_t getAge() const override
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:241
bool hasCTypes() const override
The instances of the Type class are immutable: once they are created, they are never changed...
Definition: Type.h:45
std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type) const override
NativeExeSymbol(NativeSession &Session, SymIndexId Id)
bool hasPrivateSymbols() const override