LLVM  14.0.0git
PDBSymbolAnnotation.h
Go to the documentation of this file.
1 //===- PDBSymbolAnnotation.h - Accessors for querying PDB annotations ---*-===//
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 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
9 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
10 
11 #include "PDBSymbol.h"
12 #include "PDBTypes.h"
13 
14 namespace llvm {
15 
16 class raw_ostream;
17 namespace pdb {
18 
21 
22 public:
23  void dump(PDBSymDumper &Dumper) const override;
24 
25  FORWARD_SYMBOL_METHOD(getAddressOffset)
26  FORWARD_SYMBOL_METHOD(getAddressSection)
27  FORWARD_SYMBOL_METHOD(getDataKind)
28  FORWARD_SYMBOL_METHOD(getRelativeVirtualAddress)
29  // FORWARD_SYMBOL_METHOD(getValue)
30  FORWARD_SYMBOL_METHOD(getVirtualAddress)
31 };
32 }
33 }
34 
35 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::pdb::PDBSymbolAnnotation::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolAnnotation.cpp:18
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:47
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::PDBSymbolAnnotation
Definition: PDBSymbolAnnotation.h:19
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
llvm::pdb::PDB_SymType::Annotation
@ Annotation
FORWARD_SYMBOL_METHOD
#define FORWARD_SYMBOL_METHOD(MethodName)
Definition: PDBSymbol.h:19