Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 1 | //===- PDBSymbolAnnotation.h - Accessors for querying PDB annotations ---*-===// |
| 2 | // |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame] | 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 |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 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 | |
| 19 | class PDBSymbolAnnotation : public PDBSymbol { |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 20 | DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Annotation) |
| 21 | |
Andrew Scull | 0372a57 | 2018-11-16 15:47:06 +0000 | [diff] [blame] | 22 | public: |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 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 |