LLVM 20.0.0git
PDBSymbolLabel.h
Go to the documentation of this file.
1//===- PDBSymbolLabel.h - label info ----------------------------*- 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_PDBSYMBOLLABEL_H
10#define LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
11
12#include "PDBSymbol.h"
13#include "PDBTypes.h"
14
15namespace llvm {
16
17namespace pdb {
18
19class PDBSymbolLabel : public PDBSymbol {
21public:
22 void dump(PDBSymDumper &Dumper) const override;
23
24 FORWARD_SYMBOL_METHOD(getAddressOffset)
25 FORWARD_SYMBOL_METHOD(getAddressSection)
26 FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
27 FORWARD_SYMBOL_METHOD(hasFarReturn)
28 FORWARD_SYMBOL_METHOD(hasInterruptReturn)
29 FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
30 FORWARD_SYMBOL_METHOD(getLocationType)
32 FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
33 FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
34 FORWARD_SYMBOL_METHOD(isUnreached)
36 FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
37 FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
38 FORWARD_SYMBOL_METHOD(getVirtualAddress)
39};
40
41} // namespace pdb
42} // namespace llvm
43
44#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:48
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:34
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:17
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 is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
static Error getOffset(const SymbolRef &Sym, SectionRef Sec, uint64_t &Result)