LLVM 22.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"
15
16namespace llvm {
17
18class raw_ostream;
19
20namespace pdb {
21
23 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Exe)
24public:
25 void dump(PDBSymDumper &Dumper) const override;
26
29 FORWARD_SYMBOL_METHOD(hasCTypes)
30 FORWARD_SYMBOL_METHOD(hasPrivateSymbols)
34 FORWARD_SYMBOL_METHOD(getSymbolsFileName)
35
36 uint32_t getPointerByteSize() const;
37
38private:
39 void dumpChildren(raw_ostream &OS, StringRef Label, PDB_SymType ChildType,
40 int Indent) const;
41};
42} // namespace pdb
43} // namespace llvm
44
45#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLEXE_H
#define LLVM_ABI
Definition: Compiler.h:213
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:49
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:18
static StringRef getName(Value *V)
raw_pwrite_stream & OS
static std::string getSignature(FunctionType *FTy)
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:55
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:72
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:53
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
void dump(const SparseBitVector< ElementSize > &LHS, raw_ostream &out)
LLVM_ABI COFF::MachineTypes getMachineType(StringRef S)