LLVM  14.0.0git
PDBSymbolExe.h
Go to the documentation of this file.
1 //===- PDBSymbolExe.h - Accessors for querying executables in a PDB ----*-===//
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_PDBSYMBOLEXE_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
11 
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
14 
15 namespace llvm {
16 
17 class raw_ostream;
18 
19 namespace pdb {
20 
21 class PDBSymbolExe : public PDBSymbol {
23 public:
24  void dump(PDBSymDumper &Dumper) const override;
25 
26  FORWARD_SYMBOL_METHOD(getAge)
27  FORWARD_SYMBOL_METHOD(getGuid)
28  FORWARD_SYMBOL_METHOD(hasCTypes)
29  FORWARD_SYMBOL_METHOD(hasPrivateSymbols)
33  FORWARD_SYMBOL_METHOD(getSymbolsFileName)
34 
36 
37 private:
38  void dumpChildren(raw_ostream &OS, StringRef Label, PDB_SymType ChildType,
39  int Indent) const;
40 };
41 } // namespace llvm
42 }
43 
44 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
llvm::pdb::PDBSymbol::getName
std::string getName() const
Definition: PDBSymbol.cpp:183
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::getMachineType
COFF::MachineTypes getMachineType(StringRef S)
Definition: WindowsMachineFlag.cpp:22
getSignature
static std::string getSignature(FunctionType *FTy)
Definition: WebAssemblyLowerEmscriptenEHSjLj.cpp:440
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:47
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::PDBSymbolExe
Definition: PDBSymbolExe.h:21
llvm::pdb::PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:70
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:53
PDBSymbol.h
PDBTypes.h
llvm::pdb::PDBSymbolExe::getPointerByteSize
uint32_t getPointerByteSize() const
Definition: PDBSymbolExe.cpp:21
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:58
uint32_t
llvm::pdb::PDBSymbolExe::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolExe.cpp:19
llvm::pdb::PDB_SymType::Label
@ Label
llvm::pdb::PDB_SymType::Exe
@ Exe
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19