LLVM  14.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 
15 namespace llvm {
16 
17 class raw_ostream;
18 namespace pdb {
19 
20 class PDBSymbolLabel : public PDBSymbol {
22 public:
23  void dump(PDBSymDumper &Dumper) const override;
24 
25  FORWARD_SYMBOL_METHOD(getAddressOffset)
26  FORWARD_SYMBOL_METHOD(getAddressSection)
27  FORWARD_SYMBOL_METHOD(hasCustomCallingConvention)
28  FORWARD_SYMBOL_METHOD(hasFarReturn)
29  FORWARD_SYMBOL_METHOD(hasInterruptReturn)
30  FORWARD_SYMBOL_ID_METHOD(getLexicalParent)
31  FORWARD_SYMBOL_METHOD(getLocationType)
33  FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
34  FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
35  FORWARD_SYMBOL_METHOD(isUnreached)
37  FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
38  FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
39  FORWARD_SYMBOL_METHOD(getVirtualAddress)
40 };
41 
42 } // namespace llvm
43 }
44 
45 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_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
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:47
llvm::getOffset
static Error getOffset(const SymbolRef &Sym, SectionRef Sec, uint64_t &Result)
Definition: RuntimeDyld.cpp:170
llvm::pdb::PDBSymbolLabel::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolLabel.cpp:18
llvm::pdb::PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:70
PDBSymbol.h
PDBTypes.h
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
llvm::pdb::PDBSymbolLabel
Definition: PDBSymbolLabel.h:20
llvm::pdb::PDB_SymType::Label
@ Label
FORWARD_SYMBOL_ID_METHOD
#define FORWARD_SYMBOL_ID_METHOD(MethodName)
Definition: PDBSymbol.h:36
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19