LLVM 19.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
15namespace llvm {
16
17class raw_ostream;
18
19namespace pdb {
20
21class PDBSymbolExe : public PDBSymbol {
23public:
24 void dump(PDBSymDumper &Dumper) const override;
25
28 FORWARD_SYMBOL_METHOD(hasCTypes)
29 FORWARD_SYMBOL_METHOD(hasPrivateSymbols)
33 FORWARD_SYMBOL_METHOD(getSymbolsFileName)
34
36
37private:
38 void dumpChildren(raw_ostream &OS, StringRef Label, PDB_SymType ChildType,
39 int Indent) const;
40};
41} // namespace pdb
42} // namespace llvm
43
44#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:17
raw_pwrite_stream & OS
static std::string getSignature(FunctionType *FTy)
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:50
uint32_t getPointerByteSize() const
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:71
std::string getName() const
Definition: PDBSymbol.cpp:183
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:52
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:243
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
COFF::MachineTypes getMachineType(StringRef S)