[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
[llvm-core.git] / include / llvm / DebugInfo / PDB / PDBSymbolLabel.h
blob3625e23f014f15e44d3f52028d027f8c32b43502
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
15 namespace llvm {
17 class raw_ostream;
18 namespace pdb {
20 class PDBSymbolLabel : public PDBSymbol {
21 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Label)
22 public:
23 void dump(PDBSymDumper &Dumper) const override;
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)
32 FORWARD_SYMBOL_METHOD(getName)
33 FORWARD_SYMBOL_METHOD(hasNoInlineAttribute)
34 FORWARD_SYMBOL_METHOD(hasNoReturnAttribute)
35 FORWARD_SYMBOL_METHOD(isUnreached)
36 FORWARD_SYMBOL_METHOD(getOffset)
37 FORWARD_SYMBOL_METHOD(hasOptimizedCodeDebugInfo)
38 FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
39 FORWARD_SYMBOL_METHOD(getVirtualAddress)
42 } // namespace llvm
45 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLLABEL_H