LLVM  15.0.0git
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 
15 
16 namespace llvm {
17 namespace pdb {
18 
19 class NativeSession;
20 
21 class DbiStream;
22 
24  // EXE symbol is the authority on the various symbol types.
25  DbiStream *Dbi = nullptr;
26 
27 public:
29 
30  std::unique_ptr<IPDBEnumSymbols>
31  findChildren(PDB_SymType Type) const override;
32 
33  uint32_t getAge() const override;
34  std::string getSymbolsFileName() const override;
35  codeview::GUID getGuid() const override;
36  bool hasCTypes() const override;
37  bool hasPrivateSymbols() const override;
38 };
39 
40 } // namespace pdb
41 } // namespace llvm
42 
43 #endif
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:17
GUID.h
llvm::pdb::NativeExeSymbol::findChildren
std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type) const override
Definition: NativeExeSymbol.cpp:37
llvm::codeview::GUID
This represents the 'GUID' type from windows.h.
Definition: GUID.h:21
llvm::Type
The instances of the Type class are immutable: once they are created, they are never changed.
Definition: Type.h:45
llvm::pdb::DbiStream
Definition: DbiStream.h:39
llvm::pdb::PDB_SymType
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:243
llvm::pdb::NativeExeSymbol
Definition: NativeExeSymbol.h:23
llvm::pdb::NativeExeSymbol::hasCTypes
bool hasCTypes() const override
Definition: NativeExeSymbol.cpp:87
llvm::pdb::NativeExeSymbol::getSymbolsFileName
std::string getSymbolsFileName() const override
Definition: NativeExeSymbol.cpp:75
llvm::pdb::NativeExeSymbol::getAge
uint32_t getAge() const override
Definition: NativeExeSymbol.cpp:67
PDBTypes.h
llvm::pdb::NativeExeSymbol::hasPrivateSymbols
bool hasPrivateSymbols() const override
Definition: NativeExeSymbol.cpp:95
uint32_t
llvm::pdb::NativeExeSymbol::NativeExeSymbol
NativeExeSymbol(NativeSession &Session, SymIndexId Id)
Definition: NativeExeSymbol.cpp:32
NativeRawSymbol.h
llvm::pdb::NativeSession
Definition: NativeSession.h:32
llvm::pdb::NativeRawSymbol::Session
NativeSession & Session
Definition: NativeRawSymbol.h:232
llvm::pdb::NativeExeSymbol::getGuid
codeview::GUID getGuid() const override
Definition: NativeExeSymbol.cpp:79
llvm::AMDGPU::VGPRIndexMode::Id
Id
Definition: SIDefines.h:238
llvm::pdb::NativeRawSymbol
Definition: NativeRawSymbol.h:21